Derelict3 object.Error@(0): Access Violation?

Alexander via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Fri Nov 27 10:23:10 PST 2015


On Friday, 27 November 2015 at 16:26:44 UTC, Mike Parker wrote:
> On Friday, 27 November 2015 at 09:24:47 UTC, Alexander wrote:
>> On Friday, 27 November 2015 at 07:53:09 UTC, Rikki Cattermole
>
>>
>> Ah ok!
>> so here's my updated code. I still get the object error. I am 
>> trying to get a  blank window to appear. I call the reload 
>> after I set the glfwcontext. I'm not sure what I'm missing 
>> here.
>
> There's nothing obvious that jumps out. You really should not 
> have been seeing an access violation with the first bit of code 
> you posted if the problem were simply that no context were 
> loaded. I suggest you try again with just a simple call to 
> DerelictGL3.load and see if you still get the error. If so, see 
> if you can run a hello world.

I managed to get it working. I couldn't do a writeln command 
because I was getting that same error. I created a new project 
and that fixed the problem. :) thanks for the help!


More information about the Digitalmars-d-learn mailing list