The DirectX function FindMediaFileCch(... ) is fine to launch application in Windows. However it gets the wrong path result when launch application in Intel AppUp client. The problem maybe in the function GetModuleFileName( NULL, strExePath, MAX_PATH ); inside the FindMediaFileCch(... ). It returns the path of executable file of AppUp Client instead of the path of actual application. This will cause reading file error in DirectX for games. How to solve this incompatible problem?
For more complete information about compiler optimizations, see our Optimization Notice.