Hello experts !!!
I try to translate a WIN16-application written with MSVC++ v1.52 into a WIN32-application using the new MSVC++ 5.0 compiler.
The windows-part of my application is rather simple and uses the WIN SDK functions. No MFC.
I took the 16bit code and replaced the unknown 16bit-SDK functions with the complying 32bit-functions.
After some more small changes I succeeded in compiling the source code with no warnings or errors.
The application works fine, until I open a dialog box or
a MessageBox. Then sometimes but not always the program stops with an exception.
In the debug window of MSVC++ 5.0 I get the error message
First-chance exception in tickbase.exe (KERNEL32.DLL): 0xC0000005: Access Violation.
In 16bit I never had any problems with my dialog boxes.
Has someone else encountered a similar problem and can give me a hint how I can handle it.
Thanks in advance