Click here to Skip to main content
15,909,091 members
Home / Discussions / ATL / WTL / STL
   

ATL / WTL / STL

 
QuestionATL ActiveX control embedded in Internet Explorer not receiving WM_CREATE, WM_DESTROY, WM_SHOWWINDOW messages Pin
Member 455120828-Dec-09 23:55
Member 455120828-Dec-09 23:55 
QuestionProblem in transform function Pin
ashtwin16-Dec-09 1:50
ashtwin16-Dec-09 1:50 
AnswerRe: Problem in transform function Pin
Stuart Dootson16-Dec-09 6:45
professionalStuart Dootson16-Dec-09 6:45 
GeneralRe: Problem in transform function Pin
ashtwin16-Dec-09 17:34
ashtwin16-Dec-09 17:34 
GeneralRe: Problem in transform function Pin
Stuart Dootson16-Dec-09 21:30
professionalStuart Dootson16-Dec-09 21:30 
GeneralRe: Problem in transform function Pin
ashtwin17-Dec-09 0:25
ashtwin17-Dec-09 0:25 
GeneralRe: Problem in transform function Pin
Stuart Dootson17-Dec-09 0:26
professionalStuart Dootson17-Dec-09 0:26 
GeneralRe: Problem in transform function Pin
ashtwin17-Dec-09 21:33
ashtwin17-Dec-09 21:33 
GeneralRe: Problem in transform function Pin
Stuart Dootson17-Dec-09 21:36
professionalStuart Dootson17-Dec-09 21:36 
GeneralRe: Problem in transform function Pin
ashtwin18-Dec-09 1:53
ashtwin18-Dec-09 1:53 
GeneralRe: Problem in transform function Pin
Stuart Dootson18-Dec-09 1:57
professionalStuart Dootson18-Dec-09 1:57 
GeneralRe: Problem in transform function Pin
ashtwin18-Dec-09 2:31
ashtwin18-Dec-09 2:31 
GeneralRe: Problem in transform function Pin
ashtwin17-Dec-09 0:29
ashtwin17-Dec-09 0:29 
QuestionATL interfaces/COM problem in Vista Pin
T800G13-Dec-09 2:53
T800G13-Dec-09 2:53 
QuestionA quick connection point question... Pin
asdfhjkasdf dfhjksdf12-Dec-09 19:44
asdfhjkasdf dfhjksdf12-Dec-09 19:44 
AnswerRe: A quick connection point question... Pin
Jonathan Davies13-Dec-09 3:48
Jonathan Davies13-Dec-09 3:48 
QuestionCOM/ATL interfaces Pin
asdfhjkasdf dfhjksdf8-Dec-09 16:39
asdfhjkasdf dfhjksdf8-Dec-09 16:39 
AnswerRe: COM/ATL interfaces Pin
Jonathan Davies9-Dec-09 6:04
Jonathan Davies9-Dec-09 6:04 
GeneralRe: COM/ATL interfaces Pin
asdfhjkasdf dfhjksdf9-Dec-09 8:09
asdfhjkasdf dfhjksdf9-Dec-09 8:09 
GeneralRe: COM/ATL interfaces Pin
Jonathan Davies9-Dec-09 8:47
Jonathan Davies9-Dec-09 8:47 
GeneralRe: COM/ATL interfaces Pin
asdfhjkasdf dfhjksdf9-Dec-09 10:32
asdfhjkasdf dfhjksdf9-Dec-09 10:32 
GeneralRe: COM/ATL interfaces Pin
Jonathan Davies9-Dec-09 11:43
Jonathan Davies9-Dec-09 11:43 
GeneralRe: COM/ATL interfaces Pin
asdfhjkasdf dfhjksdf9-Dec-09 13:35
asdfhjkasdf dfhjksdf9-Dec-09 13:35 
I just started the entire dll from scratch. New ATL project, added a simple ATL object and inherited from CAxDialog and the other class just like the old dll. I now have a valid interface and I can add my method to it. Everything works great and I can see my new method plus the inherited ones from c# since I finally have a %#@#$ interface. I started copying in chunks of code from the old class used to implement the inherited interface. There are a couple of calls to _Module that it's crapping out on. So I added it to Stdafx.h like the other class. In the form of:

#include <atlbase.h>
extern CComModule _Module;
#include <atlcom.h>

Now the build errors on this line stating:
error C2146: syntax error : missing ';' before identifier '_Module'

If I comment out the line, it builds fine.

Why the heck would they waterboard at Gitmo when they could just sit them down and make them learn COM/ATL?
GeneralRe: COM/ATL interfaces Pin
Jonathan Davies10-Dec-09 0:45
Jonathan Davies10-Dec-09 0:45 
GeneralRe: COM/ATL interfaces Pin
asdfhjkasdf dfhjksdf10-Dec-09 8:35
asdfhjkasdf dfhjksdf10-Dec-09 8:35 

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.