> Why is it appearing?
Your program is a console program, so it momentarily displays a console before disappearing
> Any hints how to fix this?
Make it a GUI program.
GUI programs begin at WinMain(), not main()
> Why is it appearing?
Your program is a console program, so it momentarily displays a console before disappearing
> Any hints how to fix this?
Make it a GUI program.
GUI programs begin at WinMain(), not main()
If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
If at first you don't succeed, try writing your phone number on the exam paper.
huh huh, When I was learning about native c++ I thought main function is the only one constant in program but obviously it isnīt.
1st I tried longer version:
int wmain(int argc, wchar_t* argv[ ], wchar_t* envp[ ])
then just
int wmain ()
and thatīs it, now itīs native windows program...live and learn..
thanx again