Click here to Skip to main content
       

ATL / WTL / STL

 
GeneralRe: CAsyncSocket Send( arguments ) Pinmemberbkelly1319-Sep-12 12:13 
AnswerRe: CAsyncSocket Send( arguments ) Pinmemberpasztorpisti29-Sep-12 23:52 
GeneralRe: CAsyncSocket Send( arguments ) PinmvpRichard MacCutchan30-Sep-12 1:07 
GeneralRe: CAsyncSocket Send( arguments ) Pinmemberpasztorpisti30-Sep-12 3:16 
GeneralRe: CAsyncSocket Send( arguments ) PinmvpRichard MacCutchan30-Sep-12 4:00 
GeneralRe: CAsyncSocket Send( arguments ) Pinmemberpasztorpisti30-Sep-12 4:07 
GeneralRe: CAsyncSocket Send( arguments ) Pinmemberpasztorpisti30-Sep-12 4:03 
GeneralRe: CAsyncSocket Send( arguments ) PinmvpRichard MacCutchan30-Sep-12 4:13 
GeneralRe: CAsyncSocket Send( arguments ) Pinmemberbkelly1330-Sep-12 5:44 
GeneralRe: CAsyncSocket Send( arguments ) PinmvpRichard MacCutchan30-Sep-12 6:10 
GeneralRe: CAsyncSocket Send( arguments ) Pinmemberpasztorpisti30-Sep-12 6:38 
GeneralRe: CAsyncSocket Send( arguments ) [modified] Pinmemberbkelly1330-Sep-12 6:16 
GeneralRe: CAsyncSocket Send( arguments ) [modified] Pinmemberpasztorpisti30-Sep-12 6:31 
Questionget instance of object (in exe) from dll caller Pinmemberkhaliloenit17-Sep-12 4:38 
Hello,
 
I have an application exe and COM dll.
 
- In Exe I have like this :
class CMyExeApp : public CWinApp
{
...
public:
	CMyObject * m_pMyObject;
public:
	virtual BOOL InitInstance();
....
}
extern CMyExeApp theApp;
 
All works fine between the Exe and the COM dll.
 
What I need is to get the instance of Class CMyExeApp (theApp) to get the reference to m_pMyObject IN THE DLL
 
I tried this in Dll :
HMODULE hModule = GetModuleHandle(CURRENT_EXE_NAME);

but i didn't know what i do after
 
any help please Smile | :)
AnswerRe: get instance of object (in exe) from dll caller Pinmemberpasztorpisti17-Sep-12 6:57 
GeneralRe: get instance of object (in exe) from dll caller Pinmemberkhaliloenit17-Sep-12 9:32 
JokeRe: get instance of object (in exe) from dll caller Pinmemberpasztorpisti17-Sep-12 13:43 
GeneralRe: get instance of object (in exe) from dll caller Pinmemberpasztorpisti17-Sep-12 13:48 
AnswerRe: get instance of object (in exe) from dll caller PinmvpRichard MacCutchan17-Sep-12 22:16 
AnswerRe: get instance of object (in exe) from dll caller PinmemberStephen Hewitt18-Sep-12 18:49 
QuestionCAsyncSocket Connect says in use Pinmemberbkelly1316-Sep-12 6:07 
Answerunexpected behavior [modified] Pinmemberbkelly1316-Sep-12 10:07 
AnswerRe: CAsyncSocket Connect says in use PinmemberRichard Andrew x6416-Sep-12 11:53 
AnswerRe: CAsyncSocket Connect says in use Pinmemberpasztorpisti16-Sep-12 12:05 
GeneralRe: CAsyncSocket Connect says in use Pinmemberbkelly1316-Sep-12 12:55 
GeneralRe: CAsyncSocket Connect says in use Pinmemberpasztorpisti16-Sep-12 13:09 
GeneralRe: CAsyncSocket Connect says in use Pinmemberbkelly1316-Sep-12 13:17 
GeneralRe: CAsyncSocket Connect says in use Pinmemberpasztorpisti16-Sep-12 13:34 
GeneralRe: CAsyncSocket Connect says in use [modified] Pinmemberbkelly1316-Sep-12 14:07 
Questionbetter version of strcpy() and printf() Pinmemberbkelly1315-Sep-12 10:02 
AnswerRe: better version of strcpy() and printf() PinmentorPaul Watt15-Sep-12 12:33 
GeneralRe: better version of strcpy() and printf() Pinmemberbkelly1315-Sep-12 15:34 
GeneralRe: better version of strcpy() and printf() PinmentorPaul Watt15-Sep-12 15:45 
GeneralRe: better version of strcpy() and printf() Pinmemberbkelly1315-Sep-12 16:23 
GeneralRe: better version of strcpy() and printf() Pinmemberpasztorpisti16-Sep-12 6:54 
GeneralRe: better version of strcpy() and printf() PinmvpRichard MacCutchan16-Sep-12 0:10 
AnswerRe: better version of strcpy() and printf() PinmemberRichard Andrew x6415-Sep-12 17:01 
AnswerRe: better version of strcpy() and printf() PinmvpRichard MacCutchan16-Sep-12 0:09 
AnswerRe: better version of strcpy() and printf() Pinmemberpasztorpisti16-Sep-12 1:37 
AnswerRe: better version of strcpy() and printf() PinmemberStephen Hewitt18-Sep-12 0:29 
Questionget a number into static text control Pinmemberbkelly1313-Sep-12 17:05 
AnswerRe: get a number into static text control PinmvpRichard MacCutchan13-Sep-12 21:52 
GeneralRe: get a number into static text control Pinmemberbkelly1314-Sep-12 15:00 
GeneralRe: get a number into static text control PinmentorPaul Watt14-Sep-12 15:36 
GeneralRe: get a number into static text control PinmvpRichard MacCutchan14-Sep-12 23:02 
GeneralRe: get a number into static text control Pinmemberbkelly1315-Sep-12 5:14 
GeneralRe: get a number into static text control PinmvpRichard MacCutchan15-Sep-12 5:42 
QuestionMirroring system imagelist Pinmemberhuzifa3011-Sep-12 15:27 
QuestionCAsyncSocket, first application [modified] Pinmemberbkelly139-Sep-12 5:26 
AnswerRe: CAsyncSocket, first application PinmentorPaul Watt14-Sep-12 15:47 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.


Advertise | Privacy | Mobile
Web04 | 2.8.140721.1 | Last Updated 15 Jul 2014
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid