Link to home
Start Free TrialLog in
Avatar of SoulessZero
SoulessZero

asked on

Terminate DirectX Applications (games)

Anybody knows how to safely terminate DirectX applications (games) within code? Thanks!
ASKER CERTIFIED SOLUTION
Avatar of gmayo
gmayo
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of SoulessZero
SoulessZero

ASKER

Thanks, sorry i didn't make it clear.

I mean from my own application. Co'z I will be write an Internet Cafe software that will take control of Client PC, if user's time is up then Server has to send some string commands to Client program (runnning on Client PC) and tell client program to terminate any running DirectX games safely.
Oh, you want to tell *other* DX apps to close. Can you just send a WM_QUIT to the window?

Geoff M.
I  know there is a trick that can "force" DirectX app to terminate by calling some function of DirectX Helper. but i forgot in what website... :(