Click here to Skip to main content
16,005,169 members
Home / Discussions / COM
   

COM

 
GeneralRe: Help with _variant_t Pin
f6426-Apr-04 18:20
f6426-Apr-04 18:20 
GeneralRe: Help with _variant_t Pin
benwestgarth26-Apr-04 18:29
benwestgarth26-Apr-04 18:29 
GeneralRe: Help with _variant_t Pin
Rory Solley26-Apr-04 21:56
Rory Solley26-Apr-04 21:56 
GeneralRe: Help with _variant_t Pin
f6427-Apr-04 5:44
f6427-Apr-04 5:44 
GeneralRe: Help with _variant_t Pin
benwestgarth27-Apr-04 12:41
benwestgarth27-Apr-04 12:41 
GeneralRe: Help with _variant_t Pin
Milton Karimbekallil26-Apr-04 23:09
Milton Karimbekallil26-Apr-04 23:09 
GeneralIdentifying an unknown error Pin
Kaleb Pederson26-Apr-04 8:52
Kaleb Pederson26-Apr-04 8:52 
GeneralRe: Identifying an unknown error Pin
Mike Dimmick26-Apr-04 23:26
Mike Dimmick26-Apr-04 23:26 
"Returns the string message for the HRESULT recorded within the _com_error object. If the HRESULT is a mapped 16-bit wCode, then a generic message “IDispatch error #<wcode>” is returned." -- documentation on _com_error::ErrorMessage.

"If the HRESULT is within the range 0x80040200 to 0x8004FFFF, the WCode method returns the HRESULT minus 0x80040200, else it returns zero." -- documentation on wCode.

I suspect this is an object-defined error - the Visual Basic documentation suggests adding a constant to the constant vbObjectError, which is 0x80040000, to get an error code - the meaning of which will obviously depend on the object itself.

You could try using the Description, Source and HelpFile functions on the _com_error object to see if the object has supplied more error information.

Stability. What an interesting concept. -- Chris Maunder
GeneralRe: Identifying an unknown error Pin
Kaleb Pederson27-Apr-04 9:36
Kaleb Pederson27-Apr-04 9:36 
QuestionEasily find IID, CLSID, ProgID? Pin
Kaleb Pederson26-Apr-04 7:09
Kaleb Pederson26-Apr-04 7:09 
AnswerRe: Easily find IID, CLSID, ProgID? Pin
Prakash Nadar26-Apr-04 7:51
Prakash Nadar26-Apr-04 7:51 
GeneralRe: Easily find IID, CLSID, ProgID? Pin
Kaleb Pederson26-Apr-04 8:46
Kaleb Pederson26-Apr-04 8:46 
GeneralRe: Easily find IID, CLSID, ProgID? Pin
Prakash Nadar26-Apr-04 18:01
Prakash Nadar26-Apr-04 18:01 
GeneralRe: Easily find IID, CLSID, ProgID? Pin
Kaleb Pederson27-Apr-04 9:33
Kaleb Pederson27-Apr-04 9:33 
Questionhow to maintain relationship between parent and child activeX control Pin
Abhi Lahare26-Apr-04 0:49
Abhi Lahare26-Apr-04 0:49 
AnswerRe: how to maintain relationship between parent and child activeX control Pin
Jitendra gangwar27-Apr-04 20:20
Jitendra gangwar27-Apr-04 20:20 
GeneralForward declaration error of ICallFactory Pin
shahzi25-Apr-04 20:34
shahzi25-Apr-04 20:34 
GeneralRe: Forward declaration error of ICallFactory Pin
Mike Dimmick26-Apr-04 23:30
Mike Dimmick26-Apr-04 23:30 
GeneralRe: Forward declaration error of ICallFactory Pin
shahzi29-Apr-04 20:19
shahzi29-Apr-04 20:19 
Generalnon-blocking Method Calling from COM Client Pin
shahzi23-Apr-04 22:27
shahzi23-Apr-04 22:27 
GeneralPass by Value or by Reference Pin
normanordas22-Apr-04 21:15
normanordas22-Apr-04 21:15 
GeneralRe: Pass by Value or by Reference Pin
Mike Dimmick23-Apr-04 9:24
Mike Dimmick23-Apr-04 9:24 
GeneralUsing ISyncMgrRegister Pin
jparsons22-Apr-04 19:57
jparsons22-Apr-04 19:57 
GeneralRe: Using ISyncMgrRegister Pin
Mike Dimmick23-Apr-04 9:26
Mike Dimmick23-Apr-04 9:26 
GeneralRe: Using ISyncMgrRegister Pin
jparsons23-Apr-04 11:58
jparsons23-Apr-04 11:58 

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.