• Welcome to PlanetSquires Forums.
 

%USEOBJECTFRAMEWORK

Started by Heinz Grandjean, August 14, 2015, 02:07:27 PM

Previous topic - Next topic

Heinz Grandjean

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

 

Paul Squires

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.

Paul Squires
PlanetSquires Software
WinFBE Editor and Visual Designer

Heinz Grandjean

Thank you, Paul.
Problem solved.

Heinz Grandjean