Hello,
VS 2008
I have created a C++ smart device DLL and added it to my project.
From my VB program I can call the functions successfully in the DLL. Using the code below
However, I need to be able to get the DLL to get information from the VB program.
Many thanks for any advice on this,
Steve
VS 2008
I have created a C++ smart device DLL and added it to my project.
From my VB program I can call the functions successfully in the DLL. Using the code below
Code:
<DllImportAttribute("WIN32SmartDLL.dll")> _
Private Shared Function AddNumbers(ByVal a As Integer, ByVal b As Integer) As Integer
End Function
Private Sub Form1_Load(ByVal sender As Object, ByVal e As EventArgs)
Dim answer As Integer = AddNumbers(25, 25)
End Sub
Many thanks for any advice on this,
Steve