error , pls help , from malaysia |
尚未結案
|
johnnyyap
一般會員 ![]() ![]() 發表:1 回覆:6 積分:1 註冊:2004-07-31 發送簡訊給我 |
Hello , i don't how to type in mandarin . I have one question.
I have one application .The compilation of program works very fine . Whenever I close my program either by clicking close button ( close()) or clicking on the X on the upper right, the following error message will appear Project raised exception class eaccess violation with message " access violation of address 004202f11 in module .exe . write of address 00 00 0000 . process stopped. use step or run to continue Please help .
U may send email to me jycm2001@yahoo.com johnny yap
automation software eng
|
richtop
資深會員 ![]() ![]() ![]() ![]() ![]() 發表:122 回覆:646 積分:468 註冊:2003-06-10 發送簡訊給我 |
Hello johnnyyap, It could be the problem that you access the memory address out of range.
Try to check your codes that access array or dynamically allocated memory carefully. Sincerely, RichTop. RichTop 敬上 =====*****
把數學當工具,可以解決問題;將數學變能力,能夠發現並解決問題!
=====#####
|
johnnyyap
一般會員 ![]() ![]() 發表:1 回覆:6 積分:1 註冊:2004-07-31 發送簡訊給我 |
|
johnnyyap
一般會員 ![]() ![]() 發表:1 回覆:6 積分:1 註冊:2004-07-31 發送簡訊給我 |
|
pwipwi
版主 ![]() ![]() ![]() ![]() ![]() 發表:68 回覆:629 積分:349 註冊:2004-04-08 發送簡訊給我 |
|
johnnyyap
一般會員 ![]() ![]() 發表:1 回覆:6 積分:1 註冊:2004-07-31 發送簡訊給我 |
Hii , thank you for your reply. I can't send you the coding , because the coding consists of alot of files and forms. I would like to ask what are the possible causes and reasons for the ntdll.dll and eaccess violation errors. This application is running on a semiconductor machine. It controls motors, mechanical parts , sensors. Previouly these errors did not occur. I'm suspecting i have done some code modification which might caused the errors, but i don't know how to debug the errors. Thank you regards johnnyyap
|
johnnyyap
一般會員 ![]() ![]() 發表:1 回覆:6 積分:1 註冊:2004-07-31 發送簡訊給我 |
Hii , thank you for your reply. I can't send you the coding , because the coding consists of alot of files and forms. I would like to ask what are the possible causes and reasons for the ntdll.dll and eaccess violation errors. This application is running on a semiconductor machine. It controls motors, mechanical parts , sensors. Previouly these errors did not occur. I'm suspecting i have done some code modification which might caused the errors, but i don't know how to debug the errors. Thank you for your reply regards johnnyyap
|
johnnyyap
一般會員 ![]() ![]() 發表:1 回覆:6 積分:1 註冊:2004-07-31 發送簡訊給我 |
Hii , thank you for your reply. I can't send you the coding , because the coding consists of alot of files and forms. I would like to ask what are the possible causes and reasons for the ntdll.dll and eaccess violation errors. This application is running on a semiconductor machine. It controls motors, mechanical parts , sensors. Previouly these errors did not occur. I'm suspecting i have done some code modification which might caused the errors, but i don't know how to debug the errors. Thank you for your reply regards johnnyyap
|
johnnyyap
一般會員 ![]() ![]() 發表:1 回覆:6 積分:1 註冊:2004-07-31 發送簡訊給我 |
Hii , thank you for your reply. I can't send you the coding , because the coding consists of alot of files and forms.
I would like to ask what are the possible causes and reasons for the ntdll.dll and eaccess violation errors. This application is running on a semiconductor machine. It controls motors, mechanical parts , sensors.
Previouly these errors did not occur. I'm suspecting i have done some code modification which might caused the errors, but i don't know how to debug the errors. Thank you for your reply regards johnnyyap
|
pwipwi
版主 ![]() ![]() ![]() ![]() ![]() 發表:68 回覆:629 積分:349 註冊:2004-04-08 發送簡訊給我 |
Hi Johnnyyap:
Seems you can't post the code, I will give you suggestion from your error message. Hope that it may help.
The first error meesage told you that the address is at 004204f11. The location is in your main program file, (so the ntdll.dll is another issue) and "write of address 0" may be result from using a pointer after you have deleted it (FreeAndNil). Therefore, you should check all your pointers.
Invalid access of array or dynamically allocated class is less possible in this case, (but it's still possible!) because the it will mostly write to a none-zero address. Besides, what is the error message about the ntdll.dll ? and
Why don't you set the compile option to "debug"? The IDE will instantly show you the position that generates the error message. Regards
Frank
|
本站聲明 |
1. 本論壇為無營利行為之開放平台,所有文章都是由網友自行張貼,如牽涉到法律糾紛一切與本站無關。 2. 假如網友發表之內容涉及侵權,而損及您的利益,請立即通知版主刪除。 3. 請勿批評中華民國元首及政府或批評各政黨,是藍是綠本站無權干涉,但這裡不是政治性論壇! |