Jump to content

  • Log In with Google      Sign In   
  • Create Account

FREE SOFTWARE GIVEAWAY

We have 4 x Pro Licences (valued at $59 each) for 2d modular animation software Spriter to give away in this Thursday's GDNet Direct email newsletter.


Read more in this forum topic or make sure you're signed up (from the right-hand sidebar on the homepage) and read Thursday's newsletter to get in the running!


#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