Re: DLL with D (FreeLibrary problem)

2011-12-30 Thread Exec
It appears as if the following code in the detach case solves the problem: > std.c.stdio._fcloseallp = null; I'm not sure why though... why is the call such a problem, that even crashes the application, and doesn't it have any disadvantages, not to call it?

DLL with D (FreeLibrary problem)

2011-12-30 Thread Exec
Hello everybody. I'm trying to write a DLL in D. Everything is actually working fine, until I reach FreeLibrary, which terminates the test program (written in D) with code 0x1. DllMain is called correctly, and seems to run through. But I never reach the lines after the FreeLib call. DLL: http://