A
Angel
I'm exporting (with DllImport) a C-style function with this syntax:
int z9indqry (4_PARM *parm);
4_PARM is a structure declared in a proprietary header file that cannot be
included in my project (due to C# limits).
What would be the other best way to do this? I would like to be able to use
the original struct because these structs have over 40 members each and
there are several more Structs similar to 4_PARM. Also, they are modified by
the company every two months so I'd need to compare and modify my C# structs
everytime they change the h structs.
I'm not going to use wrappers because the dll function calls are working
well when the parms are simple data types (int, char, string, etc...). I
just need a way to be able to call these specialized structs.
Thanks again.
P.S. - I'm pretty sure this is the last question I have regarding unmanaged
code
)
int z9indqry (4_PARM *parm);
4_PARM is a structure declared in a proprietary header file that cannot be
included in my project (due to C# limits).
What would be the other best way to do this? I would like to be able to use
the original struct because these structs have over 40 members each and
there are several more Structs similar to 4_PARM. Also, they are modified by
the company every two months so I'd need to compare and modify my C# structs
everytime they change the h structs.
I'm not going to use wrappers because the dll function calls are working
well when the parms are simple data types (int, char, string, etc...). I
just need a way to be able to call these specialized structs.
Thanks again.
P.S. - I'm pretty sure this is the last question I have regarding unmanaged
code
