i know there are many ways to hide a console window,but all of them that i test ,they all pop for a second and disapear,how can i do so its doesnt pop at all ???

Under MS-Windows the only way is to call CreateProcess() to launch the console program. One of that function's parameters will tell it to create the process without a console.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.