Solved

Problem porting 16bit to 32bit

Posted on 2000-02-25
1
214 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 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Delphi 2010 Export to pdf 2 287
add combobox item based on numbers 9 125
Run video youtube webbrowse 10 58
IdTCPClient and IdTCPServer exchanging data on desktops and not Android 11 95
Introduction The parallel port is a very commonly known port, it was widely used to connect a printer to the PC, if you look at the back of your computer, for those who don't have newer computers, there will be a port with 25 pins and a small print…
Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
This Micro Tutorial will give you a basic overview how to record your screen with Microsoft Expression Encoder. This program is still free and open for the public to download. This will be demonstrated using Microsoft Expression Encoder 4.
Hi friends,  in this video  I'll show you how new windows 10 user can learn the using of windows 10. Thank you.

863 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

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now