Click here to Skip to main content
15,908,013 members
Home / Discussions / COM
   

COM

 
GeneralRe: SHGetPathFromIDList - Problem Pin
Mike Dimmick5-Feb-04 0:58
Mike Dimmick5-Feb-04 0:58 
GeneralSHBrowseForFolder problem Pin
Tristan Rhodes4-Feb-04 1:19
Tristan Rhodes4-Feb-04 1:19 
GeneralRe: SHBrowseForFolder problem Pin
Tristan Rhodes4-Feb-04 2:01
Tristan Rhodes4-Feb-04 2:01 
GeneralPartial Solution Pin
Tristan Rhodes4-Feb-04 2:55
Tristan Rhodes4-Feb-04 2:55 
GeneralMethod overloading Pin
Anonymous3-Feb-04 4:19
Anonymous3-Feb-04 4:19 
GeneralRe: Method overloading Pin
Steve S3-Feb-04 22:55
Steve S3-Feb-04 22:55 
GeneralRe: Method overloading Pin
Anonymous4-Feb-04 0:03
Anonymous4-Feb-04 0:03 
GeneralPaste img from any application like Paint, Ms Photoeditor,etc Pin
Filomela2-Feb-04 20:47
Filomela2-Feb-04 20:47 
Questionhow to use ActiveX contrl listview and imagelist in mscomctl.ocx Pin
Dababa2-Feb-04 14:29
Dababa2-Feb-04 14:29 
GeneralParameter in ActiveX control Pin
TrungHuynh1-Feb-04 19:43
TrungHuynh1-Feb-04 19:43 
GeneralRe: Parameter in ActiveX control Pin
Steve S2-Feb-04 4:23
Steve S2-Feb-04 4:23 
GeneralRe: Parameter in ActiveX control Pin
TrungHuynh2-Feb-04 14:30
TrungHuynh2-Feb-04 14:30 
GeneralRe: Parameter in ActiveX control Pin
Steve S2-Feb-04 22:07
Steve S2-Feb-04 22:07 
GeneralRe: Parameter in ActiveX control Pin
TrungHuynh2-Feb-04 22:25
TrungHuynh2-Feb-04 22:25 
GeneralRe: Parameter in ActiveX control Pin
Steve S3-Feb-04 0:18
Steve S3-Feb-04 0:18 
GeneralRe: Parameter in ActiveX control Pin
TrungHuynh3-Feb-04 14:44
TrungHuynh3-Feb-04 14:44 
GeneralRe: Parameter in ActiveX control Pin
TrungHuynh3-Feb-04 14:46
TrungHuynh3-Feb-04 14:46 
GeneralRe: Parameter in ActiveX control Pin
Steve S3-Feb-04 22:52
Steve S3-Feb-04 22:52 
And there's your problem. The ClassWizard will only allow you to use OLE Automation compatible types. You can "cheat", because the control is in-process, so there isn't any real marshalling being done, by defining the parameter as a VARIANT, then using the fact that a variant will hold a void*, which you'll need to cast back in your control to be a FILE_INFO*.

But you didn't hear it from me....

This definitely should NOT be considered as an option if there is ANY chance that it will be used out of process, where it won't work.

Steve S
GeneralAccessing IE via COM or ActiveX Pin
Dave Midgley1-Feb-04 7:52
Dave Midgley1-Feb-04 7:52 
GeneralRe: HTML control Pin
Anonymous3-Feb-04 22:09
Anonymous3-Feb-04 22:09 
Generalembedding activex control in outlook mail message Pin
emmatty1-Feb-04 3:53
emmatty1-Feb-04 3:53 
GeneralRe: embedding activex control in outlook mail message Pin
gialli1-Feb-04 19:24
gialli1-Feb-04 19:24 
Generalactivex control problem Pin
emmatty30-Jan-04 19:08
emmatty30-Jan-04 19:08 
GeneralRe: activex control problem Pin
AssemblySoft31-Jan-04 12:31
AssemblySoft31-Jan-04 12:31 
GeneralRe: activex control problem Pin
Jörgen Sigvardsson31-Jan-04 12:41
Jörgen Sigvardsson31-Jan-04 12:41 

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.