[Last Call] Learn about multicloud storage options and how to improve your company's cloud strategy. Register Now

x
?
Solved

Problem porting 16bit to 32bit

Posted on 2000-02-25
1
Medium Priority
?
220 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 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

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

Question has a verified solution.

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

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…
Video by: ITPro.TV
In this episode Don builds upon the troubleshooting techniques by demonstrating how to properly monitor a vSphere deployment to detect problems before they occur. He begins the show using tools found within the vSphere suite as ends the show demonst…
Please read the paragraph below before following the instructions in the video — there are important caveats in the paragraph that I did not mention in the video. If your PaperPort 12 or PaperPort 14 is failing to start, or crashing, or hanging, …
Suggested Courses

650 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