mindlessclone2003
Technical User
I am having trouble running an API included w/ one of my software suites. Whenever I get to a function call I get the subjected error. I have tried moving the file into the system32 folder in (WINXP), and I've tried to register it but apparently it can't be registered. I have even tried specifying the entire path to the file to no avail. Anyone know of another fix for this problem? See below for the line of code giving me problems.
[Form]
Private Sub StartButton_Click()
VDRAPI.VdrOpenSession "IPADDR", "", "USER", "", 0#, "", 0#
End Sub
[API MODULE]
Declare Function VdrOpenSession Lib "vdrapi.dll" (ByVal whatServerToUse$, _
ByVal whoIsTheUser$, _
ByVal requestedRecipient$, _
ByVal proofOfIdentity$, _
ByVal traceThreshold&, _
ByVal assignedRecipient$, _
serverConnectionID&) As Long
[Form]
Private Sub StartButton_Click()
VDRAPI.VdrOpenSession "IPADDR", "", "USER", "", 0#, "", 0#
End Sub
[API MODULE]
Declare Function VdrOpenSession Lib "vdrapi.dll" (ByVal whatServerToUse$, _
ByVal whoIsTheUser$, _
ByVal requestedRecipient$, _
ByVal proofOfIdentity$, _
ByVal traceThreshold&, _
ByVal assignedRecipient$, _
serverConnectionID&) As Long