On 2013-04-08 20:00, Rainer Schuetze wrote: > I think the correct way is to remove the C main function from dmain2.d > and put it in an extra library to be linked with the executable. At > least on Windows, you won't be able to link back from the DLL to the > main executable. The D main function as well? -- /Jacob Carlborg