Click here to Skip to main content
15,923,689 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: strcpy & UNICODE Pin
Michael Dunn20-Dec-01 19:28
sitebuilderMichael Dunn20-Dec-01 19:28 
GeneralNewbie Pin
20-Dec-01 16:09
suss20-Dec-01 16:09 
GeneralRe: Newbie Pin
Nish Nishant20-Dec-01 16:24
sitebuilderNish Nishant20-Dec-01 16:24 
GeneralRe: Newbie Pin
20-Dec-01 16:27
suss20-Dec-01 16:27 
Generalvoid to BOOL Pin
John L. DeVito20-Dec-01 13:44
professionalJohn L. DeVito20-Dec-01 13:44 
GeneralRe: void to BOOL Pin
Christian Graus20-Dec-01 14:06
protectorChristian Graus20-Dec-01 14:06 
GeneralRe: void to BOOL Pin
Jon Hulatt20-Dec-01 23:44
Jon Hulatt20-Dec-01 23:44 
Generalsimple add-in / COM question Pin
20-Dec-01 13:40
suss20-Dec-01 13:40 
I'm writing an add-in for VS.NET, but I think this is really a COM question - I'm quite a novice with COM.

I've started from the ToolWindow add-in sample. It is implemented as an add-in that hosts an ActiveX control. The add-in retrieves a pointer to the DTE object, like this:
pApplication->QueryInterface(__uuidof(EnvDTE::_DTE), (LPVOID*)&m_pDTE);
But how do I get that pointer in the control? I guess I want to pass that pointer from the add-in to the control, but I don't know how to do this.

I guess I could export a function from the control's DLL and pass the pointer to that, but that doesn't seem appropriate in a COM object.

Thanks,
Tom.
GeneralCopy constructors for template classes Pin
moredip20-Dec-01 13:19
moredip20-Dec-01 13:19 
GeneralRe: Copy constructors for template classes Pin
Michael Dunn20-Dec-01 15:44
sitebuilderMichael Dunn20-Dec-01 15:44 
GeneralRe: Copy constructors for template classes Pin
moredip21-Dec-01 7:28
moredip21-Dec-01 7:28 
GeneralCComboBox: More than one box dropped at a time Pin
Eldon Zacek20-Dec-01 12:41
Eldon Zacek20-Dec-01 12:41 
GeneralOpinions requested :rolleyes: Pin
Bill Wilson20-Dec-01 12:11
Bill Wilson20-Dec-01 12:11 
GeneralXP look Pin
20-Dec-01 12:10
suss20-Dec-01 12:10 
GeneralRe: XP look Pin
Christian Graus20-Dec-01 13:30
protectorChristian Graus20-Dec-01 13:30 
GeneralRe: XP look Pin
Matt Newman20-Dec-01 13:40
Matt Newman20-Dec-01 13:40 
GeneralRe: XP look Pin
Michael Dunn20-Dec-01 15:46
sitebuilderMichael Dunn20-Dec-01 15:46 
GeneralLocating First Impression ActiveX Pin
pat at oli20-Dec-01 9:54
pat at oli20-Dec-01 9:54 
GeneralDirector/Flash style score control Pin
Gaz20-Dec-01 9:10
Gaz20-Dec-01 9:10 
GeneralTemplated CView classes Pin
20-Dec-01 7:18
suss20-Dec-01 7:18 
Generalalternative to fscanf Pin
meirav20-Dec-01 7:08
meirav20-Dec-01 7:08 
GeneralRe: alternative to fscanf Pin
Nemanja Trifunovic20-Dec-01 7:20
Nemanja Trifunovic20-Dec-01 7:20 
GeneralRe: alternative to fscanf Pin
Ravi Bhavnani20-Dec-01 7:31
professionalRavi Bhavnani20-Dec-01 7:31 
GeneralRe: alternative to fscanf Pin
Carlos Antollini20-Dec-01 7:53
Carlos Antollini20-Dec-01 7:53 
Generalnon-closable dialog Pin
Jon Newman20-Dec-01 6:58
Jon Newman20-Dec-01 6:58 

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.