Article View: borland.public.cppbuilder.deployment
Article #329ShowModal causes crash on win98/win2k but not xp
From: Hal
Date: Sat, 07 Aug 2004 07:19
Date: Sat, 07 Aug 2004 07:19
25 lines
1954 bytes
1954 bytes
I have a program that opens a fairly complex secondary form using showmodal. It works perfectly on an XP with 512mb of memory. When I try to run it on a Win2Kpro or Win98SE machine it hangs when I invoke the form. Whatever gets clicked from then on causes a beep and nothing happens. I have to use TaskManager to kill the program. Both the Win2k and the Win98 machines have much less memory (128mb and 32mb) and I suspect it might be a memory problem, but I am not sure. I tried cutting some large arrays down but it didn't help. The rest of the program appears to work fine on all of the machines. I can also open the about box on the Win2k and Win98 machines. I put debugging statements and discovered that the program hangs just before it finishes the work within the form but before it displays it. It never shows the form. It works perfectly on XP but fails on the Win98/Win2k machines. I would be happy to just have an error message and prevent the hangup. Any thoughts on where to go from here? I am in final testing and would like to release the program, but not in this state. Any suggestions or help would be most appreciated. Thanks Hal
Technical Details
Message-ID:
<7315bed9.0408062319.73c1e89f@posting.google.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!postnews2.google.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Thread: f8e54,10a79848f7fd6b1b,start X-Google-Attributes: gidf8e54,public X-Google-Language: ENGLISH,ASCII-7-bit Path: arc1-ca.pugleaf.net!g2news1.google.com!postnews2.google.com!not-for-mail From: mischl@nyc.rr.com (Hal) Newsgroups: borland.public.cppbuilder.deployment Subject: ShowModal causes crash on win98/win2k but not xp Date: 7 Aug 2004 00:19:21 -0700 Organization: http://groups.google.com Lines: 25 Message-ID: <7315bed9.0408062319.73c1e89f@posting.google.com> NNTP-Posting-Host: 68.174.167.229 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1091863161 3103 127.0.0.1 (7 Aug 2004 07:19:21 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Sat, 7 Aug 2004 07:19:21 +0000 (UTC)