Re: Working Windows GUI library - no console Window

2015-11-06 Thread Spacen Jasset via Digitalmars-d-learn

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


Working Windows GUI library - no console Window

2015-11-06 Thread johann via Digitalmars-d-learn

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


Re: Working Windows GUI library - no console Window

2015-11-06 Thread John Chapman via Digitalmars-d-learn

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


Same problem here. I had to remove the mainCRTStartup flag and 
use WinMain as my entry point.


Re: Working Windows GUI library - no console Window

2015-11-06 Thread johann via Digitalmars-d-learn

On Friday, 6 November 2015 at 21:02:59 UTC, John Chapman wrote:

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


Same problem here. I had to remove the mainCRTStartup flag and 
use WinMain as my entry point.


me too. i need to start a main(), since the lib will not work 
with a starting WinMain.