Click here to Skip to main content
15,887,214 members
Home / Discussions / COM
   

COM

 
AnswerRe: COM compiler errors Pin
Steve S29-May-06 23:03
Steve S29-May-06 23:03 
GeneralRe: COM compiler errors Pin
melwyn30-May-06 1:44
melwyn30-May-06 1:44 
GeneralRe: COM compiler errors Pin
Steve S30-May-06 4:14
Steve S30-May-06 4:14 
GeneralRe: COM compiler errors Pin
Steve S30-May-06 4:22
Steve S30-May-06 4:22 
GeneralRe: COM compiler errors Pin
melwyn30-May-06 5:37
melwyn30-May-06 5:37 
GeneralRe: COM compiler errors Pin
Steve S30-May-06 6:02
Steve S30-May-06 6:02 
Questionvoid* and void** Pin
HakunaMatada28-May-06 21:01
HakunaMatada28-May-06 21:01 
AnswerRe: void* and void** Pin
Roger Stoltz28-May-06 21:33
Roger Stoltz28-May-06 21:33 
TechyMaila wrote:
IDL
[id(3), helpstring("method InsertTreeChild"), local] HRESULT InsertTreeChild([in] BSTR Text,[in] BSTR Data,[in,unique] void* ParentItem,[out] void** ChildItem);


This looks like the interface of the server is a dispatch interface since the method has an id.
If it is, you can only use data types that can be represented with a VARIANT and void is not among those data types.

If you are forced to use marshalling, e.g. due to server access from multiple threads, the marshaller don't know how to handle the unknown data type.


Hope this helps
--
Roger


It's supposed to be hard, otherwise anybody could do it!

Regarding CodeProject: "resistance is pointless; you will be assimilated"

GeneralRe: void* and void** [modified] Pin
HakunaMatada28-May-06 22:24
HakunaMatada28-May-06 22:24 
GeneralRe: void* and void** [modified] Pin
Roger Stoltz28-May-06 22:42
Roger Stoltz28-May-06 22:42 
GeneralRe: void* and void** [modified] Pin
HakunaMatada29-May-06 0:12
HakunaMatada29-May-06 0:12 
AnswerRe: void* and void** [modified] Pin
Roger Stoltz29-May-06 0:48
Roger Stoltz29-May-06 0:48 
GeneralRe: void* and void** [modified] Pin
HakunaMatada29-May-06 1:08
HakunaMatada29-May-06 1:08 
QuestionHow to register shell extension DLL? Pin
Rostfrei28-May-06 20:55
Rostfrei28-May-06 20:55 
AnswerRe: How to register shell extension DLL? Pin
_AnsHUMAN_ 28-May-06 23:07
_AnsHUMAN_ 28-May-06 23:07 
AnswerRe: How to register shell extension DLL? Pin
Michael Dunn29-May-06 7:23
sitebuilderMichael Dunn29-May-06 7:23 
QuestionInprocServer32 Key Pin
Richard Andrew x6428-May-06 13:57
professionalRichard Andrew x6428-May-06 13:57 
AnswerRe: InprocServer32 Key Pin
Michael Dunn28-May-06 18:57
sitebuilderMichael Dunn28-May-06 18:57 
Questionexport data to Database Pin
viji]28-May-06 2:15
viji]28-May-06 2:15 
QuestionWIA (Windows Image Acquisition) API Pin
opl25-May-06 10:27
opl25-May-06 10:27 
AnswerRe: WIA (Windows Image Acquisition) API Pin
Renjith Ramachandran26-May-06 4:50
Renjith Ramachandran26-May-06 4:50 
Question_bstr_t and MS Security update Pin
ChrisLang25-May-06 5:43
ChrisLang25-May-06 5:43 
AnswerRe: _bstr_t and MS Security update Pin
Michael Dunn25-May-06 8:45
sitebuilderMichael Dunn25-May-06 8:45 
GeneralRe: _bstr_t and MS Security update Pin
ChrisLang25-May-06 10:30
ChrisLang25-May-06 10:30 
AnswerRe: _bstr_t and MS Security update Pin
ChrisLang25-May-06 11:17
ChrisLang25-May-06 11:17 

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.