Visual Studio Setup project. Vista and Xp differences

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



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.
.



Relevant Pages

  • Re: Visual Studio Setup project. Vista and Xp differences
    ... I develop on Vista and my project consists of myExe.exe and myProj.dll. ... It installs and works on other Vista systems but on Xp systems, ... I copy these dlls from my VS2008 ... So that on the ghosted machine, dependency ...
    (microsoft.public.vc.mfc)
  • Re: Vista Kicking my Buttocks...Weird problems
    ... Internet Explorer®, Windows services, and third-party applications to ... Connecting an application with API entry points exported by DLLs is ... You didn't do your home work, and you didn't do any testing it seems on the Vista platform to ensure that yiur solution worked. ... As a software developer, you need to understand what is happening to program viable solutions for Vista. ...
    (microsoft.public.windows.vista.general)
  • Re: Vista WMP11 cant open media web links
    ... OK first off I'd wonder if you'd installed vista ultimate over the ... previously installed home edition on the PC. ... "upgrade" installs as I often worry about crumbs of the old OS left ... Scroll down the list and under choose a default media player, ...
    (microsoft.public.windowsmedia.player)
  • Re: Vista continuously freezes for a few seconds, please HELP!!!
    ... I can't belie it because I had Nod32 ... I'm still running Windows Defender along with my new Kaspersky, ... It seems to be a Vista problem from what I'm reading from ... problem even after several clean Vista Installs. ...
    (microsoft.public.windows.vista.general)
  • Re: Vista continuously freezes for a few seconds, please HELP!!!
    ... I just downloaded the Windows Malicious Software Removal ... I can't belie it because I had Nod32 ... It seems to be a Vista problem from what I'm reading from ... problem even after several clean Vista Installs. ...
    (microsoft.public.windows.vista.general)