Windows the hard way
I attempted to enter the program in chapter 7. I was able to compile and link the code but receive a :
First-chance exception in OFWIN.exe (USER32.DLL): 0xC0000005: Access Violation.
The program 'C:\Program Files\Microsoft Visual Studio\MyProjects\OFWIN\Debug\OFWIN.exe' has exited with code 0 (0x0).
when the program tries to execute the:
RegisterClass(&WindowClass);
line. Does anyone know how I can fix this?
|