Working Windows GUI library - no console Window

Spacen Jasset via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Fri Nov 6 11:22:40 PST 2015


On Friday, 6 November 2015 at 15:52:10 UTC, johann wrote:
> hi,
> i like to use a window gui library and i think i found a 
> working one.
>
> https://github.com/FrankLIKE/dfl2  - works with x64
>
> the problem is, that with DMD 2.069.0, VS2015 and visualD the 
> trick of using "-L/SUBSYSTEM:windows,6.00 
> -L/ENTRY:mainCRTStartup" does not suppress the console window 
> anymore.
>
> does anybody have a solution for that problem?
> is anybody still working on that library?
>
> johann

Have a look at the resultant executable header with a tool like 
objdump / pebrowse. In the header somewhere there is a field that 
specifies the subsystem type. It should be set to gui, rather 
than console.


IMAGE_SUBSYSTEM_WINDOWS_GUI
2


https://msdn.microsoft.com/en-us/library/windows/desktop/ms680339%28v=vs.85%29.aspx


More information about the Digitalmars-d-learn mailing list