Click here to Skip to main content
15,892,059 members
Home / Discussions / COM
   

COM

 
AnswerRe: error LNK2001: unresolved external symbol _CLSID...... Pin
Steve S30-Aug-06 0:30
Steve S30-Aug-06 0:30 
QuestionMethod of WMI Class SystemRestore on Windows Vista doesn't work! Pin
dmitriu29-Aug-06 22:24
dmitriu29-Aug-06 22:24 
QuestionAre user32.dll ,kernel32.dll... COM dlls? Pin
sawerr29-Aug-06 6:45
sawerr29-Aug-06 6:45 
AnswerRe: Are user32.dll ,kernel32.dll... COM dlls? Pin
Mike Dimmick29-Aug-06 6:52
Mike Dimmick29-Aug-06 6:52 
GeneralRe: Are user32.dll ,kernel32.dll... COM dlls? Pin
sawerr29-Aug-06 7:02
sawerr29-Aug-06 7:02 
GeneralRe: Are user32.dll ,kernel32.dll... COM dlls? Pin
Steve S29-Aug-06 21:35
Steve S29-Aug-06 21:35 
QuestionEmbedding an ActiveX control in another Pin
TClarke29-Aug-06 6:06
TClarke29-Aug-06 6:06 
AnswerRe: Embedding an ActiveX control in another Pin
Roger Stoltz30-Aug-06 23:33
Roger Stoltz30-Aug-06 23:33 
Hi Tom,

If you've added the control with ClassWizard you've got a header file as well as an implementation file for the control.
Have a look inside and you'll find that the ClassWizard created wrapper class, deriving from CWnd, has overridden the Create() function and calls CWnd::CreateControl for you.
Simply have member variable of the wrapper class type and call Create() for that instance.
You don't have to show the control, you may set the CRect argument to {0, 0, 0, 0} and set the dwStyle argument to SW_HIDE.

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: Embedding an ActiveX control in another Pin
TClarke30-Aug-06 23:42
TClarke30-Aug-06 23:42 
GeneralRe: Embedding an ActiveX control in another Pin
TClarke31-Aug-06 1:05
TClarke31-Aug-06 1:05 
GeneralRe: Embedding an ActiveX control in another Pin
Roger Stoltz31-Aug-06 4:10
Roger Stoltz31-Aug-06 4:10 
Questionunregistering COM Pin
_tasleem29-Aug-06 3:05
_tasleem29-Aug-06 3:05 
AnswerRe: unregistering COM Pin
Steve S29-Aug-06 5:12
Steve S29-Aug-06 5:12 
QuestionPassing an Array of BSTR Pin
HakunaMatada28-Aug-06 20:51
HakunaMatada28-Aug-06 20:51 
AnswerRe: Passing an Array of BSTR Pin
Steve S29-Aug-06 2:39
Steve S29-Aug-06 2:39 
Questionnew vs CoCreateInstance Pin
_AnsHUMAN_ 28-Aug-06 0:10
_AnsHUMAN_ 28-Aug-06 0:10 
AnswerRe: new vs CoCreateInstance Pin
Steve S29-Aug-06 5:18
Steve S29-Aug-06 5:18 
Questionautomatic call Pin
_tasleem27-Aug-06 22:04
_tasleem27-Aug-06 22:04 
AnswerRe: automatic call Pin
prasad_som27-Aug-06 23:19
prasad_som27-Aug-06 23:19 
QuestionThread in COM DLL Pin
rockryan27-Aug-06 3:03
rockryan27-Aug-06 3:03 
AnswerRe: Thread in COM DLL Pin
rockryan27-Aug-06 14:22
rockryan27-Aug-06 14:22 
QuestionIHTMLDocument2 get_applets Pin
nemo26-Aug-06 13:45
nemo26-Aug-06 13:45 
Question"Unadvising" Event sink in VB6 Pin
Ilia Blank25-Aug-06 7:45
Ilia Blank25-Aug-06 7:45 
GeneralRe: "Unadvising" Event sink in VB6 Pin
Guffa25-Aug-06 8:53
Guffa25-Aug-06 8:53 
QuestionDeriving multiple interfaces from base interface (aggregation) Pin
Andre xxxxxxx24-Aug-06 4:38
Andre xxxxxxx24-Aug-06 4:38 

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.