Click here to Skip to main content
15,877,103 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionWin32 Buttons, which is which? [solved] Pin
Groulien7-Jun-11 8:56
Groulien7-Jun-11 8:56 
AnswerRe: Win32 Buttons, which is which? [solved] Pin
Albert Holguin7-Jun-11 14:34
professionalAlbert Holguin7-Jun-11 14:34 
AnswerRe: Win32 Buttons, which is which? [solved] Pin
Tarmo Kalda9-Jun-11 0:03
Tarmo Kalda9-Jun-11 0:03 
QuestionHelp with reading Window titles and text in C sharp Pin
turbosupramk37-Jun-11 4:56
turbosupramk37-Jun-11 4:56 
AnswerRe: Help with reading Window titles and text in C sharp Pin
Albert Holguin7-Jun-11 5:36
professionalAlbert Holguin7-Jun-11 5:36 
GeneralRe: Help with reading Window titles and text in C sharp Pin
turbosupramk37-Jun-11 6:13
turbosupramk37-Jun-11 6:13 
GeneralRe: Help with reading Window titles and text in C sharp Pin
Albert Holguin7-Jun-11 6:23
professionalAlbert Holguin7-Jun-11 6:23 
QuestionLoadInstanceString failed in Windows7 Operating System. Pin
janaswamy uday7-Jun-11 0:10
janaswamy uday7-Jun-11 0:10 
AnswerRe: LoadInstanceString failed in Windows7 Operating System. Pin
Richard MacCutchan7-Jun-11 0:21
mveRichard MacCutchan7-Jun-11 0:21 
GeneralRe: LoadString failed in Windows7 Operating System. [modified] Pin
janaswamy uday7-Jun-11 0:42
janaswamy uday7-Jun-11 0:42 
GeneralRe: LoadString failed in Windows7 Operating System. Pin
giangian7-Jun-11 0:50
giangian7-Jun-11 0:50 
GeneralRe: LoadString failed in Windows7 Operating System. Pin
janaswamy uday7-Jun-11 0:57
janaswamy uday7-Jun-11 0:57 
QuestionRe: LoadString failed in Windows7 Operating System. Pin
David Crow7-Jun-11 2:52
David Crow7-Jun-11 2:52 
GeneralRe: LoadString failed in Windows7 Operating System. Pin
Richard MacCutchan7-Jun-11 0:57
mveRichard MacCutchan7-Jun-11 0:57 
GeneralRe: LoadString failed in Windows7 Operating System. Pin
Richard MacCutchan7-Jun-11 0:59
mveRichard MacCutchan7-Jun-11 0:59 
QuestionC++ Question Pin
Software20076-Jun-11 17:18
Software20076-Jun-11 17:18 
AnswerRe: C++ Question Pin
Niklas L7-Jun-11 2:00
Niklas L7-Jun-11 2:00 
GeneralRe: C++ Question Pin
Stefan_Lang7-Jun-11 2:05
Stefan_Lang7-Jun-11 2:05 
GeneralRe: C++ Question Pin
Niklas L7-Jun-11 2:26
Niklas L7-Jun-11 2:26 
AnswerRe: C++ Question Pin
Stefan_Lang7-Jun-11 2:00
Stefan_Lang7-Jun-11 2:00 
GeneralRe: C++ Question Pin
Software20077-Jun-11 5:03
Software20077-Jun-11 5:03 
QuestionMiddleware/CORBA Data Field Inheritance Pin
rkeeler786-Jun-11 13:11
rkeeler786-Jun-11 13:11 
QuestionSuddenly Exe is not running Pin
pix_programmer6-Jun-11 2:16
pix_programmer6-Jun-11 2:16 
Hi!
I've developed a MFC application. It was running fine. Suddenl it stopped running. I didn't change any code. I could not run setup file and from IDE as

well. If I try to run in release mode:

'flash_mfc.exe': Loaded 'C:\WINDOWS\WinSxS\x86_Microsoft.VC90.MFCLOC_1fc8b3b9a1e18e3b_9.0.30729.4148_x-ww_15fc9313\mfc90enu.dll',

