Discussion: TrueTransparency v1.3
Afficher un message
#123
Vieux 25/03/2010, 06h06
fire_rabbit
-
Basic
Date d'inscription : janvier 2010
Messages : 19
fire_rabbit est déconnecté
No no...
You can make this stuff on your own:
1. Open the VS and create a new MFC project in single-document mode, name it as whatever you like. Then save and build that project without any modification to. then run the executable to make sure it runs in good state.
2. Add the PostQuitMessage() call directely after the
CView::OnCreate(lpCreateStruct) ;
code-line, which is in the 'OnCreate' message procedure of the created MFC View class.

Then you can found the app running and quit silently without any error message except the TT is running and hooked in.

Sometimes the code may use PostQuitMessage to indicate that the application has entered into a fatal-error state and must not continue to run during its initialization. another time the model dialogbox use that api to quit its initialization under certain cases(like 'The file is small to finish copy, no need to show a progress-bar.' etc.).
Dernière modification par fire_rabbit ; 25/03/2010 à 08h05.

Haut de page