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)