Compiler differences 98/NT?


My problem:

I've an application. When I compile it with NT, I have a 'Read of Address 0' while closing (running on 98). When I compile the app under 98, there's no Access Violation while closing (running on 98).

BOTH systems have the same source-files, the same delphi and the same project settings.

Is there anyone who knows something about this? I know myself, that 98 addresses pointers directly and I think that the error isn't a free of an unassigned pointer.

Huh... any ideas?
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

brunoheAuthor Commented:
I forgot: I couldn't include TD32 information because TD32 isn't able to handle files like this with 8Mb including TD information.
Well, I don't understand why a program that was compiled under winNT should behave differently, but if you say that I'll believe it...   :-)

But anyway it's most probably a bug in your program. So I would recommend trying to find the code line where the exception occured.

If you get an access violation, you get TWO addresses, something like "access violation at 406C04 reading from FFFFFFFF". Now to find the code line start Delphi, set a breakpoint to the first line of your project, then use the function "find runtime error" from the menu and give in "$406C04" (don't forget the "$"). Now Delphi should show you the exception line.

Regards, Madshi.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
I made a Word Add In in Delphi. I works thru COM. Compiled under Win 98 it ran dead slow on NT. Compiled under NT it was as fast as under Windows 98.

Just to show there are more problems regarding 98/NT
Cloud Class® Course: Microsoft Exchange Server

The MCTS: Microsoft Exchange Server 2010 certification validates your skills in supporting the maintenance and administration of the Exchange servers in an enterprise environment. Learn everything you need to know with this course.

brunoheAuthor Commented:
folks, i don't have time to check your comments at the moment. i'm back on 2/2/00, because I've to go to military next week. Argl... sucks.

Anyway, we'll see us on 2/2.

brunoheAuthor Commented:
The Idea is not bad, but don't solved my problem. Anyway, you'll get the points.
Hmmm... Perhaps we can find the problem together? Did you find the source code line, which raised the exception?
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.