OpenGL Problem

Just starting out? Need help? Post your questions and find answers here.
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by VPureBasic.

Hi all,

I would like to know why everytime I tried to use a function like wglMakeCurrent_(...) ( Opengl32.dll ) PureBasic responds that it can't the PureBasic.exe( Already in use ) And, if I put ; before to erase it... everything will goes right. Except that I cannot use this kind of commands.

Thx
Roger
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by VPureBasic.

Hi all,

Thx for anyone who looks to help me... I finally found the problem... I should call the DLL as a 3rd party... PureBasic did not do this by himself.

Roger
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by El_Choni.

You must load any library not loaded by the system, like "OPENGL32.DLL". PB must not do that for you, I think.

Bye,

El_Choni
BackupUser
PureBasic Guru
PureBasic Guru
Posts: 16777133
Joined: Tue Apr 22, 2003 7:42 pm

Post by BackupUser »

Restored from previous forum. Originally posted by Mark1Up.

I did not have to call the OpenGL.dll specifically in my converted demo (see the resources site), but I have had some trouble with other aspects of OpenGL and asked Fred about it. Fred said that some OpenGl code he had written, which worked with a previous version of PB, no longer worked with the current version and that he would look into it. I assume that was going to be after his holiday

Mark
Post Reply