Prev: Vista event template data from resource dll
Next: The procedure entry point _ftol2_sse could not be located in m
From: Palo Misik on 11 Jun 2007 08:53 Hello, I'm working under Windows Vista Ultimate and I'm using VC 2005 SP1 for Vista. When I build an application with setting bellow I can't starts it under Windows XP. I get this message “The procedure entry point _ftol2_sse could not be located in the dynamic linked library msvcrt.dll”. Problem is in that windows xp msvcrt.dll doesn't have function _ftol2_sse but vista has. How to force VS 2005 to build correct exe which is running under XP? When I build application under XP, it works. It is annoying to have 2 PC for building the application. Does anybody encounter with this problem. Any suggestion is welcome. Compiler settings: /Ox /Ob2 /Ot /D "WIN32" /D "_WINDOWS" /D "NDEBUG" /D /D "_VC80_UPGRADE=0x0710" /D "_AFXDLL" /D "_MBCS" /FD /EHsc /MD /Yu"stdafx.h" /Fp"Release\LPMView3.pch" /Fo"Release\\" /Fd"Release\vc80.pdb" /W4 /nologo /c /Wp64 /Zi /TP /errorReport:prompt Linker settings: /OUT:"Release\LPMView3.exe" /INCREMENTAL:NO /NOLOGO /MANIFEST /MANIFESTFILE:"Release\LPMView3.exe.intermediate.manifest" /DEBUG /PDB:"m:\lpmview3\lpmview\release\LPMView3.pdb" /SUBSYSTEM:WINDOWS /OPT:REF /OPT:ICF /MACHINE:X86 /ERRORREPORT:PROMPT opengl32.lib glu32.lib winmm.lib
From: Alexander Nickolov on 11 Jun 2007 13:02
You should first try to track down the reason you are linking against the VC 6.0 runtime library in VC 8.0... -- ===================================== Alexander Nickolov Microsoft MVP [VC], MCSD email: agnickolov(a)mvps.org MVP VC FAQ: http://vcfaq.mvps.org ===================================== "Palo Misik" <PaloMisik(a)discussions.microsoft.com> wrote in message news:E5A7886B-8AE8-4F5A-9847-1E6D57673DE7(a)microsoft.com... > Hello, > I'm working under Windows Vista Ultimate and I'm using VC 2005 SP1 for > Vista. > > When I build an application with setting bellow I can't starts it under > Windows XP. > I get this message "The procedure entry point _ftol2_sse could not be > located in the dynamic linked library msvcrt.dll". > Problem is in that windows xp msvcrt.dll doesn't have function _ftol2_sse > but vista has. > How to force VS 2005 to build correct exe which is running under XP? > When I build application under XP, it works. It is annoying to have 2 PC > for > building the application. > Does anybody encounter with this problem. > Any suggestion is welcome. > > > > > Compiler settings: > /Ox /Ob2 /Ot /D "WIN32" /D "_WINDOWS" /D "NDEBUG" /D /D > "_VC80_UPGRADE=0x0710" /D "_AFXDLL" /D "_MBCS" /FD /EHsc /MD /Yu"stdafx.h" > /Fp"Release\LPMView3.pch" /Fo"Release\\" /Fd"Release\vc80.pdb" /W4 /nologo > /c > /Wp64 /Zi /TP /errorReport:prompt > > Linker settings: > /OUT:"Release\LPMView3.exe" /INCREMENTAL:NO /NOLOGO /MANIFEST > /MANIFESTFILE:"Release\LPMView3.exe.intermediate.manifest" /DEBUG > /PDB:"m:\lpmview3\lpmview\release\LPMView3.pdb" /SUBSYSTEM:WINDOWS > /OPT:REF > /OPT:ICF /MACHINE:X86 /ERRORREPORT:PROMPT opengl32.lib glu32.lib winmm.lib > |