[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 265
  • Last Modified:

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)
0
KenAdam
Asked:
KenAdam
  • 4
  • 2
1 Solution
 
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
The 14th Annual Expert Award Winners

The results are in! Meet the top members of our 2017 Expert Awards. Congratulations to all who qualified!

 
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
 
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

Featured Post

Take Control of Web Hosting For Your Clients

As a web developer or IT admin, successfully managing multiple client accounts can be challenging. In this webinar we will look at the tools provided by Media Temple and Plesk to make managing your clients’ hosting easier.

  • 4
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now