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

COM

 
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 
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 
morenz wrote:
I noticed that using or not the oleautomation keyword does not affect things


That's because since it's a dual interface it's implicitly an automation interface.

morenz wrote:
WHY does it work with CreateInstance?... How can it manage better these UDTs?


To put it simple: it cannot. Since it's the same interface and the same marshaller this won't change. I suspect that when you used CreateInstance() you had a server registered on the same machine as the client and it was invoked as an in-process server so there was no need for marshalling, hence it would seem to handle the UDTs better but in fact they were never "handled" at all.
But I'm only guessing here.

--
Roger


It's suppose to be hard, otherwise anybody could do it!
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 
GeneralRe: Why Default Interface ??? Pin
NiceNaidu2-May-06 2:18
NiceNaidu2-May-06 2:18 
GeneralRe: Why Default Interface ??? Pin
Mike Dimmick2-May-06 2:44
Mike Dimmick2-May-06 2:44 

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.