On 12/22/2014 9:21 AM, FrankLike wrote:
Now ,x64 mainform always have the console window,and the entry is main. could you do it? Thank you.
Since 64-bit DMD uses the Microsoft toolchain, you need to pass a parameter on the command line to the MS linker. Linker parameters are passed with -L <parameter>
See [1] for information about the /SUBSYSTEM option, which is what you want in this case. Probably something like this:
-L/SUBSYSTEM:WINDOWS,5.02 [1] http://msdn.microsoft.com/en-us/library/fcc1zstk.aspx