Code Sampler

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

Previous topic - Next topic

Ivan Iraola

The attached ZIP file contains a simple Code Sampler (project), it shows the basic use of ComboBoxes, Buttons, ListBoxes, etc.

Opinions, suggestions, criticism welcome.  :)
Android App Developer
http://www.uncledroid.com

Dominique Bodin

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

Ivan Iraola

I don't have Vista, so I can't test it.

Anyone else has this problem?
Android App Developer
http://www.uncledroid.com

Haakon Birkeland

Yep.

And even switching back to the other parts it dies anyway â€" for a while. After a few restarts I was given an error message instead, that I didn't really bother to read but just commented out. After compilation went through again, I let the commented line back into action and it even compiled on the third tab ...

Next restart and compilation failed ... I'd guess there is something in here that FF don't appreciate from time to time.

Haakon 8o)

Ivan Iraola

#4
I've noticed that FF crashes sometimes, especially when I open projects (switching from one to another), but never bother, I thought it was my machine.

What line did you comment out?, are you running Vista?.

I run Win XP Pro SP2 and I don't get any compiling errors.
Android App Developer
http://www.uncledroid.com

Paul Squires

I can't get it to crash. I am using Windows 7. 

Back with FF2 we used to have a problem with crashes when switching projects. I can't remember the last time that this ever happened to me with FF3.
Paul Squires
PlanetSquires Software

Rolf Brandt

Tried it out on XP Home SP2 - works!
XP Home SP3 - works.
Win7 Ultimate - works.
XP Pro SP3 - does not compile, error see screenshot.

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)

Haakon Birkeland

Seem to be this one, as it failed again this morning on the first compilation;

FF_ProgressBar_SetFgColor( HWND_PROCESSTAB3_BIGPROGRESSBAR, 1234 )

Commenting it out will make it compile fine, and when removing the comment-mark it still compiles â€" without the error. Switching back to form view on Tab 3, or any other part, and it still compiles fine so far â€" again and again.

Seems rather inconsistent unfortunately.

I'm BTW on XP Pro x64 SP2.
Haakon 8o)

Haakon Birkeland

Maybe we should have our OS version in the profile (Personal Text field) for these kind of incidences, as it might be helpful to Paul or others?! It Will then show under the profile image/avatar.

Just a thought ...
Haakon 8o)

David Warner

#9
No crashes or compilation problems with the CodeSampler project here on my XP Pro SP3 Dell Precision Laptop.

Paul Squires

Quote from: Haakon Birkeland on November 21, 2009, 04:50:29 AM
Maybe we should have our OS version in the profile (Personal Text field) for these kind of incidences, as it might be helpful to Paul or others?! It Will then show under the profile image/avatar.

Just a thought ...

That's a very good idea.
Paul Squires
PlanetSquires Software

Dominique Bodin

I continue to have crash in the ide !

if i extract the sample, double click on the project to open it in the ide.
I then click on compile (without doing anything else !), it compiles ok and the .exe works ok too.
If i just click on the processtab3 panel, i click on compile and "crash" !
Even when i comment the ligne cited before, it crash the ide ! ! !

I use Vista and the last update.

Thank's

Dominique

David Warner

Quoteclick on the processtab3 panel, i click on compile and "crash"

Same here

Ivan Iraola

#13
Ok, after reading what Dominique said I ran some tests, and guess what, IT CRASHES!!!.

This is the sequence:

Sequence #1

1- Open FF
2- Open the Sampler project
3- Click on the "ProcessTab3" tab on the designer
4- Click on Compile/Run
5- FF3 shuts down!!!!!

Sequence #2

1- Open FF
2- Open the Sampler project
3- DO NOT CLICK ON ANY TABS on the designer
4- Compile/Run = No problem
5- Open a different project
6- Compile/run, look at it whatever, no problem
7- Open the Sampler again
8- Compile/run
9- BOOM!!!

Also, after the crash, I see in Task Manager that "drwtsn32.exe" and "dumprep.exe" froze, they die after a while, or if you force termination, but the Sampler stops compiling fine.

Just for ha-has, I'm gonna redo the sampler since I wrote it using FF3 original release, I don't think that's gonna make a difference but I'll try.
Android App Developer
http://www.uncledroid.com

Marc van Cauwenberghe


Have the same results as Haakon.
Overall very difficult to track, sometimes it compiles sometimes not.

I seem to remember vaguely having something like this happen to me some time ago It also had to do with TABs.
Tried to figure it out for an hour now. I can't make head or tail of this.
Will try again later