foreach range construction bug?!!?!?!?

Phil Lavoie maidenphil at hotmail.com
Wed Jan 9 06:22:13 PST 2013


On Tuesday, 8 January 2013 at 04:49:42 UTC, Mike Parker wrote:
> 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/

Yeah I kinda am :). Though I am interested in the solution you 
propose so I might have a look.

Thanks!
Phil


More information about the Digitalmars-d-learn mailing list