R
Rick
I'm using Access Visual Basic.
When trying to call this function within its class module:
Declare Function DAZOptions Lib "emdaz32.dll" (ByVal lngHandle As Long)
As Long
I receive the following error:
Run time error '53':
File not found: emdaz32.dll
My code and this function worked perfectly with Windows XP but now fails
after upgrading to Windows Vista 64-bit.
The file emdaz32.dll IS contained in the folder C:\Windows\System32\.
Even if I declare the function using the full path to the dll file as shown
below:
Declare Function DAZOptions Lib " C:\Windows\System32\emdaz32.dll"
(ByVal lngHandle As Long) As Long
I still receive the same error message just showing the full path:
Run time error '53':
File not found: C:\Windows\System32\emdaz32.dll
I don't understand why "File not found" error is returned when the file is
there.
Is there something different I have to do to call a 32-bit dll when using
Windows Vista 64-bit version? My other 32-bit applications are working
properly.
I will GREATLY appreciate any assistance anyone can offer. This has me
really stumped and frustrated.
When trying to call this function within its class module:
Declare Function DAZOptions Lib "emdaz32.dll" (ByVal lngHandle As Long)
As Long
I receive the following error:
Run time error '53':
File not found: emdaz32.dll
My code and this function worked perfectly with Windows XP but now fails
after upgrading to Windows Vista 64-bit.
The file emdaz32.dll IS contained in the folder C:\Windows\System32\.
Even if I declare the function using the full path to the dll file as shown
below:
Declare Function DAZOptions Lib " C:\Windows\System32\emdaz32.dll"
(ByVal lngHandle As Long) As Long
I still receive the same error message just showing the full path:
Run time error '53':
File not found: C:\Windows\System32\emdaz32.dll
I don't understand why "File not found" error is returned when the file is
there.
Is there something different I have to do to call a 32-bit dll when using
Windows Vista 64-bit version? My other 32-bit applications are working
properly.
I will GREATLY appreciate any assistance anyone can offer. This has me
really stumped and frustrated.