Click here to Skip to main content
15,919,341 members
Home / Discussions / ATL / WTL / STL
   

ATL / WTL / STL

 
AnswerRe: WTL Pin
George L. Jackson28-Nov-06 14:49
George L. Jackson28-Nov-06 14:49 
QuestionSTL vector storing thread Pin
_tasleem25-Nov-06 2:00
_tasleem25-Nov-06 2:00 
AnswerRe: STL vector storing thread Pin
Michael Dunn25-Nov-06 11:10
sitebuilderMichael Dunn25-Nov-06 11:10 
AnswerRe: STL vector storing thread Pin
Laxman Auti27-Nov-06 23:59
Laxman Auti27-Nov-06 23:59 
GeneralRe: STL vector storing thread Pin
_tasleem30-Nov-06 23:11
_tasleem30-Nov-06 23:11 
Questioncan you help me? Pin
china.net23-Nov-06 4:32
china.net23-Nov-06 4:32 
AnswerRe: can you help me? Pin
prasad_som24-Nov-06 20:34
prasad_som24-Nov-06 20:34 
Questioncalling methods on _module Pin
tom groezer22-Nov-06 3:09
tom groezer22-Nov-06 3:09 
Hi,

I'm porting one of the dll from vc6 to vc8. In doing so I have created a complete framework to create a dll and subseqently add atl objects.

By default the framewaork adds the follwoing code in the main app file

class MyClassModule : public CAtlDllModuleT< MyClassModule>

{

public :

DECLARE_LIBID(LIBID_MyClassLib)

DECLARE_REGISTRY_APPID_RESOURCEID(IDR_MYCLASS, "{7C00C752-3DA7-4CB9-B721-7F39F9FEDD2E}")

};

In previous versions of ATL CComModule _Module was used which has been replaced by CAtlBaseModule.

Problem:

In the current application there is an

extern CComModule _Module in stdafx.h

and definition in main app file as CComModule _Module .

The global object _Module is being used in other files which include the stdafx.h file.
These files call methods like _Module.GetModuleInstance () and _Module.GetResourceInstance ());

Questions)
1)Is a global object of this class MyClassModule to be created and will the same exact functions as used on _Module be used here too.
2)Also since the above derivation is in in my app file how will the class MyClassModule and the global object of it be visible to other projects in order to call upon the functions.WTF | :WTF:





AnswerRe: calling methods on _module Pin
led mike22-Nov-06 5:37
led mike22-Nov-06 5:37 
QuestionTransparent controls Pin
damir_tk21-Nov-06 11:06
damir_tk21-Nov-06 11:06 
AnswerRe: Transparent controls Pin
damir_tk21-Nov-06 11:30
damir_tk21-Nov-06 11:30 
Questionhow do I Accessing a C# dll in VC++? Pin
malayalite19-Nov-06 15:31
malayalite19-Nov-06 15:31 
AnswerRe: how do I Accessing a C# dll in VC++? Pin
led mike20-Nov-06 5:37
led mike20-Nov-06 5:37 
Questioncan somebody help me? Pin
china.net19-Nov-06 3:31
china.net19-Nov-06 3:31 
AnswerRe: help me ,please Pin
Stephen Hewitt19-Nov-06 15:28
Stephen Hewitt19-Nov-06 15:28 
Questionreplacment of CComModule in ATL7 Pin
tom groezer16-Nov-06 1:22
tom groezer16-Nov-06 1:22 
AnswerRe: replacment of CComModule in ATL7 Pin
prasad_som16-Nov-06 1:44
prasad_som16-Nov-06 1:44 
GeneralRe: replacment of CComModule in ATL7 Pin
tom groezer22-Nov-06 4:03
tom groezer22-Nov-06 4:03 
Questionshow or hiding tool bar Pin
salman kazi15-Nov-06 18:07
salman kazi15-Nov-06 18:07 
QuestionFont Information Pin
Gupta Suraj14-Nov-06 8:10
Gupta Suraj14-Nov-06 8:10 
QuestionSpecialization Pin
Juan Antonio Bermejo14-Nov-06 6:15
Juan Antonio Bermejo14-Nov-06 6:15 
AnswerRe: Specialization Pin
Joaquín M López Muñoz18-Nov-06 4:26
Joaquín M López Muñoz18-Nov-06 4:26 
GeneralRe: Specialization Pin
Juan Antonio Bermejo19-Nov-06 20:44
Juan Antonio Bermejo19-Nov-06 20:44 
AnswerRe: Specialization Pin
Zac Howland20-Nov-06 5:45
Zac Howland20-Nov-06 5:45 
QuestionSubstitute of CComModule _Module in VC2005 Pin
tom groezer13-Nov-06 18:59
tom groezer13-Nov-06 18:59 

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.