🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #13671

Desperately fixing the Problem: in Access violated in module 'ntdll.dll'

#13671
From: PC HUA
Date: Thu, 25 Sep 2003 01:34
35 lines
2229 bytes
My program is running without any problem on Win98. But it keeps on 
crashing with the message (on Win2k):
  Access violated at address 77F85C41 in module 'ntdll.dll'. Write of 
address 717521E8
Details will be followed. But if you don't want to read the long story, any 
kind of guessings are welcome. Maybe you have experienced error in 
ntdll.dll before.

The program works like this...
It runs a TThread object. Wenn I stop it it goes to suspended. There's a 
button [Next] which resumes the TThread and terminates the Execute module 
(object is free). Then a new Thread is created and Execute() is started.

This is running fine on Win98 AND Win2k for long time, i.e. no memory leak.

Here comes the problem:
There are some more buttons which will pop up a modal windows showing 
information. If I click on any of those buttons after stop and before Next, 
and close that popup window, then it crashes on clicking on [Next]. But if 
the button is opening a TOpenDialog (or open TOpenDialog after open one of 
those modal windows) then it's OK.

Again, it's working fine on Win98. Since I don't have the development 
environment on Win2k I can't do a proper debug.

Thanks
Phuoc Can HUA




-- 
_/\__/\__/\__/\__/\__/\_
www.huaonline.com
My Homepage is my Castle
Technical Details
Message-ID: <oprv07ziyns9suau@news.cis.dfn.de>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!38.144.126.76.MISMATCH!feed2.newsreader.com!newsreader.com!newshosting.com!news-xfer1.atl.newshosting.com!fu-berlin.de!uni-berlin.de!203.194.21.162!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,15c846f8241afae5,start
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2003-09-24 18:40:37 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!38.144.126.76.MISMATCH!feed2.newsreader.com!newsreader.com!newshosting.com!news-xfer1.atl.newshosting.com!fu-berlin.de!uni-berlin.de!203.194.21.162!not-for-mail
From: PC HUA <home@huaonline.com>
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Desperately fixing the Problem: in Access violated in module 'ntdll.dll'
Date: Thu, 25 Sep 2003 11:34:20 +1000
Lines: 35
Message-ID: <oprv07ziyns9suau@news.cis.dfn.de>
NNTP-Posting-Host: 203.194.21.162
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-15; format=flowed
X-Trace: news.uni-berlin.de 1064454029 5524746 203.194.21.162 (16 [168705])
User-Agent: Opera7.10/Win32 M2 build 2840