Information générale
Titre:
Accessing a DLL in VFP
I have a dll that a VB programmer wrote for me and I am having trouble getting in running in VFP.
The following is the code that he used to access and test it in VB:
Option Explicit
Dim x As New vsConvert
Private Sub Command1_Click()
Dim y As Long
y = x.StartConversion("c:\InnPall\")
End Sub
The following is the code that I have in VFP to (try) to access the dll:
Public y
y = 0
DECLARE INTEGER StartConversion IN ToAvail.DLL
y = StartConversion(m.workdir)
When I run this I get the error 'Can not find entry point StartConversion in the DLL.'
Any input on solving this would be much appreciated.
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement