PlanetSquires Forums

Support Forums => Other Software and Code => Topic started by: Heinz Grandjean on August 14, 2015, 02:37:27 PM

Title: %USEOBJECTFRAMEWORK
Post by: Heinz Grandjean on August 14, 2015, 02:37:27 PM
Hello!

In CodeGen_MyApp_Main.bas  the following line (suddenly????) appears:
%USEOBJECTFRAMEWORK = %TRUE

#IF %DEF(%USEOBJECTFRAMEWORK)
   GLOBAL AppFormsClass AS iAppForms
#ENDIF 


I get error: "UNDEFINED TYPE":  iAppForms
I think the Problem is the Definition-line.
That line doesn't appear in other apps built with FF 3.74.
I really don't know where to seek for the error.
Help would be appreciated.

Thank you,
Heinz Grandjean

 
Title: Re: %USEOBJECTFRAMEWORK
Post by: Paul Squires on August 14, 2015, 06:24:49 PM
Open your project file (Myapp.ffp) and search for the following line:

UseObjectFramework=0

Make sure that it is set to 0 and not 1.

The object framework has been removed from FireFly but I have not totally removed the code generation of some equates so if that setting is set to true in the project file then there could be problems.

Title: Re: %USEOBJECTFRAMEWORK
Post by: Heinz Grandjean on August 15, 2015, 04:31:57 AM
Thank you, Paul.
Problem solved.

Heinz Grandjean