gtkD window centering message up and no app on taskbar

Johnson Jones via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Mon Aug 7 13:46:04 PDT 2017


On Saturday, 5 August 2017 at 20:56:10 UTC, Mike Wey wrote:
>
> Windows will only show the taskbar icon if you are not running 
> the application from the console.

Now in x64 it is showing, not in x86. So, not sure what's going 
on but at least it is showing. I was in a windows console and 
added a main.def but dmd says that it's not compatible with x64 
or something:

main.def(1) : warning LNK4017: EXETYPE statement not supported 
for the target platform; ignored
main.def(4) : warning LNK4017: SUBSYSTEM statement not supported 
for the target platform; ignored

but adding that file seemed to allow the icon like you said. I'm 
not doing anything different for x86 except switching gtk 
versions... but maybe there is a flag or setting somewhere that 
is causing the problem.

and, in the x64 version I get both the console and gtk app task 
bar icons... which is what I originally wanted and expected.



More information about the Digitalmars-d-learn mailing list