Discussion:
what happened to win32api.dll?
(too old to reply)
Wade
2010-05-10 16:42:06 UTC
Permalink
Group,
My app uses mutex and win32api.dll. It was giving me some problems so I went
looking for the .dll. It doesn't seem to exist on the computer, but the
mutex works, apparently using it. Is the dll now hidden in some other file?
I downloaded a 2003 copy and put it into the system32 folder and tried to
register it, but it couldn't be found. I just want to know what's up with
this.
Wade
Gregory Adam
2010-05-10 17:30:14 UTC
Permalink
It has never existed, as far as I know


See what the help says about declare

If you specify WIN32API for the LibraryName, Visual FoxPro searches for the
32-bit Windows .dll function in Kernel32.dll, Gdi32.dll, User32.dll,
Mpr.dll, and Advapi32.dll.
--
Gregory
_
Post by Wade
Group,
My app uses mutex and win32api.dll. It was giving me some problems so I
went looking for the .dll. It doesn't seem to exist on the computer, but
the mutex works, apparently using it. Is the dll now hidden in some other
file? I downloaded a 2003 copy and put it into the system32 folder and
tried to register it, but it couldn't be found. I just want to know
what's up with this.
Wade
Dan Freeman
2010-05-10 17:37:45 UTC
Permalink
Post by Wade
Group,
My app uses mutex and win32api.dll. It was giving me some problems so I went
looking for the .dll. It doesn't seem to exist on the computer, but the
mutex works, apparently using it. Is the dll now hidden in some other file?
I downloaded a 2003 copy and put it into the system32 folder and tried to
register it, but it couldn't be found. I just want to know what's up with
this.
Wade
I'm not sure what you downloaded but no DLL by that name has ever
existed as part of Windows.

Dan
Wade
2010-05-11 02:17:59 UTC
Permalink
Well, I have a copy of win32api.dll if anyone wants it.... It doesn't appear
to do anything, but I had seen a reference for it and wondered why I
couldn't find it. Anyway, if no one wants it, I'll trash it and go on with
my app. Thanks.
Post by Wade
Group,
My app uses mutex and win32api.dll. It was giving me some problems so I
went looking for the .dll. It doesn't seem to exist on the computer, but
the mutex works, apparently using it. Is the dll now hidden in some other
file? I downloaded a 2003 copy and put it into the system32 folder and
tried to register it, but it couldn't be found. I just want to know
what's up with this.
Wade
Jürgen Wondzinski
2010-05-11 12:32:31 UTC
Permalink
Hi Wade,

again: there is no official "win32api.dll". The "win32api" moniker is just
an artificial keyword to advise VFP to search through all regular
Windows-system dlls. The reason for that is, that in the old days several
functions have been in different dlls depending on the Windows version.
Win9x had several functions differently packaged than NT4 and again
differnently on WinXP.
In other programming languages you would include different header files with
diffferent filedefinitions for that problem, in VFP we have resolved that in
the comfort way ;) with just defining a win32api "cloud" and the VFP engine
cares for the rest.

Thus: delete that misterious win32api.dll file, since it can't be of any
official resource.
--
wOOdy
Visual FoxPro Evangelist
Microsoft "Most Valuable Professional" 1996 to 2009



"*´¨)
¸.·´¸.·*´¨) ¸.·*¨)
(¸.·´. (¸.·` *
..·`.Visual FoxPro: It's magic !
(¸.·``··*
Stephen Ibbs
2010-05-11 14:31:08 UTC
Permalink
Interesting - doing a google for win32api.dll reveals lots of sites where
this mysterious file can be downloaded. I wonder what it contains? :-)

Stephen
Post by Jürgen Wondzinski
Hi Wade,
again: there is no official "win32api.dll". The "win32api" moniker is just
an artificial keyword to advise VFP to search through all regular
Windows-system dlls. The reason for that is, that in the old days several
functions have been in different dlls depending on the Windows version.
Win9x had several functions differently packaged than NT4 and again
differnently on WinXP.
In other programming languages you would include different header files
with diffferent filedefinitions for that problem, in VFP we have resolved
that in the comfort way ;) with just defining a win32api "cloud" and the
VFP engine cares for the rest.
Thus: delete that misterious win32api.dll file, since it can't be of any
official resource.
--
wOOdy
Visual FoxPro Evangelist
Microsoft "Most Valuable Professional" 1996 to 2009
"*Žš)
ž.·Žž.·*Žš) ž.·*š)
(ž.·Ž. (ž.·` *
..·`.Visual FoxPro: It's magic !
(ž.·``··*
Jürgen Wondzinski
2010-05-12 07:46:57 UTC
Permalink
Hi Stephen
where this mysterious file can be downloaded. I wonder what it contains?
<<
If you're curious, then just download them and open it with
DependencyWalker, then you see the included functions, and what calls to
other APIs exist in there. (see www.dependencywalker.com)

Since I know that neither Windows nor FoxPro needs that DLL, I don't care
about that misterious DLL ;)
--
wOOdy
Visual FoxPro Evangelist
Microsoft "Most Valuable Professional" 1996 to 2009



"*´¨)
¸.·´¸.·*´¨) ¸.·*¨)
(¸.·´. (¸.·` *
..·`.Visual FoxPro: It's magic !
(¸.·``··*
Loading...