Project built with BETA will not compile in 3.70

Started by Mark Strickland, November 04, 2013, 04:03:06 PM

Previous topic - Next topic

Mark Strickland

I just upgraded to 3.7 and I am trying to use a project I built in the Beta and I am getting this error.  Since it was built from scratch in the beta I cannot go back and the beta version of FF has expired.

I tried deleting all of the CODEGEN files just in case they were not regenerated.

This is a production version of a little program I built and I am now stuck.  Any thoughts?


Mark Strickland, CISSP, CEH
www.SimplyBASICsoftware.com

Carl Oligny

Not sure if this is related to your problem, but I think it is worth a look:

See:

http://www.planetsquires.com/protect/forum/index.php?topic=3416.msg24830#msg24830

From post
:
Hi Steven, right you are. Looks like the ObjectFramework is being set to TRUE for new projects when a FireFly.ini does not yet exist. You can manually edit your project's *.ffp file and change the line:

From:
UseObjectFramework=1

To:
UseObjectFramework=0


Mark Strickland

Well .... I was hopeful but this was not the fix.

It was already set to 1.  I tried changing it to 0 and I do get a different error (the references to the handles are not defined).  I set it back to 1 and get the same error.

Thanks for the try .... and it is probably somehow related.
Mark Strickland, CISSP, CEH
www.SimplyBASICsoftware.com

Mark Strickland

My temporary fix was to turn off ObjectFramework (0) and fix all of the references.  It now works but it would be interesting to know why (although this is the only project I had in play using the Beta).

Mark Strickland, CISSP, CEH
www.SimplyBASICsoftware.com

David Kenny

Mark,

You also upgraded Jose's include files.  They include corrected typo's.
FF has embeded code that it puts in the codegen files that includes the typo.
Notice the misspelling, on your error dialog, of the word "Right" in "Edit_GetRight_Margin".

You can use the older include files that contain the typo's until Paul releases the fix.

The reason turning off the object framework worked is because the that particular source code typo is in the object framework.

David

Paul Squires

The object framework will not be available until FireFly 4. The code in the beta is quite different than the current object framework. It was feedback from users of the beta that allowed me to create a much better version of the framework.

Jose's latest Include files contained the spelling error fix. Of course, the beta was built on the includes that had the spelling mistake. The beta expired Oct 31, 2013.
Paul Squires
PlanetSquires Software

Mark Strickland

Paul,

Thanks for the feedback.  And it was "my bad" to try and build something "live" on a beta version.

I am good now and I am glad YOU are thinking about V4 of FF.

Mark
Mark Strickland, CISSP, CEH
www.SimplyBASICsoftware.com