Hi all (im newbie to .net)
Ive download a dev kit, and am trying to access the functions from the dll. my question is can u makes calls from .net if the dll is written in c++ ? this is called unmanaged code, right? i try two methods, let me giv an examples cause neither way is working..
I get this error:
Thanks any for help
isEy
Ive download a dev kit, and am trying to access the functions from the dll. my question is can u makes calls from .net if the dll is written in c++ ? this is called unmanaged code, right? i try two methods, let me giv an examples cause neither way is working..
Code:
Public Class Form1
Declare Auto Function MP_GetSwType Lib _
"C:\Documents and Settings\Computer 31\Desktop\SDK\MultiXtR.DLL" () As String
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Console.Write(MP_GetSwType())
End Sub
End Class
I get this error:
Unable to find an entry point named MP_GetSwType in DLL C:\Documents and Settings\Computer 31\Desktop\SDK\MultiXtR.DLL.
Thanks any for help
isEy