En C basique (pas ++), si on fait
int WINAPI WinMain()
{
MSG msg;
if (InitApplication(hInstance) == 0) return FALSE;
/* Perform initializations that apply to a specific instance */
if (InitInstance(hInstance, nCmdShow) == FALSE) return FALSE;
ShowWindow(hWnd, SW_HIDE); // Cache the window
la feuille (form), on la voit pas. Faut prévoir un évènement pour la visualiser (si besoin d'afficher, pas obligatoire).
Pas sûr ça marche en C++ (ai commencé bouquin hier soir => pas encore opérationnel
).