Jump to content

  • Log In with Google      Sign In   
  • Create Account

Banner advertising on our site currently available from just $5!


1. Learn about the promo. 2. Sign up for GDNet+. 3. Set up your advert!


#Actualfir

Posted 23 September 2013 - 09:55 AM

All programs executed in the Windows console subsystem automatically have a console window created. That's simply part of how Windows works. However, depending on your compiler and linker you may be able to specify main() as the entry point for a program that uses the Windows subsystem. How you go about it would depend on your tool chain.

 

As i said I do not want to use window subsystem and i do not want to use console subsystem I just want to wrote 'Raw' c code program, which will be linking staticaly to my own flib.obj (which is using winapi)

And this is stupid problem as i said, i run my program sudenly totally unnecessary console do apear (And i cannot switch tu windows subsystem becouse i do not need it to, I just need pure main and code linked to my own framework)


#1fir

Posted 23 September 2013 - 09:54 AM

All programs executed in the Windows console subsystem automatically have a console window created. That's simply part of how Windows works. However, depending on your compiler and linker you may be able to specify main() as the entry point for a program that uses the Windows subsystem. How you go about it would depend on your tool chain.

 

As i said I do not want to use window subsystem and i do not want to use console subsystem I just want to wrote 'Raw' c code program, which will be linking staticaly to my own flib.obj (which 

is using winapi)

And this is stupid problem as i said, i run my program sudenly totally unnecessary console do apear (And i cannot switch tu windows subsystem becouse i do not need it to, I just need 

pure main and code linked to my own framework)

 

 

All programs executed in the Windows console subsystem automatically have a console window created. That's simply part of how Windows works. However, depending on your compiler and linker you may be able to specify main() as the entry point for a program that uses the Windows subsystem. How you go about it would depend on your tool chain.


PARTNERS