Click here to Skip to main content
15,899,754 members
Home / Discussions / ATL / WTL / STL
   

ATL / WTL / STL

 
GeneralRe: [ ! ] Crashing Connection points in the .exe.. Help!! Pin
Eytukan4-Aug-06 5:28
Eytukan4-Aug-06 5:28 
GeneralRe: [ ! ] Crashing Connection points in the .exe.. Help!! Pin
Roger Stoltz4-Aug-06 5:35
Roger Stoltz4-Aug-06 5:35 
GeneralRe: [ ! ] Crashing Connection points in the .exe.. Help!! Pin
Eytukan8-Aug-06 3:36
Eytukan8-Aug-06 3:36 
GeneralRe: [ ! ] Crashing Connection points in the .exe.. Help!! [modified] Pin
Roger Stoltz8-Aug-06 3:45
Roger Stoltz8-Aug-06 3:45 
GeneralRe: [ ! ] Crashing Connection points in the .exe.. Help!! Pin
Eytukan8-Aug-06 23:13
Eytukan8-Aug-06 23:13 
GeneralRe: [ ! ] Crashing Connection points in the .exe.. Help!! Pin
Eytukan10-Aug-06 22:59
Eytukan10-Aug-06 22:59 
QuestionATL and _pAtlModule->Lock() failure. Pin
eXeonical..4-Aug-06 0:12
eXeonical..4-Aug-06 0:12 
AnswerRe: ATL and _pAtlModule->Lock() failure. Pin
CPP_Student4-Aug-06 9:11
CPP_Student4-Aug-06 9:11 
I am just now learning COM with ATL, but will try to help.

_pAtlModule is a global variable declared in atlbase.h as:

__declspec(selectany) CAtlModule* _pAtlModule = NULL;

It is set in the constructor of "class ATL_NO_VTABLE CAtlModule : public _ATL_MODULE":

_pAtlModule = this;

So, if you have the normal ATL generated code in your main project file

class CMyATL_ProjectModule : public CAtlDllModuleT< CMyATL_ProjectModule ><br />
{<br />
public :<br />
	DECLARE_LIBID(LIBID_MyATL_ProjectLib)<br />
	DECLARE_REGISTRY_APPID_RESOURCEID(IDR_MYATL_PROJECT, "{157A51E9-ECF7-4D1B-8D66-694A7CEFB436}")<br />
};<br />
<br />
CMyATL_ProjectModule _AtlModule;


that global field will be set when you compile your program.
GeneralRe: ATL and _pAtlModule-->Lock() failure. Pin
eXeonical..6-Aug-06 23:06
eXeonical..6-Aug-06 23:06 
QuestionErase elements while iterating on a map Pin
vikramlinux3-Aug-06 20:27
vikramlinux3-Aug-06 20:27 
AnswerRe: Erase elements while iterating on a map Pin
Zac Howland4-Aug-06 3:40
Zac Howland4-Aug-06 3:40 
AnswerRe: Erase elements while iterating on a map Pin
Michael Dunn4-Aug-06 14:06
sitebuilderMichael Dunn4-Aug-06 14:06 
QuestionATL application using activeX Pin
CheerioMaster3-Aug-06 2:22
CheerioMaster3-Aug-06 2:22 
AnswerRe: ATL application using activeX Pin
Rob Caldecott3-Aug-06 3:34
Rob Caldecott3-Aug-06 3:34 
GeneralRe: ATL application using activeX Pin
CheerioMaster3-Aug-06 3:58
CheerioMaster3-Aug-06 3:58 
QuestionValidity of CWndClassInfo content Pin
xLobo231-Jul-06 0:27
xLobo231-Jul-06 0:27 
QuestionShould I learn ATL/COM now? Pin
CPP_Student30-Jul-06 14:59
CPP_Student30-Jul-06 14:59 
AnswerRe: Should I learn ATL/COM now? Pin
CPP_Student30-Jul-06 15:47
CPP_Student30-Jul-06 15:47 
AnswerRe: Should I learn ATL/COM now? Pin
Kevin McFarlane31-Jul-06 6:12
Kevin McFarlane31-Jul-06 6:12 
GeneralRe: Should I learn ATL/COM now? [modified] Pin
CPP_Student31-Jul-06 7:52
CPP_Student31-Jul-06 7:52 
AnswerRe: Should I learn ATL/COM now? Pin
Zac Howland31-Jul-06 8:32
Zac Howland31-Jul-06 8:32 
GeneralRe: Should I learn ATL/COM now? Pin
Kevin McFarlane31-Jul-06 9:11
Kevin McFarlane31-Jul-06 9:11 
GeneralRe: Should I learn ATL/COM now? Pin
Zac Howland31-Jul-06 9:24
Zac Howland31-Jul-06 9:24 
GeneralRe: What I am trying to do [modified] Pin
CPP_Student31-Jul-06 10:33
CPP_Student31-Jul-06 10:33 
GeneralRe: What I am trying to do Pin
Zac Howland31-Jul-06 10:57
Zac Howland31-Jul-06 10:57 

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.