[futurebasic] [FB^3] UltraLite runtime ??'s

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : June 2000 : Group Archive : Group : All Groups

From: "Brian J. Hughes" <BrianHughes@...>
Date: Mon, 5 Jun 2000 21:09:01 -0700
Since my project is a C to FB3 project and uses only ToolBox calls I 
thought I'd use the ultralite runtime.

I've run into a few problems, maybe someone who has used it can 
figure out what's wrong.

With the debugger on I get a number of errors due to missing functions:

I've found the missing functions in the file "Subs files.Incl"  In 
the runtime file I've found this include commented out.  When I 
remove the comment it creates even more errors.

I'm thinking maybe I should create a debug version of the file "Subs 
files.Incl" that includes only the functions required for the 
ultralite runtime file.

This second problem I figured out but if you want to read about it go ahead.

With the debugger off I get three errors:

Error: '_EXITFUNCTION' Unresolved...
Error: '_IDLERUNTIME' Unresolved...
Error: '_ENTERFUNCTION' Unresolved...

I've figured out that these are related to the runtime.  It 
apparently has to do with sidestepping certain debugging statements 
when the debugger it off.

After removing all my files from the project and figuring out where 
the error was generated, I found that I have two types of Local FN's 
that cause these errors:

Oops, I figured that one out.  For future reference I'll mention what I found.

I had a file with a good deal of new toolbox calls that I had to add. 
For certain reasons I won't go into here, I had put the file in the 
headers folder and accessed it with an include statement.

It seems that the compiler 'always' sidesteps code in the header files.

So moral: don't put your include files in the header folder unless 
you really intend to.

Brian Hughes