Click here to Skip to main content
15,893,564 members
Home / Discussions / COM
   

COM

 
GeneralRe: Creating Windows mail(outlook expr) account on Vista Pin
User 21559716-Jan-07 1:52
User 21559716-Jan-07 1:52 
GeneralRe: Creating Windows mail(outlook expr) account on Vista Pin
Sonani Prakash16-Jan-07 2:12
Sonani Prakash16-Jan-07 2:12 
GeneralRe: Creating Windows mail(outlook expr) account on Vista Pin
User 21559716-Jan-07 2:42
User 21559716-Jan-07 2:42 
QuestionVB.NET, SafeArray... Pin
Jeffrey Walton15-Jan-07 4:57
Jeffrey Walton15-Jan-07 4:57 
AnswerRe: VB.NET, SafeArray... Pin
prasad_som15-Jan-07 17:21
prasad_som15-Jan-07 17:21 
Questionapplication Crashing while AddRef() Pin
helpcode15-Jan-07 4:12
helpcode15-Jan-07 4:12 
GeneralRe: application Crashing while AddRef() Pin
prasad_som15-Jan-07 17:16
prasad_som15-Jan-07 17:16 
AnswerRe: application Crashing while AddRef() Pin
Tim Paaschen15-Jan-07 19:35
Tim Paaschen15-Jan-07 19:35 
helpcode wrote:
Using the value that is IUnknown pointer at AddRef() the application is crashing. I checked for NULL pointer but i can not figure out the cause.


Most probably this happens because the COM object already has been destroyed. Please note, that the destructor of the object will not set your pointer to NULL. Therefore, testing for NULL pointers is just a first sanity check, but does not guarantee a valid object pointed to.

Did you increase the reference count of your COM object before you stored it in the map? I would recommend to use Wrappers like CComPtr or CComQIPtr instead of maintaining the reference count yourself.

Regards,
Tim

QuestionReturning a SafeArray (IDL/Automation) Pin
zaccheus12-Jan-07 23:45
zaccheus12-Jan-07 23:45 
AnswerRe: Returning a SafeArray (IDL/Automation) Pin
Phil Harding15-Jan-07 3:34
Phil Harding15-Jan-07 3:34 
QuestionHow to display a Web Content in an Explorer Bar Pin
georgekjolly11-Jan-07 19:25
georgekjolly11-Jan-07 19:25 
AnswerRe: How to display a Web Content in an Explorer Bar Pin
User 21559712-Jan-07 1:03
User 21559712-Jan-07 1:03 
QuestionRegistry Entry for an Explorer Bar Pin
georgekjolly11-Jan-07 3:45
georgekjolly11-Jan-07 3:45 
AnswerRe: Registry Entry for an Explorer Bar Pin
User 21559711-Jan-07 12:52
User 21559711-Jan-07 12:52 
QuestionI am converting a ActiveX(DSO Framer)control into .Net assembly Pin
indian14311-Jan-07 1:06
indian14311-Jan-07 1:06 
AnswerRe: I am converting a ActiveX(DSO Framer)control into .Net assembly Pin
Pete O'Hanlon11-Jan-07 3:10
mvePete O'Hanlon11-Jan-07 3:10 
GeneralRe: I am converting a ActiveX(DSO Framer)control into .Net assembly Pin
indian14311-Jan-07 4:24
indian14311-Jan-07 4:24 
QuestionNo Subject Pin
indian14311-Jan-07 0:57
indian14311-Jan-07 0:57 
AnswerRe: I tried to edit the .il file it is giving the following error Pin
Pete O'Hanlon11-Jan-07 0:13
mvePete O'Hanlon11-Jan-07 0:13 
Questionregistration and gac intallation Pin
indian14310-Jan-07 23:22
indian14310-Jan-07 23:22 
AnswerRe: registration and gac intallation Pin
Pete O'Hanlon11-Jan-07 0:13
mvePete O'Hanlon11-Jan-07 0:13 
AnswerRe: registration and gac intallation Pin
User 21559711-Jan-07 0:16
User 21559711-Jan-07 0:16 
GeneralRe: registration and gac intallation Pin
indian14311-Jan-07 0:54
indian14311-Jan-07 0:54 
GeneralRe: registration and gac intallation Pin
User 21559711-Jan-07 2:38
User 21559711-Jan-07 2:38 
GeneralRe: registration and gac intallation Pin
indian14311-Jan-07 3:22
indian14311-Jan-07 3:22 

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.