I trying to send an array to my C# dll function which the
prototype as "C# COM (Dll)":
public int PrintIO(out System.Int64 [] FreeIO ,out int len)
But when trying to call this function (CPP file)
__int64 *heelp;
int len=0;
if (cpi->PrintIO(&heelp ,&len) == 0)
i get the following error:
"
COMClient.cpp(6 0): error
C2664: 'IManagedInterf ace::PrintIO' : cannot convert
parameter 1 from '__int64 ** ' to 'SAFEARRAY ** '
"
prototype as "C# COM (Dll)":
public int PrintIO(out System.Int64 [] FreeIO ,out int len)
But when trying to call this function (CPP file)
__int64 *heelp;
int len=0;
if (cpi->PrintIO(&heelp ,&len) == 0)
i get the following error:
"
COMClient.cpp(6 0): error
C2664: 'IManagedInterf ace::PrintIO' : cannot convert
parameter 1 from '__int64 ** ' to 'SAFEARRAY ** '
"
Comment