Illegal Instruction Workaround 
Author Message
 Illegal Instruction Workaround

To All,
A couple of weeks ago I stumbled into a problem wherein I was getting an
Illegal Instruction on a reproducible basis. Herewith is the scenario and the

In a multi-dll app, the main EXE calls a procedure in one DLL, which in turn
calls another procedure in a second DLL which then tries to open a window which
calls IniMgr.Fetch (because the Window Behavior checkbox to Save and Restore
window location is checked), at which time an Illegal Instruction occurs and
the application terminates.

The defining characteristic is that the second DLL is NOT declared as a DLL to
the main EXE (no procedures in the second DLL are called directly from the main
EXE). Once the second DLL is declared to the main EXE, the problem vanishes.

Hope this helps someone,

George Lehmann
Horizon Business Concepts (C5-ABC)

Sun, 05 Aug 2001 03:00:00 GMT  
 [ 1 post ] 

 Relevant Pages 

1. clipper & nt illegal instruction

2. Windows NT 3.5 Illegal Instruction

3. Any illegal instruction processing interrupts?

4. Illegal instructions

5. Why does this give illegal instruction?

6. Illegal instruction (core dumped)

7. drand : illegal instruction ???

8. Illegal Instruction on Mac OS X Intel

9. Illegal Instruction in Tcl_Eval()

10. 'after' causes illegal instruction errors

11. Workaround to "Debug gives illegal operation" post

12. Instruction Speed and instruction availability


Powered by phpBB® Forum Software