Code Sampler

Started by Ivan Iraola, November 19, 2009, 10:00:20 PM

Previous topic - Next topic

Paul Squires

Thanks guys, I will run some tests on Ivan's project later today. If it is a FF3 problem then I will get it fixes as soon as possible.

Right now, I am working on a couple more videos to upload for the FirePass tutorial.....
Paul Squires
PlanetSquires Software

Marc van Cauwenberghe

If I have to test someting, please let me know.

Marc

Ivan Iraola

It crashes sometimes and displays there's a problem with OLEAUT32.DLL, don't know if that helps.

It Seems to happen with projercts containing a TAB control.
Android App Developer
http://www.uncledroid.com

David Warner

Hi Folks,

I know it is probably 'teaching Granny to suck eggs' but I find WinMerge http://winmerge.org/ is a very useful tool to view file changes.

I extracted two copies of the CodeSampler project, left the first untouched, opened the second copy in FF3.04 clicked on the tab 3 and replicated the crash.

The major differences I noted in the crashing version are...

The [Objects] section in the Guide.ffp has zero filled numeric value following the .frm
e.g. Form=.\forms\ProcessTab1.frm|1384756480|30042495|
became Form=.\forms\ProcessTab1.frm|0|0|

The [ControlType](s) in ProcessTab3.frm all have zorder=1 instead of an incrementing number.

Regards,

David




Paul Squires

Quote
The [ControlType](s) in ProcessTab3.frm all have zorder=1 instead of an incrementing number.
hmmm.... you may be on to something there. Back in the beta days an issue like this was reported. I don't think we could ever recreate the reason for the zorders all resetting to 1. Looks like it's time to re-investigate!  :)
Paul Squires
PlanetSquires Software

David Warner

#20
I should probably have mentioned that the Tab Form Widths also changed... "width=474" became "width=476", and "ClientWidth=474" became "ClientWidth=476".

Let me know if I can do anything to help.

Regards,

David

Paul Squires

Quote from: Dominique Bodin on November 20, 2009, 04:30:30 PM
Thank's for this cool sample,
but i have a big problem with it !

ifi decompress the .zip, and open the project, and go : all is ok

if i click to view the ProcessTab3 panel, now compile . . .

the ide v3.04 crash ! ! !

i use vista

Dominique

I have finally been able to see the crash in action (had to switch to a WinXP computer). Now that I see it, then maybe I can diagnose the cause of it.
Paul Squires
PlanetSquires Software

Paul Squires

Hi Guys,

I think that I may have solved the problem with zOrders being reset to 1 for all controls. For thos eof you out there who are willing to take a chance, please try the new FF3 exe in the attachment to this post. In theory, the new exe should not affect the functionality of your existing code base but just in case, don't try it unless you back up your projec first.

The change I made was to add one function call to a function that ensures that TabOrder is correct when the form displays on the screen.



[attachment deleted by admin]
Paul Squires
PlanetSquires Software

Ivan Iraola

I tried the new EXE, still crashed.
Android App Developer
http://www.uncledroid.com

Dominique Bodin

Hello,
i've tried the new exe, and after modifying many things, i had no crash anymore .

I've modified the tab 3, and all is ok.

Tested also other samples, no crash.

I use Vista with all updates.

Thank's

David Warner

#25
Hi Ivan,

QuoteI tried the new EXE, still crashed.

Try un-zipping your example and use that version. It works for me, no crash so far.

@Paul: The Help...About menu is not working in your new EXE.

Regards,

David

Ivan Iraola

Quote
Try un-zipping your example and use that version.

Yup, that one works without crashing.
Android App Developer
http://www.uncledroid.com

Paul Squires

Quote from: David Warner on November 24, 2009, 03:26:49 PM
@Paul: The Help...About menu is not working in your new EXE.

Yes, I realized that I left some debug information there after I uploaded the zip file. I figured that I would wait to hear back regarding the success/failure of the change before changing the upload.

So, if I'm hearing you guys correctly, the change is a resounding success at this point.  That makes me happy.  :)
Paul Squires
PlanetSquires Software

Ivan Iraola

Quote
So, if I'm hearing you guys correctly, the change is a resounding success at this point.  That makes me happy

Hold your horses mister!!!  :P at home I have an application that contains about 10 forms (Tabs and other owned forms), if that one doesn't crash then we're in business.

I'm pretty confident you've solved the problem but let's make sure.  ;)
Android App Developer
http://www.uncledroid.com

Rolf Brandt

Ivan,

I was just wondering if you have some additional functions in your functions library that the other do not have. If you used those in your sample project could that cause some of the problems?

Rolf
Rolf Brandt
http://www.rbsoft.eu
http://www.taxifreeware.com
I cook with wine, sometimes I even add it to the food.
(W. C. Fields)