RE: EuGrid - was Runs w/Interpreter but not as .exe
- Posted by Phil Russell <pg_russell at lineone.net> Nov 26, 2002
- 617 views
Jonas, Yep - very weird. I have been working on windows for long enough now that I barely feel the pain any more, but I can still remember the disbelief I felt when I first moved from IBM AS400 to PC development (3.1) and it fell over every 10 minutes... I assume that this must be some kind of weird memory allocation problem (perhaps due to the larger size of the new eugrid include...?). Have you tried moving the code around a bit to get variables allocated in a different order, or allocating zero to the dropdown list id before calling CreateEx? BTW I ended up coding the following in EuGrid in the scrollbar code: elsif scrolltype = SB_PAGEUP then -- No idea why, but removing this line gives a page fault on Win95 GridTopRow[grid] -= 0 --...so dont remove it!!!!! GridTopRow[grid] -= GridDraw[grid][MAX_VISIBLE_ROWS] >From which I conclude that Euphoria's memory management is not *quite* perfect... If you want me to take a look at the code then by all means send it to me at pg_russellnospam at hotmail.com (removing 'nospam'). Cheers, Phil Jonas Temple wrote: > Phil, > > I also should clarify that the failing createEx() happens BEFORE the > include of eugrid. This would probably sugget that it's not related to > EuGrid, but it sure seems strange that my program never bombs with the > previous version of eugrid, just the new one. > > Weird...huh? > > Jonas > Jonas Temple wrote: > > Phil, > > > > In answer to your questions, the app fails immediately before any > > windows are displayed. I'm using win32lib v57.9. > > > > I also noticed you mentioned that you're doing more message handling of > > combo boxes. The odd thing here is I've narrowed down the failure to a > > createEx() call to create a dropdown list. I changed the control type > > to combobox, simplecombo, etc. all with the same results. > > > > Jonas > > >