Click here to Skip to main content
16,005,121 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: How do you know if a control is clicked Pin
Alex Taylor30-Aug-01 14:56
Alex Taylor30-Aug-01 14:56 
GeneralChange color of the Form Pin
JekYu30-Aug-01 14:03
JekYu30-Aug-01 14:03 
GeneralRe: Change color of the Form Pin
Alex Taylor30-Aug-01 14:51
Alex Taylor30-Aug-01 14:51 
GeneralRe: Change color of the Form Pin
JekYu30-Aug-01 15:02
JekYu30-Aug-01 15:02 
GeneralRe: Change color of the Form Pin
Alex Taylor30-Aug-01 15:12
Alex Taylor30-Aug-01 15:12 
GeneralRe: Change color of the Form Pin
JekYu30-Aug-01 20:06
JekYu30-Aug-01 20:06 
GeneralRe: Change color of the Form Pin
Richard Stringer31-Aug-01 12:31
Richard Stringer31-Aug-01 12:31 
GeneralRelease build. Pin
John Uhlenbrock30-Aug-01 14:03
John Uhlenbrock30-Aug-01 14:03 
I posted a message HERE a few days ago, but I have been unable to figure out a solution. I was hoping maybe you GURU's may have some helpful thoughts. The basic situation is as follows...

I have SDI formview based app. It runs fine when compiled in debug mode, and compiles fine in release mode. However, the release version, crashes before reaching the first line of CMyApp::InitInstance() when I attempt to run it. Turning off optimizations doesn't help and I am out of ideas on what to try next.

When I attempt to run to cursor on the first line of InitInstance, the debugger stops in "\Mfc\Src\Appmodul.cpp" on the following function.
extern "C" int WINAPI
_tWinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPTSTR lpCmdLine, int nCmdShow)
{/* <---------------- IT STOPS HERE*/
  // call shared/exported WinMain
  return AfxWinMain(hInstance, hPrevInstance, lpCmdLine, nCmdShow);
}

When I press I run after that it pops up "Unhandled exception in MyApp.exe: 0x0000005: Access Violation", and the debug window, after I stop debugging, shows "First-chance exception in LU.exe (KERNEL32.DLL): 0xC0000005: Access Violation."

Any ideas, thoughts would be greatly appreciated.
- John
GeneralRe: Release build. Pin
Tomasz Sowinski30-Aug-01 23:23
Tomasz Sowinski30-Aug-01 23:23 
GeneralRe: Release build. Pin
John Uhlenbrock31-Aug-01 10:30
John Uhlenbrock31-Aug-01 10:30 
GeneralRe: Release build. Pin
Mukkie31-Aug-01 6:11
Mukkie31-Aug-01 6:11 
GeneralRe: Release build. Pin
John Uhlenbrock4-Sep-01 4:57
John Uhlenbrock4-Sep-01 4:57 
GeneralRe: Release build. Pin
Tim Deveaux31-Aug-01 8:15
Tim Deveaux31-Aug-01 8:15 
GeneralRe: Release build. Pin
John Uhlenbrock4-Sep-01 4:59
John Uhlenbrock4-Sep-01 4:59 
GeneralRe: All. Pin
John Uhlenbrock31-Aug-01 10:45
John Uhlenbrock31-Aug-01 10:45 
GeneralRe: All. Pin
Tim Deveaux31-Aug-01 14:33
Tim Deveaux31-Aug-01 14:33 
GeneralRe: All. Pin
John Uhlenbrock4-Sep-01 4:50
John Uhlenbrock4-Sep-01 4:50 
GeneralRe: All. Pin
Tim Deveaux4-Sep-01 13:40
Tim Deveaux4-Sep-01 13:40 
GeneralRe: All, solution...fix...whatever. Pin
John Uhlenbrock4-Sep-01 13:46
John Uhlenbrock4-Sep-01 13:46 
GeneralRe: All, solution...fix...whatever. Pin
Tim Deveaux4-Sep-01 14:03
Tim Deveaux4-Sep-01 14:03 
GeneralMultiple Document Extensions Pin
Frank Deo30-Aug-01 13:49
Frank Deo30-Aug-01 13:49 
GeneralRe: Multiple Document Extensions Pin
Ben Burnett30-Aug-01 15:04
Ben Burnett30-Aug-01 15:04 
GeneralRe: Multiple Document Extensions Pin
Frank Deo30-Aug-01 15:53
Frank Deo30-Aug-01 15:53 
Questioncreating/changing icons? Pin
30-Aug-01 12:19
suss30-Aug-01 12:19 
AnswerRe: creating/changing icons? Pin
Paolo Messina30-Aug-01 23:57
professionalPaolo Messina30-Aug-01 23: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.