Click here to Skip to main content
15,889,931 members
Home / Discussions / COM
   

COM

 
GeneralRe: COM interface Pin
CPallini9-May-08 0:11
mveCPallini9-May-08 0:11 
JokeRe: COM interface Pin
User 2155979-May-08 1:24
User 2155979-May-08 1:24 
AnswerRe: COM interface Pin
leppie7-May-08 9:48
leppie7-May-08 9:48 
QuestionUnable to register COM dll in Vista Pin
Prazwol6-May-08 21:28
Prazwol6-May-08 21:28 
AnswerRe: Unable to register COM dll in Vista Pin
robo5557-May-08 19:51
robo5557-May-08 19:51 
QuestionPause a Download using COM in iTunes? Pin
asalyon6-May-08 14:44
asalyon6-May-08 14:44 
GeneralRemoving COM dll from memory Pin
sandeepkavade29-Apr-08 1:17
sandeepkavade29-Apr-08 1:17 
GeneralRe: Removing COM dll from memory Pin
Jörgen Sigvardsson30-Apr-08 23:58
Jörgen Sigvardsson30-Apr-08 23:58 
If you look here: http://msdn.microsoft.com/en-us/library/ms690368(VS.85).aspx[^], you'll see:

MSDN says:
Notes to Callers
You should not have to call DllCanUnloadNow directly. OLE calls it only through a call to the CoFreeUnusedLibraries function. When it returns S_OK, CoFreeUnusedLibraries frees the DLL.


You should call CoFreeUnusedLibraries after unregistering it. Also make sure that you have no live COM objects created by the DLL. If not, the DLL will have a reference count > 0, meaning that DllCanUnloadNow will return S_FALSE.

It could also be the case that reference counting in the DLL is buggy.

--
Kein Mitleid Für Die Mehrheit

GeneralAuthentication Pin
ginjikun28-Apr-08 22:26
ginjikun28-Apr-08 22:26 
QuestionHow to Embed MFC ActivexControl in C# Windows Application? Pin
spalanivel28-Apr-08 19:25
spalanivel28-Apr-08 19:25 
AnswerRe: How to Embed MFC ActivexControl in C# Windows Application? Pin
Jörgen Sigvardsson1-May-08 0:01
Jörgen Sigvardsson1-May-08 0:01 
QuestionVBScript, how to use VT_BSTR? Pin
lucy28-Apr-08 8:43
lucy28-Apr-08 8:43 
AnswerRe: VBScript, how to use VT_BSTR? Pin
Vi228-Apr-08 19:44
Vi228-Apr-08 19:44 
GeneralRe: VBScript, how to use VT_BSTR? Pin
lucy29-Apr-08 5:49
lucy29-Apr-08 5:49 
GeneralRe: VBScript, how to use VT_BSTR? Pin
lucy2-Jul-08 11:27
lucy2-Jul-08 11:27 
QuestionIs there a .NET equivalent for an out-of-process COM EXE server? Pin
Philip Laureano27-Apr-08 1:56
Philip Laureano27-Apr-08 1:56 
AnswerRe: Is there a .NET equivalent for an out-of-process COM EXE server? Pin
Lim Bio Liong30-Apr-08 19:42
Lim Bio Liong30-Apr-08 19:42 
Generalaggrrgation and non aggregation Pin
Member 470820223-Apr-08 21:39
Member 470820223-Apr-08 21:39 
GeneralRe: aggrrgation and non aggregation Pin
Jörgen Sigvardsson1-May-08 0:04
Jörgen Sigvardsson1-May-08 0:04 
QuestionA basic question ? Pin
Member 470820223-Apr-08 21:01
Member 470820223-Apr-08 21:01 
AnswerRe: A basic question ? Pin
CPallini23-Apr-08 21:23
mveCPallini23-Apr-08 21:23 
GeneralRe: A basic question ? Pin
Member 470820223-Apr-08 21:30
Member 470820223-Apr-08 21:30 
Questionwindows media player plugin Pin
Member 387187821-Apr-08 20:47
Member 387187821-Apr-08 20:47 
AnswerRe: windows media player plugin Pin
Michael Dunn28-Apr-08 11:11
sitebuilderMichael Dunn28-Apr-08 11:11 
QuestionHow to convert COM dll to Normal dll Pin
Prazwol21-Apr-08 20:01
Prazwol21-Apr-08 20:01 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.