Guest_imported
New member
- Jan 1, 1970
- 0
Hi!
I need to call a dll through an Access2000 application. The DLL is named "barwin.dll" and it's located in the c:\windows\system directory.
The code that I used to call the DLL looks like:
- First, I declare the function in a module.
Declare Function Ean13 Lib "c:\windows\system\barwin.dll" (ByVal szRetorn$, ByVal szCodi$) As Long
- Next, I call the function when the user clicks a button and the call to the function is:
BARCODE = Ean13(ByVal szRetorn$, ByVal szCodi$)
When I make the call to this function, Access shows an error message which says that doesn't find the file "barwin.dll"
Please, if someone knows how to solve the problem, it will help me a lot!
Thanks.
Bye!
Isdan.
I need to call a dll through an Access2000 application. The DLL is named "barwin.dll" and it's located in the c:\windows\system directory.
The code that I used to call the DLL looks like:
- First, I declare the function in a module.
Declare Function Ean13 Lib "c:\windows\system\barwin.dll" (ByVal szRetorn$, ByVal szCodi$) As Long
- Next, I call the function when the user clicks a button and the call to the function is:
BARCODE = Ean13(ByVal szRetorn$, ByVal szCodi$)
When I make the call to this function, Access shows an error message which says that doesn't find the file "barwin.dll"
Please, if someone knows how to solve the problem, it will help me a lot!
Thanks.
Bye!
Isdan.