Hi, I have a c-dll which I'm able to use from a VB.net application.
Now I need to use threm from a c++ appliocation, but I can't get it to work.
In VB.net I declare the functions as follows
Code:
 <DllImport("DIS_LIB.DLL", Entrypoint:="InitializeDIS_Lib", setlasterror:=True, CharSet:=CharSet.Ansi, exactspelling:=True, _
       CallingConvention:=CallingConvention.Cdecl)> _
    Public Function InitializeDIS_Lib() As Byte
        'leave Function empty _DLLIMport attribute forwards the call
    End Function
What would be the syntax for c++, and do I need to provide more files then in VB (more then "DIS_LIB.dll")