Click here to Skip to main content
15,900,818 members
Home / Discussions / COM
   

COM

 
GeneralPointer problem Pin
yamini7-Feb-01 17:02
yamini7-Feb-01 17:02 
GeneralPointer problem Pin
yamini7-Feb-01 17:01
yamini7-Feb-01 17:01 
GeneralPointer problem Pin
yamini7-Feb-01 16:57
yamini7-Feb-01 16:57 
GeneralKilling VB IDE with a propery Pin
Chris Losinger6-Feb-01 4:51
professionalChris Losinger6-Feb-01 4:51 
Generaln-Tier "Hardcore" Pin
Attila Hajdrik5-Feb-01 7:33
Attila Hajdrik5-Feb-01 7:33 
GeneralReducing the time a instance of a com exe server Pin
5-Feb-01 6:30
suss5-Feb-01 6:30 
GeneralCOM+ Component Services problem Pin
1-Feb-01 7:35
suss1-Feb-01 7:35 
GeneralCatostrophic putref :( Pin
Chris Losinger29-Jan-01 4:43
professionalChris Losinger29-Jan-01 4:43 
I have a free-threaded ATL object. Hooray.

I used the ATL wizards to set up a IDispatch* property, using putref. Then I manually changed the IDispatch to IPictureDisp.

I'm testing this with a simple MFC dialog test app. When I go to set the picture property by calling the com_ptr's interface wrapper function:

void IMyObject::PutRefPicture ( IPictureDisp * pVal )
  HRESULT _hr = putref_Picture(pVal);
  if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
}


i get an exception on the putref_Picture call. it is a "Catostrophic failure", according to the Error Lookup.

and, i can't even step into that putref_Picture call, it blows up on that call.

any ideas??

-c
GeneralWindows Media SDK and MFC Pin
24-Jan-01 11:18
suss24-Jan-01 11:18 
QuestionCan anyone find the symbols of OLE32.dll Pin
Eric Wu15-Jan-01 2:54
Eric Wu15-Jan-01 2:54 
AnswerRe: Can anyone find the symbols of OLE32.dll Pin
15-Jan-01 10:56
suss15-Jan-01 10:56 
AnswerRe: Can anyone find the symbols of OLE32.dll Pin
15-Jan-01 11:13
suss15-Jan-01 11:13 
GeneralATL - Collections - shared data Pin
14-Jan-01 13:42
suss14-Jan-01 13:42 
GeneralRe: ATL - Collections - shared data Pin
Todd Wilson8-Feb-01 12:58
Todd Wilson8-Feb-01 12:58 
GeneralATL globals Pin
2sky10-Jan-01 13:57
2sky10-Jan-01 13:57 
GeneralITypelib2::GetDocumentation2 Pin
4-Jan-01 3:56
suss4-Jan-01 3:56 
GeneralRe: ITypelib2::GetDocumentation2 Pin
6-Feb-01 15:19
suss6-Feb-01 15:19 
GeneralDcom working on the client(suppose to work work on the server) Pin
Hushpappy3-Jan-01 6:22
Hushpappy3-Jan-01 6:22 
GeneralRe: Dcom working on the client(suppose to work work on the server) Pin
18-Jan-01 14:15
suss18-Jan-01 14:15 
GeneralRe: Dcom working on the client(suppose to work work on the server) Pin
John McTainsh4-Feb-01 16:22
John McTainsh4-Feb-01 16:22 
QuestionQ: how to expose an interface using ATL? Pin
Tony Young27-Dec-00 10:08
Tony Young27-Dec-00 10:08 
AnswerRe: Q: how to expose an interface using ATL? Pin
Michael Dunn27-Dec-00 14:21
sitebuilderMichael Dunn27-Dec-00 14:21 
GeneralAsp and thumbnail Pin
26-Dec-00 2:35
suss26-Dec-00 2:35 
GeneralMixed COM Apartment models Pin
Christian Skovdal Andersen22-Dec-00 11:39
Christian Skovdal Andersen22-Dec-00 11:39 
GeneralClistCtrl and Callback Items in WTL Pin
21-Dec-00 22:40
suss21-Dec-00 22:40 

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.