I have an application that I compiled on my Windows XP box. It runs just fine and does what I want. When I try to run it on the NT or 2000 test machines I get this message:
The procedure entry point IsWow64Process could not be located in the dynamic link library Kernel32.dll
Is this something I can correct and if so how?
>I have an application that I compiled on my Windows XP box. It runs just fine and does what I want. When I try to run it on the NT or 2000 test machines I get this message:
>
>The procedure entry point IsWow64Process could not be located in the dynamic link library Kernel32.dll
>
>Is this something I can correct and if so how?
The SDK documentation recommends that you call IsWow64Process
indirectly using GetProcAddress so that your program will run on
earlier platforms. See the Platform SDK documentation on the
IsWow64Process API for an example.
Dave

Signature
MVP VC++ FAQ: http://www.mvps.org/vcfaq
claire - 22 Jun 2004 00:04 GMT
I'm not calling it at all. I searched my project too and it never comes up.
> >I have an application that I compiled on my Windows XP box. It runs just fine and does what I want. When I try to run it on the NT or 2000 test machines I get this message:
> >
[quoted text clipped - 8 lines]
>
> Dave
Johan Nilsson - 22 Jun 2004 07:20 GMT
> I'm not calling it at all. I searched my project too and it never comes up.
It's probably being called indirectly. Try dependency walker
(http://www.dependencywalker.com) to find out from where it's getting
called.
HTH // Johan
claire - 22 Jun 2004 17:52 GMT
I tried the dependency walker and I got as far as that function being called by something in OpenGL? Does that sound right? There were a whole bunch of things that came up red in ole32 and kernel32 right under shlwapi.dll and opengl32.dll in the tree view...
> > I'm not calling it at all. I searched my project too and it never comes
> up.
[quoted text clipped - 4 lines]
>
> HTH // Johan