G
Guest
Hi,
I have a requirement where I need to call methods written in VB.Net from a
C++ code. I have been going crazy reading various articles on the net w.r.t
interop and marshalling but an more confused now that before.
the signature I need to conform in the VB.Net DLL is
int MyAppInitFunc(int argc, char** argv)
To this extent I have tried the following
Public Function MyAppInitFunc(ByVal argc as integer, ByRef argv as string)
as Integer
Public Function MyAppInitFunc(ByVal argc as Int32, ByVal argv() as string)
as Int32
.... based on some posts I even tried
Public Function MyAppInitFunc(ByVal argc as Int32, ByVal argv as IntPtr) as
Int32
but have not been able to get anything to work.
Is there perhaps some reading I'm missing up on ?
Regards.
I have a requirement where I need to call methods written in VB.Net from a
C++ code. I have been going crazy reading various articles on the net w.r.t
interop and marshalling but an more confused now that before.
the signature I need to conform in the VB.Net DLL is
int MyAppInitFunc(int argc, char** argv)
To this extent I have tried the following
Public Function MyAppInitFunc(ByVal argc as integer, ByRef argv as string)
as Integer
Public Function MyAppInitFunc(ByVal argc as Int32, ByVal argv() as string)
as Int32
.... based on some posts I even tried
Public Function MyAppInitFunc(ByVal argc as Int32, ByVal argv as IntPtr) as
Int32
but have not been able to get anything to work.
Is there perhaps some reading I'm missing up on ?
Regards.