Click here to Skip to main content
15,909,652 members
Home / Discussions / COM
   

COM

 
QuestionError : 0x8007000e - Not enough storage is available to complete this operation. Pin
guestcat3-May-06 23:51
guestcat3-May-06 23:51 
AnswerRe: Error : 0x8007000e - Not enough storage is available to complete this operation. Pin
guestcat6-May-06 1:41
guestcat6-May-06 1:41 
QuestionAttach Method with SmartPointers causes problems marshaling UDTs? Pin
morenz3-May-06 23:26
morenz3-May-06 23:26 
AnswerRe: Attach Method with SmartPointers causes problems marshaling UDTs? Pin
Milton Karimbekallil4-May-06 5:33
Milton Karimbekallil4-May-06 5:33 
AnswerRe: Attach Method with SmartPointers causes problems marshaling UDTs? Pin
Roger Stoltz4-May-06 11:30
Roger Stoltz4-May-06 11:30 
GeneralRe: Attach Method with SmartPointers causes problems marshaling UDTs? Pin
Milton Karimbekallil4-May-06 18:33
Milton Karimbekallil4-May-06 18:33 
GeneralRe: Attach Method with SmartPointers causes problems marshaling UDTs? Pin
morenz4-May-06 21:43
morenz4-May-06 21:43 
AnswerRe: Attach Method with SmartPointers causes problems marshaling UDTs? Pin
Roger Stoltz4-May-06 22:42
Roger Stoltz4-May-06 22:42 
morenz wrote:
where am I wrong?


Hard to say since you haven't told us whether you're using an automation interface or not and what kind of marshalling you're using.

IF you're using the universal marshaller then the COM_IVA_IMAGE structure is unsupported since it's not an automation data type that can be represented with a VARIANT. Even if the members of the COM_IVA_IMAGE structure are oleautomation compatible, the structure is not.
Consider altering the parameter list for the loadImage() function to
HRESULT loadImage( [in] BSTR fileName, [out] long* rows, [out] long* cols, [out, retval] SAFEARRAY(char)* saPoints );

--
Roger


It's suppose to be hard, otherwise anybody could do it!
GeneralRe: Attach Method with SmartPointers causes problems marshaling UDTs? Pin
morenz4-May-06 23:39
morenz4-May-06 23:39 
AnswerRe: Attach Method with SmartPointers causes problems marshaling UDTs? Pin
Roger Stoltz5-May-06 1:26
Roger Stoltz5-May-06 1:26 
GeneralRe: Attach Method with SmartPointers causes problems marshaling UDTs? Pin
morenz5-May-06 3:34
morenz5-May-06 3:34 
GeneralRe: Attach Method with SmartPointers causes problems marshaling UDTs? Pin
Roger Stoltz5-May-06 4:24
Roger Stoltz5-May-06 4:24 
GeneralRe: Attach Method with SmartPointers causes problems marshaling UDTs? Pin
morenz5-May-06 4:30
morenz5-May-06 4:30 
QuestionLookup installed com components Pin
Hampus@foi3-May-06 21:57
Hampus@foi3-May-06 21:57 
AnswerRe: Lookup installed com components Pin
Stephen Hewitt3-May-06 22:06
Stephen Hewitt3-May-06 22:06 
AnswerRe: Lookup installed com components Pin
Laxman Auti4-May-06 3:40
Laxman Auti4-May-06 3:40 
QuestionActiveX control and COM dll Pin
csylesh3-May-06 2:23
csylesh3-May-06 2:23 
AnswerRe: ActiveX control and COM dll Pin
Milton Karimbekallil4-May-06 5:33
Milton Karimbekallil4-May-06 5:33 
QuestionTypes of DLL Pin
Smith#2-May-06 23:40
Smith#2-May-06 23:40 
AnswerRe: Types of DLL Pin
_AnsHUMAN_ 3-May-06 3:34
_AnsHUMAN_ 3-May-06 3:34 
QuestionDifference between static_cast and normal casting Pin
NiceNaidu2-May-06 2:30
NiceNaidu2-May-06 2:30 
AnswerRe: Difference between static_cast and normal casting Pin
guestcat2-May-06 3:20
guestcat2-May-06 3:20 
AnswerRe: Difference between static_cast and normal casting Pin
Stephen Hewitt2-May-06 15:59
Stephen Hewitt2-May-06 15:59 
QuestionWhy Default Interface ??? Pin
NiceNaidu2-May-06 1:33
NiceNaidu2-May-06 1:33 
AnswerRe: Why Default Interface ??? Pin
guestcat2-May-06 1:50
guestcat2-May-06 1: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.