hi list,
the sdk of a program i am writing a plugin for says:
" The dll project implementing the COM object must implement and export the
DllCanUnloadNow function in order to be freed by UnloadCOMLibs. See your
compiler documentation for more details about DllCanUnloadNow. "
is it possible to export "DllCanUnloadNow" from a vb.net class library and
if yes - how would i do this ?
thank you
Ralf Hoelzemer 4 2426
Ralf, is it possible to export "DllCanUnloadNow" from a vb.net class library and if yes - how would i do this ?
No it is not possible.
I would expect that one of the Framework DLLs already do this for you, as
when you are exposing COM types from .NET the framework is doing most of the
work converting the .NET types into COM types.
Hope this helps
Jay
"Ralf Hoelzemer" <Ra**@Step-Ani-Motion.de> wrote in message
news:Ox**************@TK2MSFTNGP11.phx.gbl... hi list,
the sdk of a program i am writing a plugin for says:
" The dll project implementing the COM object must implement and export
the DllCanUnloadNow function in order to be freed by UnloadCOMLibs. See your compiler documentation for more details about DllCanUnloadNow. "
is it possible to export "DllCanUnloadNow" from a vb.net class library and if yes - how would i do this ?
thank you
Ralf Hoelzemer
ok,
thank you for your reply, Jay.
After a while of testing it seems true that the framework is handling this
command
internally, but after calling the command "UnloadAllCOMLibs" from within the
program all of my COM-References are gone and if i try to re-reference them
VS.NET tells me that it cannot do this because another program is accessing
these
files ath the moment.
Any suggestions ?
Ralf Ralf, is it possible to export "DllCanUnloadNow" from a vb.net class library
and if yes - how would i do this ? No it is not possible.
I would expect that one of the Framework DLLs already do this for you, as when you are exposing COM types from .NET the framework is doing most of
the work converting the .NET types into COM types.
Hope this helps Jay
Ralf,
You may want to ask this "down the hall" in the
microsoft.public.dotnet.framework.interop newsgroups as that is where the
COM interop experts tend to hang out.
Hope this helps
Jay
"Ralf Hoelzemer" <Ra**@Step-Ani-Motion.de> wrote in message
news:%2******************@TK2MSFTNGP11.phx.gbl... ok, thank you for your reply, Jay. After a while of testing it seems true that the framework is handling this command internally, but after calling the command "UnloadAllCOMLibs" from within
the program all of my COM-References are gone and if i try to re-reference
them VS.NET tells me that it cannot do this because another program is
accessing these files ath the moment. Any suggestions ?
Ralf
Ralf, is it possible to export "DllCanUnloadNow" from a vb.net class library and if yes - how would i do this ? No it is not possible.
I would expect that one of the Framework DLLs already do this for you,
as when you are exposing COM types from .NET the framework is doing most of the work converting the .NET types into COM types.
Hope this helps Jay
ok,
then i will give it a shot!
thank you for your answers
Ralf
"Jay B. Harlow [MVP - Outlook]" <Ja********@email.msn.com> schrieb im
Newsbeitrag news:%2****************@tk2msftngp13.phx.gbl... Ralf, You may want to ask this "down the hall" in the microsoft.public.dotnet.framework.interop newsgroups as that is where the COM interop experts tend to hang out.
Hope this helps Jay
"Ralf Hoelzemer" <Ra**@Step-Ani-Motion.de> wrote in message news:%2******************@TK2MSFTNGP11.phx.gbl... ok, thank you for your reply, Jay. After a while of testing it seems true that the framework is handling
this command internally, but after calling the command "UnloadAllCOMLibs" from within the program all of my COM-References are gone and if i try to re-reference them VS.NET tells me that it cannot do this because another program is accessing these files ath the moment. Any suggestions ?
Ralf
Ralf, > is it possible to export "DllCanUnloadNow" from a vb.net class
library and > if yes - how would i do this ? No it is not possible.
I would expect that one of the Framework DLLs already do this for you, as when you are exposing COM types from .NET the framework is doing most
of the work converting the .NET types into COM types.
Hope this helps Jay
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Max Metral |
last post by:
So many details, so little knowledge of what's important. We have a site
that we are subjecting to load tests. It makes heavy use of ADO, a VB COM
object, some scriptlets, and some HTTP services....
|
by: Som |
last post by:
A clients website is a combination of ASP pages and COM/COM+ objects -
The following errors are being reported. Once this happens on the
server the entire
script engine fails... we have to...
|
by: SueDong |
last post by:
I have a VC6 application and would like to convert it
to .Net.
The application have a few ATL projects that have a
standard global CComModule _Module in header file and
following code in cpp...
|
by: Tony Johansson |
last post by:
Hello!
Is there a big difference between COM DLL and DLL with it's exported
functions?
//Tony
|
by: Saurabh Aggrawal |
last post by:
Hi,
I am porting an application for 64-bit AMD processor and while linking
the application i am getting the following errors:
Processing directory uidll...
Linking DLL...
|
by: Graham |
last post by:
Hi everyone
I'm having a couple of problems with the Internet Explorer
browser control. I'm using VS.NET 2003 on Win2k SP4 with IE6.
First, let me briefly describe how it's used in my project....
|
by: Prophet |
last post by:
Can someone help me troubleshoot this IISSTATE log ? I have tried to
make sense out of it but with no luck I am currently running IIS5 on a
Win 2k box. Hosting 3 web sites and runnning asp...
|
by: NPotnis |
last post by:
Hi ,
I am trying to host .Net UserControls in a MFC Application. The MFC
Application is an ActiveX DLL. I inserted required managed code inside the
MFC application, making it a mixed mode DLL....
|
by: Vishu7 |
last post by:
Hi,
I am porting my code which is written in VC2005( c++) to WinCE 5.0.
When i build my project i get this error
AACDec.def : error LNK2001: unresolved external symbol DllCanUnloadNow ...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: BarryA |
last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
| |