Firefly 1.08 update

Started by fraser-portwood, October 22, 2004, 10:22:24 AM

Previous topic - Next topic

fraser-portwood

Hello Paul

Have just downloaded and unpacked the update, loaded up the tabcontrol sample and run it, ffengine crashed with a Fatal Error on my Windows 98 PC. The Fatal Crash caused havoc with the PC so I had to restart, loaded the application and toolbar sample, this time run no problem.

However if I add a control to any sample or even create a new application and then try to remove the result is allways the same, FATAL ERROR, in the FFengine, this is the returned error

FFENGINE caused an exception 01H in module FFENGINE.EXE at 017f:00000000.
Registers:
EAX=00000000 CS=017f EIP=00000000 EFLGS=00200286
EBX=007bf1fc SS=0187 ESP=007bf11c EBP=007bf28c
ECX=00424d6f DS=0187 ESI=00000000 FS=4c4f
EDX=80008fb0 ES=0187 EDI=00000000 GS=0000
Bytes at CS:EIP:
00 00 00 00 65 04 70 00 16 00 f4 09 65 04 70 00
Stack dump:
00424d6f 00000b80 00000082 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000

Went back to Firefly 1.07 and I have no such problems, unpacked the 1.08 to a complete new Folder, result is the same.

Fraser Portwood

TechSupport

Hi Fraser,

I think that I know what is causing this. I will upload a new EXE very soon. Sorry for the trouble.

fraser-portwood

Hi Paul

Checked out your fix sent, no change problem still the same, however I notice one thing, file rcvd

FFengine File size is 351 k a lot less than one in 1.08 (659 k)

Fraser

James Klutho

I simply put the timer control on a form and then immediately delete it and I get a crash.  Hope you can find the problem Paul.  The ADO looks good.

Roger Garstang

I just added the Timer control 4 times, all different ways and deleted it both with DEL key and with the X in the properties box and had no problems.

TechSupport

Is this happening on Windows 98 machines ????? I have had problems with Win98 in the past.

Roger Garstang

So have I that's why I haven't used it in 5 years.  :P

James Klutho

Actually I have been testing 1.08 on a NT 4 with service pack 6 during this crash.  Great program Paul.

fraser-portwood

Hello Paul

Just thought I let you know that I work with your software on two platforms, XP and Windows 98, the main reason is I have a number of customers still on this.

Checking the original update on XP I have no such problems, which suggest that the GPF is most likely caused with a call that that maybe platform specific. I notice James mail that said that it happend on his NT4 both older platforms.

Regards
Fraser

TechSupport

Thanks Fraser - that info will certainly help in my quest to eliminate this problem.

James Klutho

I do not have this problem with ff108 on my Win2000 machine, just the Win98 and NT.  By the way ff107 did not seem to have this problem.  Hope that helps some.

Roger Garstang

Just narrowing this down, but at first I was going to suggest to see if it was a problem with new controls or features being used, but you said it was the existing samples that wouldn't use anything new, so that means it is one of the following changes:

FIX: Blank Tab would appear in the designer when 'Project Properties' was closed and it was a 'Console Application'.
 
FIX: BackBitmap was not displaying correctly for MDI Forms.
 
FIX: Added "Call" to the ImageList_Destroy generated code for Tab Controls. This makes it compatible with earlier version PowerBASIC compilers.

At least that is what I'd look at unless there was anything else changed that wasn't mentioned.  It was also mentioned that just putting a timer control on a blank form does it so that may eliminate all but the 1st fix.

May also check for code that got "misplaced" by copy/paste operations or coding FF 1.08 after midnight.  Or, if any additional code was added to allow for the new controls that gets inserted on the old as well...maybe something like Win98 not having the correct DLL that the DateTimePickers/MonthView/IP Control, etc use that may now be called for all controls.

TechSupport

The fix is in. Refer to http://www.planetsquires.com/forums/viewtopic.php?t=1133

It appeared to be a call to RemoveProp in the WM_DESTROY subclass of the controls that caused the Windows 98 GPF.