[[https://www.revelation.com/|Sign up on the Revelation Software website to have access to the most current content, and to be able to ask questions and get answers from the Revelation community]] ==== ENG0800: The C calling convention does not allow a fewer number of parameters. (OpenInsight Specific) ==== === At 29 OCT 1997 08:51:45PM Alex Cruise Eloquent wrote: === {{tag>"OpenInsight Specific"}} 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. ---- === At 30 OCT 1997 08:38AM Cameron Revelation wrote: === Alex, What does the program stack window show in the debugger when you get this error? Cameron. Revelation ---- === At 30 OCT 1997 01:32PM Alex Cruise Eloquent wrote: === 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. ---- === At 31 OCT 1997 07:29PM Alex Cruise Eloquent wrote: === 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. [[https://www.revelation.com/revweb/oecgi4p.php/O4W_HANDOFF?DESTN=O4W_RUN_FORM&INQID=NONWORKS_READ&SUMMARY=1&KEY=2251C27CF237ADCB852565400004BD03|View this thread on the forum...]]