G
[GHO}
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(60): error
C2664: 'IManagedInterface:
rintIO' : 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(60): error
C2664: 'IManagedInterface:

parameter 1 from '__int64 ** ' to 'SAFEARRAY ** '
"