PTC MKS Toolkit Knowledge Base

Section:IO
Product:MKS Toolkit (TKPDev/TKEDev)
Version:
OS:All
Keywords:porting, migration, X, console
Category:Porting/Knowledge Base


How do I get rid of the console window on my X applications?


Link your application as a Windows application, rather than a console application, by using:

ld -W/subsystem:windows

Refer to Porting X Applications in the UNIX to Windows Porting Guide.