[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Problem porting 16bit to 32bit

Posted on 2000-02-25
1
Medium Priority
?
221 Views
Last Modified: 2010-04-04
I have a simple Delphi application written in Delphi 1.0 which works fine on Windows 3.1/95/NT.
I opened the project in Delphi 3.0 and recompiled the source. The 32bit EXE runs fine on Windows 95 but when i try to run it on Windows NT i get an access violation in 'ntdll.dll' and a runtime error 216.

Any ideas as to why ?

Thanks Paul.
0
Comment
Question by:pr_wainwright
1 Comment
 

Accepted Solution

by:
arcrotty earned 300 total points
ID: 2560386
My guess is that it is accessing memory out of the programs allocated memory.  NT is a bit more protective about that.

Whatever your code is doing to allocate and use memory, make sure you assign a value of NIL to each items as you free them memory and check to make sure it's not NIL before you read the value from the data that it points to.

Let me know if that helps.  You didn't give much information.
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A lot of questions regard threads in Delphi.   One of the more specific questions is how to show progress of the thread.   Updating a progressbar from inside a thread is a mistake. A solution to this would be to send a synchronized message to the…
Introduction Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…
In a question here at Experts Exchange (https://www.experts-exchange.com/questions/29062564/Adobe-acrobat-reader-DC.html), a member asked how to create a signature in Adobe Acrobat Reader DC (the free Reader product, not the paid, full Acrobat produ…
Screencast - Getting to Know the Pipeline
Suggested Courses

873 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question