
"Function address" problem
|> HELP!!! I get this message when I compile a program and then run it:
|>
|> Illegal function address call in module TEXT at address 0F23:0806
|> Hit any key to return to system.
|>
|> "Text" is the name of the EXE. I am using QB 4.5 and it works fine
|> running the BAS... it doesn't work fine running the EXE.
This is an educated guess. This error message indicates memory
corruption. Memory corruption results from writing data over
a memory address where it shouldn't be writing, such as in the
Interrupt vector table, or a code segment.
The kinds of keywords that can result in memory corruption (when
misused) are: POKE, BLOAD, DEF SEG, and such like. Are you
using assembler routines anywhere? They are a prime suspect.
A possible reason why your program runs in the IDE, but not
as an EXE, is that in the IDE it is overwriting a different
portion of memory that does not cause the error to occur.
--
Brian McLaughlin, Technical Writer |"Thanks to the Internet, misinformation
Integrated Measurement Systems, Inc.| now travels faster than ever before!"
Beaverton, OR, USA | ---- Standard disclaimer applies ----