"Function address" problem 
Author Message
 "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.  I have only
run this in a DOS under Windows 95.  ANY help would be appreciated.

---------------------------------------

Life is like a box of chocolates.
When you open it up you find
that people have been TAKING
BITES OUTTA THEM AND
IT'S WORM INFESTED!!!!!!!

---------------------------------------



Fri, 01 Dec 2000 03:00:00 GMT  
 "Function address" problem

Quote:
>  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.  I have only
> run this in a DOS under Windows 95.  ANY help would be appreciated.

Is this a Win95 Error message? If so, reboot to MS-DOS (Press F8 on
boot up) and try again.

Simon.



Mon, 04 Dec 2000 03:00:00 GMT  
 "Function address" problem

Quote:

>>  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.  I have only
>> run this in a DOS under Windows 95.  ANY help would be appreciated.

>Is this a Win95 Error message? If so, reboot to MS-DOS (Press F8 on
>boot up) and try again.

No, an error message like that is caused by QB...
If the source code runs fine in the QB IDE, you can't get this error
(at least not of what i know). Such error is, as it says, and Ilegal
Function Call (error 5 in the QB IDE) is caused by for example if
you try to PUT off the screen, and in that case, QB won't compile
it, nor if you do it from the command line.

- Thomas Dauaard
    ICQ # 4033867

Quote:

>Simon.



Mon, 04 Dec 2000 03:00:00 GMT  
 "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 ----



Mon, 04 Dec 2000 03:00:00 GMT  
 "Function address" problem

Quote:

>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.

>SNIP SNIP SNIP

I don't know why, have you got DOS 5.1 installed? I had a similar
problem with a program called TEXT although I have no idea why.
Maybe try calling it something different or change your DOS box Mem
settings.

Marc Brooker.

__________________________________________________



Tue, 05 Dec 2000 03:00:00 GMT  
 
 [ 5 post ] 

 Relevant Pages 

1. Winsock "Address in Use" problems

2. Problem With "window.showmodaldialog("")"

3. DatePart Function "yy" problem

4. Problems regarding "Round" function

5. I have problem using function "Shell"

6. Problems with the "Now" function

7. Problems with "DIR" function

8. Problem with "Open" function

9. problems with mySQL "floor/ceiling" function

10. "Pure Virtual Function Call" Problem

11. Problem with "Open" function

12. Problem with "Open" function

 

 
Powered by phpBB® Forum Software