Solved

Problem porting 16bit to 32bit

Posted on 2000-02-25
1
217 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 

Accepted Solution

by:
arcrotty earned 100 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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Suggested Solutions

Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…
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…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

749 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