Click here to Skip to main content
15,915,324 members
Home / Discussions / COM
   

COM

 
AnswerRe: Adding a button to the Windows Explorer toolbar. Pin
prasad_som18-Jan-07 17:21
prasad_som18-Jan-07 17:21 
QuestionWeb service using COM objects suddenly not working Pin
Marcus J. Smith16-Jan-07 2:31
professionalMarcus J. Smith16-Jan-07 2:31 
AnswerRe: Web service using COM objects suddenly not working Pin
User 21559716-Jan-07 2:41
User 21559716-Jan-07 2:41 
GeneralRe: Web service using COM objects suddenly not working Pin
Marcus J. Smith16-Jan-07 2:58
professionalMarcus J. Smith16-Jan-07 2:58 
QuestionRe: Web service using COM objects suddenly not working Pin
prasad_som16-Jan-07 3:08
prasad_som16-Jan-07 3:08 
AnswerRe: Web service using COM objects suddenly not working Pin
Marcus J. Smith16-Jan-07 3:37
professionalMarcus J. Smith16-Jan-07 3:37 
QuestionMultiple COM Objects Pin
HakunaMatada16-Jan-07 1:59
HakunaMatada16-Jan-07 1:59 
AnswerRe: Multiple COM Objects Pin
User 21559716-Jan-07 2:39
User 21559716-Jan-07 2:39 
GeneralRe: Multiple COM Objects Pin
HakunaMatada16-Jan-07 4:08
HakunaMatada16-Jan-07 4:08 
GeneralRe: Multiple COM Objects Pin
User 21559716-Jan-07 4:27
User 21559716-Jan-07 4:27 
QuestionCreating Windows mail(outlook expr) account on Vista Pin
Sonani Prakash15-Jan-07 22:54
Sonani Prakash15-Jan-07 22:54 
AnswerRe: Creating Windows mail(outlook expr) account on Vista Pin
User 21559715-Jan-07 23:52
User 21559715-Jan-07 23:52 
GeneralRe: Creating Windows mail(outlook expr) account on Vista Pin
Sonani Prakash16-Jan-07 0:10
Sonani Prakash16-Jan-07 0:10 
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 

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.