S
Sunil Menon
Dear All,
I would like to call a C dll function from my C# application using
PInvoke.
The dll name is XSal2_32.dll...its equivalent c code is...
BOOL XSalStrCompress(HSTRING p_hsIn,int p_iLevel, LPHSTRING p_lphsOut
)
In my C# application I have declared it as...
[DllImport("XSal2_32.dll")]
public static extern Boolean XSalStrCompress(string m, int tr,
[MarshalAs(UnmanagedType.BStr)]string ma);
but it always returns false...
could someone please help me in solving this problem...
TALIA
Many Regards
Sunil
I would like to call a C dll function from my C# application using
PInvoke.
The dll name is XSal2_32.dll...its equivalent c code is...
BOOL XSalStrCompress(HSTRING p_hsIn,int p_iLevel, LPHSTRING p_lphsOut
)
In my C# application I have declared it as...
[DllImport("XSal2_32.dll")]
public static extern Boolean XSalStrCompress(string m, int tr,
[MarshalAs(UnmanagedType.BStr)]string ma);
but it always returns false...
could someone please help me in solving this problem...
TALIA
Many Regards
Sunil