foreach range construction bug?!!?!?!?
Mike Parker
aldacron at gmail.com
Mon Jan 7 20:49:36 PST 2013
On Monday, 7 January 2013 at 18:11:14 UTC, Phil Lavoie wrote:
> I have looked around the a while and I can say that the invalid
> calling convention is the most probable cause, though I am
> still wondering what is the best way to create en import
> library from a .dll that will export symbols matching to
> extern( Windows ) "_... at int". Implib from digital mars does not
> seem to have that option... so I am looking around, will let
> you know what happens!
If you aren't doing this as a learning exercise, you could save
yourself a headache and just use Derelict's OpenGL binding[1].
Then you don't have to worry about import libraries or object
file formats. Just DerelictGL3.load() and away you go.
[1] https://github.com/aldacron/Derelict3/
More information about the Digitalmars-d-learn
mailing list