` Illegal Instruction problem and a fix (C5) (George Lehmann) - Icetips Article
Icetips - Templates, Tools & Utilities for Clarion Developers

Templates, Tools and Utilities
for Clarion Developers

Icetips Article

Back to article list   Search Articles     Add Comment     Printer friendly     Direct link  

ABC: Illegal Instruction problem and a fix (C5)
1999-02-16 -- George Lehmann
 
Newsgroups: topspeed.products.c5ee.bugs 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 cure: 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, 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. Once the second DLL is declared in the main EXE, the problem vanishes. Hope this helps someone, George Lehmann


Today is April 24, 2024, 12:17 am
This article has been viewed 35115 times.
Google search has resulted in 28 hits on this article since January 25, 2004.



Back to article list   Search Articles   Add Comment   Printer friendly

Login

User Name:

Password: