Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Removing the command prompt
#1
How can I remove the command prompt when I run a Tilengine program please?

It opens each time I run a Tilengine program
Reply
#2
Hi,
It depends on C linker being used. In gcc and clones yo must use -Wl,-subsystem=windows flags when building. In Microsoft C is different.

For example with gcc or tcc yo must build with:

Code:
tcc -I"../include" ../lib/x64/Tilengine.dll -Wl,-subsystem=windows Tutorial.c -o tutorial.exe

Check this forum thread:
https://stackoverflow.com/questions/2032...exe-in-tcc
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)