I'm getting this error again in attempting to call one of my "hook" routines from a window. This routine has nothing to do with DLL's in the slightest…
Offhand, does anyone know where this sucker might be originating from? Last time it happened I did the old wave-a-dead-chicken-over-it routine and it behaved, but I'm too tired to try that again.
Alex,
What does the program stack window show in the debugger when you get this error?
Cameron. Revelation
The lineage of the program having this error is: (In reverse)
RUN_EVENT
$$$appid*CLICK*AC_LAUNCHER.CMDRESEARCH
(A window which "launches" everything else)OI_TEMPSEARCH
(The program that generates and runs search windows)START_WINDOW
RUN_EVENT
$$$GENCAT*CREATE*TS.
(The generic CREATE event (borrowed from a "real" window) that I've plugged into all search windows. It's about to call my "hook" routine when it dies.)This has worked very well in the past… I'm confused.
I decided to go through my routine with a *very* fine-toothed comb and found a superfluous "next" statement… Unfortunately the compiler wasn't catching it, and was producing crazed object code.