TIP: Click on subject to list as thread! ANSI
echo: c_plusplus
to: ALL
from: BALOG PAL
date: 1997-06-08 05:53:00
subject: MSVC 4.0 build bug

Microsoft Visual C 4.0 Professional
If you create a project with appwizard defaults (incremental link & build),
count on the following:
1) Build the project.
2) Place construction-sensitive object in the global space. Eg.
   CString foo("Bar");
3) Build rormal and execute.
Doing that I get az "illegal instruction" crash during the initialisation.
The table that holds addresses for ctors needed to call is not handled
properly on that circumstances, and the program will jumt to random address
instead of the ctor for CString.
Doing a "rebuild all" removes the problem.
Paul
... Iraqi Bingo: B-52...F-16...M-1...F-18...F-117...A-10...
--- OS/2 Warp
---------------
* Origin: The FlintStones' Cave in BedRock (2:371/20)

SOURCE: echomail via exec-pc

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.