Hi Pete,
My piece of global code is using the HWND normally passed to WinProc; it uses it to perform a SetWindowLong for a structure.
When I pass the result of AfxGetMainWnd to the code it crashes, am I using the wrong routine to get the HWND?
The application is SDI.
Thanks
Barry
My piece of global code is using the HWND normally passed to WinProc; it uses it to perform a SetWindowLong for a structure.
When I pass the result of AfxGetMainWnd to the code it crashes, am I using the wrong routine to get the HWND?
The application is SDI.
Thanks
Barry