Author Topic: gl.h Errors  (Read 2091 times)

0 Members and 1 Guest are viewing this topic.

Peter

  • Guest
gl.h Errors
« on: April 13, 2013, 09:06:37 AM »
Deleted
« Last Edit: May 05, 2015, 11:37:05 AM by Peter »

Charles Pegge

  • Guest
Re: gl.h Errors
« Reply #1 on: April 13, 2013, 09:53:12 AM »
There were a few recent changes to the RTLs, concerning DLL termination and the release of global heap memory, and string conversion of negative numbers. So they need to match the compiler.

Can you show me some source that works in memory but does not compile correctly?

Charles Pegge

  • Guest
Re: gl.h Errors
« Reply #2 on: April 13, 2013, 12:14:33 PM »
Hi Peter, I found 2 errors in the Opengl low level binding, but they should not have disrupted the formation of a DLL. (they should have merely crashed the prog :) ). So I will see what can be done to prevent it.

Safer to use the high level declare  or ! ...

You do not have to provide prototypes (see minwin.inc)




X
« Last Edit: April 13, 2013, 09:06:22 PM by Charles Pegge »

Charles Pegge

  • Guest
Re: gl.h Errors
« Reply #3 on: April 13, 2013, 09:42:10 PM »
Okay, I fixed that behaviour. Low level binding errors will allow the dll to run now. But you can check for binding errors with something like this:

string s=error()
if s print s


Basic  declares (only those which are referenced in the dll functions) with errors will report when the dll is loaded, unload the dll, and terminate the program.

I will be  posting the updates in the usual thread later.