On Thu, 28 Jan 2016 22:24:00 +0100, Mike Wey wrote:

Could you run the following application and post the output here?

I took a screenshot: http://i.imgur.com/E1LLgDU.png

That was inserted into my program, with the small modification required for LDC for the WinMain function, therefore maintaining the same build environment, paths, etc, as I ordinarily use, I didn't even exclude the rest of the sources.

The exception is generated inside the writefln call, if I comment that out then I still get the same error, apparently the dump function also calls wrtiefln and runs into the issue again: http://i.imgur.com/jIEPbhH.png I would try to fix that to get a usable dump but I really have no clue what the problem with writefln is and google didn't yield a solution.

I had the same results with LDC and DMD, 32 or 64 bit. I'm using the DLLs from the 3.10.6 distribution.

Now the good news for me is that a new beta of LDC was released which now includes support for creating Win32 binaries and it works for me. Eventually I should relearn OpenGL to stop using the deprecated API so I can use GLArea and then libglext stops being an issue. But for the time being I'm very happy, LDC/32 is working fine, I don't have a need for 64 bit so I'm just going to stick to that.

Thank you very much for your time.