G
Guest
Hi,
I'd have a DLL that exposes the function below.
CS_cs3ll (struct cs_Csprm_ *csprm, double ll [3], double xy [3]);
I would like to use DllImport in C# to call this function.
The issue I have concerns the last argument because it is considered an out
by the function.
How can I indicate that the fixed array of 3 double should by marshalled by
reference and that the values must be marshalled back to the client.
With VS2003 we ended up doing a Managed C++ dll but I was wondering if
VS2005 (C# 2.0) can support this.
I'd have a DLL that exposes the function below.
CS_cs3ll (struct cs_Csprm_ *csprm, double ll [3], double xy [3]);
I would like to use DllImport in C# to call this function.
The issue I have concerns the last argument because it is considered an out
by the function.
How can I indicate that the fixed array of 3 double should by marshalled by
reference and that the values must be marshalled back to the client.
With VS2003 we ended up doing a Managed C++ dll but I was wondering if
VS2005 (C# 2.0) can support this.