Hi,

I believe the problems was there. This is why I display a MessageBox. But even in Debug or in Release argc==1 (and I display it in message box).

This code is running well if I launch from QTCreator in debug and Release mode.

But I launch it directly from the exe I have always the console present

Any other Idea?