Click here to Skip to main content
12,621,302 members (28,691 online)

ATL / WTL / STL

 
AnswerRe: copying AAComBSTR to BYTE Pin
hacker240union23-Nov-12 0:27
memberhacker240union23-Nov-12 0:27 
QuestionC++ Delegate/Events Pin
Edward G Dana14-Nov-12 18:15
memberEdward G Dana14-Nov-12 18:15 
AnswerRe: C++ Delegate/Events Pin
Richard MacCutchan14-Nov-12 21:57
mvpRichard MacCutchan14-Nov-12 21:57 
GeneralRe: C++ Delegate/Events Pin
Edward G Dana15-Nov-12 14:35
memberEdward G Dana15-Nov-12 14:35 
GeneralRe: C++ Delegate/Events Pin
Richard MacCutchan16-Nov-12 0:45
mvpRichard MacCutchan16-Nov-12 0:45 
AnswerRe: C++ Delegate/Events Pin
pasztorpisti20-Nov-12 3:53
memberpasztorpisti20-Nov-12 3:53 
GeneralRe: C++ Delegate/Events Pin
EDanaII20-Nov-12 17:23
memberEDanaII20-Nov-12 17:23 
QuestionReturn FALSE in InitInstance causes crash in 64Bits Pin
khaliloenit8-Nov-12 2:01
memberkhaliloenit8-Nov-12 2:01 
I have an executable compiled with x64 configuration.
I need to test it on Windows 7 64 bits.
when I run it, it crash when I return FALSE in InitInstance function.
BOOL CMyApp::InitInstance()
{
    if (IsAppAlreadyStarted())
        return FALSE;
 
    InitCommonControls();
 
    CWinApp::InitInstance();
 
    // Initialize OLE libraries
    if (!AfxOleInit())
    {
        AfxMessageBox(IDP_OLE_INIT_FAILED);
        return FALSE;
    }
    AfxEnableControlContainer();
 
    if(!CheckModule())
    {
        return FALSE; // after call application crash
    }
}

when it is compiled with x32bits configuration and run on Windows 7 x64 there is no probleme.
Just when it is compiled with x64.

any help please?
AnswerRe: Return FALSE in InitInstance causes crash in 64Bits Pin
Albert Holguin10-Dec-12 5:30
memberAlbert Holguin10-Dec-12 5:30 
QuestionHow to get used dll's path information programetically? Pin
litu kumar6-Nov-12 20:38
memberlitu kumar6-Nov-12 20:38 
AnswerRe: How to get used dll's path information programetically? Pin
Richard MacCutchan6-Nov-12 22:40
mvpRichard MacCutchan6-Nov-12 22:40 
GeneralRe: How to get used dll's path information programetically? Pin
litu kumar7-Nov-12 0:27
memberlitu kumar7-Nov-12 0:27 
GeneralRe: How to get used dll's path information programetically? Pin
Richard MacCutchan7-Nov-12 5:54
mvpRichard MacCutchan7-Nov-12 5:54 
GeneralRe: How to get used dll's path information programetically? Pin
litu kumar7-Nov-12 18:11
memberlitu kumar7-Nov-12 18:11 
GeneralRe: How to get used dll's path information programetically? Pin
Richard MacCutchan7-Nov-12 22:34
mvpRichard MacCutchan7-Nov-12 22:34 
GeneralRe: How to get used dll's path information programetically? Pin
litu kumar7-Nov-12 23:35
memberlitu kumar7-Nov-12 23:35 
GeneralRe: How to get used dll's path information programetically? Pin
Richard MacCutchan8-Nov-12 1:16
mvpRichard MacCutchan8-Nov-12 1:16 
GeneralRe: How to get used dll's path information programetically? Pin
litu kumar8-Nov-12 3:58
memberlitu kumar8-Nov-12 3:58 
GeneralRe: How to get used dll's path information programetically? Pin
Richard MacCutchan8-Nov-12 5:03
mvpRichard MacCutchan8-Nov-12 5:03 
GeneralRe: How to get used dll's path information programetically? Pin
litu kumar15-Nov-12 20:53
memberlitu kumar15-Nov-12 20:53 
GeneralRe: How to get used dll's path information programetically? Pin
Richard MacCutchan16-Nov-12 0:50
mvpRichard MacCutchan16-Nov-12 0:50 
AnswerRe: How to get used dll's path information programetically? Pin
hacker240union23-Nov-12 0:41
memberhacker240union23-Nov-12 0:41 
Questiondetect close event with CAsyncSocket Pin
bkelly135-Nov-12 11:32
memberbkelly135-Nov-12 11:32 
QuestionIntermediate GUI Techniques Pin
bkelly132-Nov-12 4:21
memberbkelly132-Nov-12 4:21 
AnswerRe: Intermediate GUI Techniques Pin
Richard MacCutchan2-Nov-12 7:20
mvpRichard MacCutchan2-Nov-12 7:20 

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.


Advertise | Privacy | Mobile
Web02 | 2.8.161128.1 | Last Updated 30 Jul 2016
Copyright © CodeProject, 1999-2016
All Rights Reserved. Terms of Service
Layout: fixed | fluid