Delphi/OpenGL Access violation

Is there any way to avoid the acess violations which occur regularly while trying run OpenGL programs within the IDE?
This seems to happen with Delphi 2 and 4, with various OpenGL interface units, and on every PC I have access to (though more on some than others)
KenAdamAsked:
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.

LischkeCommented:
Hi Ken,

I think I don't need to answer your eMail you've sent to me since we can here discuss about the problem.

Unfortunateyl, you cannot make much to avoid these AVs. It seems to be a specific problem between Win95 (98?) and Delphi's debugger. The AVs don't appear on WinNT nor do they appear if you start the program outside from the IDE (or switch off debugging in the IDE).

The problem has been widely discussed in various newsgroups and mailing lists and noone came up with a working solution. I assume you have already set the FPU mask as in my OpenGL12 unit?

Ciao, Mike
0
KenAdamAuthor Commented:
Thanks for the comment Mike.
I've been doing a lot of Delphi/OpenGL development for aircraft displays in "isolation", and I'm just discovering the external world.
I've had the FPU fix for a long time - I just hoped somebody knew how to stop the other problem. (When I switched from D2 to D4, it curiously stopped happening for a few weeks, then came back to haunt me again, just when I thought it was gone for good)
Ken.
0
LischkeCommented:
Yes, me too. I haven't heard about this problem for a long time (a year or so) and I'm working under NT where I don't get the AVs, so I thought the problem were finally gone :-(

Ciao, Mike
0
Cloud Class® Course: Ruby Fundamentals

This course will introduce you to Ruby, as well as teach you about classes, methods, variables, data structures, loops, enumerable methods, and finishing touches.

LischkeCommented:
Ken,

what should now happen with this question. Will you accept my comment as answer or would you like to delete the question to get back the points?

Ciao, Mike
0

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
KenAdamAuthor Commented:
Mike,
Sorry, I've been travelling around the world, and just got back.
Looks like Delphi 5 (which I just got) doesn't have this problem under W95, (so far, but I guess it migfht bite me yet!)
0
LischkeCommented:
I can't say anything about it as I'm only programming under NT and there I never got those AVs.

Ciao, Mike
0
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
Delphi

From novice to tech pro — start learning today.