setup projects problem
Hi all,
I ran into a compatibility problem when compiling a setup project with
programming in Direct3D. Here are the details:
On one computer, I have Windows XP, Visual Studio 2005, and DirectXSDK
March 2008. I open the project and compiled the setup from the setup
wizard of Visual Studio 2005.
So the setup file works fine and the software runs properly in Windows
XP. Then I tried the setup file on a computer Windows Vista. The
setup completed successfully, but the application showed the following
error:
"The application failed to initialize properly (0xc0000142). Click OK
to terminate the application. "
So I tried compiling the setup file in Windows Vista. In this case,
the application works in Windows Vista, but shows error when running
in Windows XP. The error i:
"The procedure entry point _except_handler4_common could not be
located in the dynamic link library msvcrt.dll."
To determine that the problem actually involves the use of DirectXSDK,
I tried taking the Direct3D part out of my application. And without
DirectX in the project, the application works fine in both Windows.
I am hoping someone can tell me how I can make a setup file that works
in both windows environment.
Thanks for the help in advance.
date: Wed, 4 Jun 2008 05:30:21 -0700 (PDT)
author: wanwan