Home/Support/Support Forum/addp.dll version
Welcome to Digi Forum, where you can ask questions and receive answers from other members of the community.

addp.dll version

0 votes
addp.dll version works fine for VB6.0 for ADDP_Sample.vbp. It can find Digi Connect Me and its IP address.
However, it could not find Digi Connect Me instrument after I update the project to VB.net. ADDPOPEN seems to be able to get some kind of valid handle. And, ADDPStartSyncSearchEx always return 0.
I am using:
Imports System.Runtime.InteropServices
<DllImport("addp.dll")> _
Function ADDPOpen(ByVal vendor_id As Integer, ByRef vendor_guid As Guid) As Integer
End Function

<DllImport("addp.dll")> _
Function ADDPStartSyncSearchEx(ByVal handle As Integer, ByVal interpacket_timeout As Integer, ByVal total_timeout As Integer) As Integer
End Function

'load the Digi ADDP v2 guid, Works fine for VB6.0 project.

MyGuid.Data1 = &amp;H85CE4A71
MyGuid.Data2 = &amp;H1F89
MyGuid.Data3 = &amp;H4AA2
MyGuid.Data4(0) = &amp;H8B
MyGuid.Data4(1) = &amp;H4D
MyGuid.Data4(2) = &amp;H3B
MyGuid.Data4(3) = &amp;H1F
MyGuid.Data4(4) = &amp;HCE
MyGuid.Data4(5) = &amp;H4D
MyGuid.Data4(6) = &amp;H29
MyGuid.Data4(7) = &amp;H41

Does anybody knew that I should have a new version addp.dll? Or should I call this addp.dll in other different way?
Please be kind to advise.
Thank you very much.
asked Jan 26, 2010 in Plug N' Play by Chuang New to the Community (0 points)
recategorized Dec 10, 2013 by tuxembb

Please log in or register to answer this question.

1 Answer

0 votes
According to Digi, addp.dll ver doesn't exist. Where did you get it? They only have ver available.

And yes, they are aware that addp.dll doesn't work with anything newer than VC or VB ver 6.

answered Feb 23, 2010 by egawtry Veteran of the Digi Community (349 points)