Binary was not built with debug information.

is displayed in the output window.


If I run in debug mode, application crashes and breaks at

ASSERT(IsWindow(pTemp->m_hWnd));

in the file occcont.cpp.

CreateDlgControls failed during dialog init. Detected memory leaks!

CoCreateInstance of OLE control {D27CDB6E-AE6D-11CF-96B8-444553540000} failed.
Result code: 0x80040154
Is the control is properly registered?

is displayed in the output window. Why it has happened suddenly(without no change in code)? Is this due to ServicePack? I 'm developing using Visual

Studio 2008 under Windows XP. The same project output runs fine at target systems. Here's the debug CallStack:

> mfc90ud.dll!COleControlContainer::FillListSitesOrWnds(_AFX_OCC_DIALOG_INFO * pOccDlgInfo=0x0012f7dc) Line 926 + 0x23

bytes
mfc90ud.dll!COccManager::CreateDlgControls(CWnd * pWndParent=0x0012fabc, const wchar_t * lpszResourceName=0x00000088,

_AFX_OCC_DIALOG_INFO * pOccDlgInfo=0x0012f7dc) Line 413
mfc90ud.dll!CDialog::HandleInitDialog(unsigned int __formal=853834, unsigned int __formal=853834) Line 661 + 0x1f bytes
mfc90ud.dll!CWnd::OnWndMsg(unsigned int message=272, unsigned int wParam=853834, long lParam=0, long * pResult=0x0012f49c)

Line 2018 + 0x11 bytes
mfc90ud.dll!CWnd::WindowProc(unsigned int message=272, unsigned int wParam=853834, long lParam=0) Line 1755 + 0x20 bytes


mfc90ud.dll!AfxCallWndProc(CWnd * pWnd=0x0012fabc, HWND__ * hWnd=0x000d074a, unsigned int nMsg=272, unsigned int

wParam=853834, long lParam=0) Line 240 + 0x1c bytes
mfc90ud.dll!AfxWndProc(HWND__ * hWnd=0x000d074a, unsigned int nMsg=272, unsigned int wParam=853834, long lParam=0) Line

403
mfc90ud.dll!AfxWndProcBase(HWND__ * hWnd=0x000d074a, unsigned int nMsg=272, unsigned int wParam=853834, long lParam=0)

Line 441 + 0x15 bytes
user32.dll!7e418734()
[Frames below may be incorrect and/or missing, no symbols loaded for user32.dll]
user32.dll!7e418816()
user32.dll!7e42927b()
user32.dll!7e42651a()
user32.dll!7e42683e()
user32.dll!7e43f03a()
mfc90ud.dll!CWnd::CreateDlgIndirect(const DLGTEMPLATE * lpDialogTemplate=0x0016d820, CWnd * pParentWnd=0x00000000,

HINSTANCE__ * hInst=0x00400000) Line 312 + 0x2a bytes
mfc90ud.dll!CDialog::DoModal() Line 576 + 0x20 bytes
flash_mfc.exe!Cflash_mfcApp::InitInstance() Line 194 + 0xb bytes
mfc90ud.dll!AfxWinMain(HINSTANCE__ * hInstance=0x00400000, HINSTANCE__ * hPrevInstance=0x00000000, wchar_t *

lpCmdLine=0x00020846, int nCmdShow=1) Line 37 + 0xd bytes
flash_mfc.exe!wWinMain(HINSTANCE__ * hInstance=0x00400000, HINSTANCE__ * hPrevInstance=0x00000000, wchar_t *

lpCmdLine=0x00020846, int nCmdShow=1) Line 34
flash_mfc.exe!__tmainCRTStartup() Line 578 + 0x35 bytes
flash_mfc.exe!wWinMainCRTStartup() Line 403
kernel32.dll!7c817077()

What to do to run the project at my system?
AnswerRe: Suddenly Exe is not running Pin
Alan Balkany6-Jun-11 9:21
Alan Balkany6-Jun-11 9:21 
AnswerRe: Suddenly Exe is not running Pin
Stefan_Lang7-Jun-11 2:17
Stefan_Lang7-Jun-11 2:17 

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.