Dear Sirs,
Who may explain me a weird thing? I build a program with VC++ 5.0 under NT
4.0 WS. In NT environment it works just fine. When I try to invoke it in W95
environment it crashes with a message like "Microsoft Visual C++ exception...
Run-time library error." When I debug it, I discover that LoadIcon function
returns NULL %-( (in NT it's OK) and a subsequent "throw" leads to an
internal library exception instead of branching to "catch" clause... (in NT
it's OK as well).
What the hell with it?! The code is absolutely identical and MUST work but
it DOES NOT.
Sincerely,
Vadim Maksimenko.
---
---------------
* Origin: Operational Service Department of Police (2:471/100)
|