link to dll from Access VB

awd_scot

New member
Local time
Yesterday, 19:32
Joined
Apr 2, 2010
Messages
3
Hi I have a simple form which has a button on it which contains the following code:

Private Declare Function Initialise_MF Lib "MF.dll" (ByVal CallbackFn As Long, ByVal dwUserData As Long) As Long

Private Sub Command0_Click()

Call Initialise_MF(CallbackFn, dwUserData)

End Sub

I think this should then call the function Initialise_MF from MF.dll but each time i get the error Run time error 53, FIle not found: MP.dll. Can anyone help? MP.dll and my access database are in the same location.
 
Not 100% sure, but have you tried registering the DLL with windows?
 
What is MF.dll?

What does the developer say is the proper way to install the DLL for use with Access/VBA?

Does it have an installer that properly registers it in Windows?
 

Users who are viewing this thread

Back
Top Bottom