Visual Studio Setup project. Vista and Xp differences
- From: BoHuang <BoHuang@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Fri, 15 Jan 2010 14:25:01 -0800
Question 1:
I develop on Vista and my project consists of myExe.exe and myProj.dll. I
use Visual Studio 2008's Setup Project to produce setup.exe and .msi.
It installs and works on other Vista systems but on Xp systems, it installs
but upon launch I get 'procedure entry point _ftol2 not found' errors.
Not surprisingly, I found that this error goes away on Xp if I compile and
build the same VS2008 project on a Xp machine instead. Anyway I don't need to
do this?
Question 2:
My myProj.dll is dependent on mfc90ud.dll, msvcp90d.dll, msvcr90d.dll and
etc. according to Dependency Walker. I copy these dlls from my VS2008
development system to a freshly ghosted Vista machine without them and update
the Path variable as needed. So that on the ghosted machine, dependency
walker does not complain of missing dependencies.
Yet when I use Java's load native library functions, myProj.dll still can't
be loaded or found, even if I copy all mentioned dlls to the system32
folders.
Fortunately, no such loading error occurs if I run setup.exe to install
myExe.exe and myProj.dll on the ghosted machine before having Java load the
dll.
Now, how can I examine other than the mfc, msvcp dlls what else is installed
to ensure successful library loading?
Thanks.
.
- Follow-Ups:
- Re: Visual Studio Setup project. Vista and Xp differences
- From: David Ching
- Re: Visual Studio Setup project. Vista and Xp differences
- Prev by Date: Re: OT: A question of method (synchronization)
- Next by Date: Re: Reading Unicode text files.
- Previous by thread: Re: Restrict CColorDialog = ChooseColor() to 16-bit colors?
- Next by thread: Re: Visual Studio Setup project. Vista and Xp differences
- Index(es):
Relevant Pages
|