Click here to Skip to main content
15,887,421 members
Home / Discussions / COM
   

COM

 
QuestionVB 6, ASP and COM Pin
indian14322-Oct-08 23:31
indian14322-Oct-08 23:31 
QuestionSystem.OutOfMemoryException: Retrieving the COM class factory for component with CLSID {29131539-2EED-1069-BF5D-00DD011186B7} failed due to the following error: 8007000e. Pin
blakshmi21-Oct-08 22:44
blakshmi21-Oct-08 22:44 
AnswerRe: System.OutOfMemoryException: Retrieving the COM class factory for component with CLSID {29131539-2EED-1069-BF5D-00DD011186B7} failed due to the following error: 8007000e. Pin
User 21559724-Oct-08 0:16
User 21559724-Oct-08 0:16 
QuestionAutoformat an Excel file and import it into Sql Sever 2000 Pin
Nitin Raj21-Oct-08 22:03
Nitin Raj21-Oct-08 22:03 
QuestionMAPI hooks Pin
Dr. Kelwin21-Oct-08 14:55
Dr. Kelwin21-Oct-08 14:55 
QuestionCrashes on application exit while hosting an VB ActiveX Control providing UI in a MFC application Pin
Martin081521-Oct-08 2:07
professionalMartin081521-Oct-08 2:07 
AnswerRe: Crashes on application exit while hosting an VB ActiveX Control providing UI in a MFC application Pin
Ernest Laurentin21-Oct-08 7:55
Ernest Laurentin21-Oct-08 7:55 
GeneralRe: Crashes on application exit while hosting an VB ActiveX Control providing UI in a MFC application Pin
Martin081522-Oct-08 0:59
professionalMartin081522-Oct-08 0:59 
Hi Ernest,

thanks for your reply.

Until today morning I used no smart pointers, but using them does not change a thing.

I didn't expect a change in behaviour, because in my MFC C++ ActiveX control I could see, while debugging, that my reference handling was ok.

Ok - now I've introduced CComIQPtr and CComPtr, but it changes nothing.

The question is, why in comparison to the MFC ActiveX control one additional reference to the VB ActiveX control is hold!? And how/what is holding this reference to which interface?

The question raises, because releasing "my" interface I got a count of hold references of 3 with the MFC ActiveX control, but 4 with the VB ActiveX control.
And debugging through the deletion of my hosting CWnd I see only 3 releases on the interfaces of the MFC and the VB Active control.

So - where is the last reference on a interface to be found?

And ... do I have the possibility to change this behaviour?

Best regards,

Martin
AnswerRe: Crashes on application exit while hosting an VB ActiveX Control providing UI in a MFC application Pin
Martin081522-Oct-08 4:46
professionalMartin081522-Oct-08 4:46 
GeneralSolved - Re: Crashes on application exit while hosting an VB ActiveX Control providing UI in a MFC application Pin
Martin081528-Oct-08 23:07
professionalMartin081528-Oct-08 23:07 
QuestionRelease COM interfaces Pin
john563220-Oct-08 20:41
john563220-Oct-08 20:41 
AnswerRe: Release COM interfaces Pin
Roger Stoltz20-Oct-08 21:18
Roger Stoltz20-Oct-08 21:18 
AnswerRe: Release COM interfaces [modified] Pin
john563220-Oct-08 22:34
john563220-Oct-08 22:34 
GeneralRe: Release COM interfaces Pin
Roger Stoltz21-Oct-08 3:58
Roger Stoltz21-Oct-08 3:58 
AnswerRe: Release COM interfaces Pin
Member 459552813-Nov-08 20:30
Member 459552813-Nov-08 20:30 
Questionwhat is .pfx file Pin
wasimsharp19-Oct-08 23:47
wasimsharp19-Oct-08 23:47 
QuestionUsing MsComm for recieving data Pin
tauras8118-Oct-08 0:08
tauras8118-Oct-08 0:08 
JokeRe: Using MsComm for recieving data Pin
CPallini18-Oct-08 1:36
mveCPallini18-Oct-08 1:36 
AnswerRe: Using MsComm for recieving data Pin
Mike Dimmick19-Oct-08 0:38
Mike Dimmick19-Oct-08 0:38 
Question[Message Deleted] Pin
_nnemo_16-Oct-08 3:18
_nnemo_16-Oct-08 3:18 
AnswerRe: IWebBrowser2 - object deletion Pin
Mike Dimmick19-Oct-08 0:40
Mike Dimmick19-Oct-08 0:40 
QuestionHow to execute methods from ATL/COM base class Pin
Doug Knudson15-Oct-08 9:34
Doug Knudson15-Oct-08 9:34 
AnswerRe: How to execute methods from ATL/COM base class Pin
prasad_som16-Oct-08 4:59
prasad_som16-Oct-08 4:59 
GeneralRe: How to execute methods from ATL/COM base class Pin
Doug Knudson16-Oct-08 7:49
Doug Knudson16-Oct-08 7:49 
AnswerRe: How to execute methods from ATL/COM base class Pin
Mike Dimmick19-Oct-08 0:50
Mike Dimmick19-Oct-08 0:50 

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.