![]() |
| | #1 |
| Registered User Join Date: Feb 2002 Location: Richmond, VA
Posts: 438
| Using DllImport with C# and C |
| CompiledMonkey is offline | |
| | #2 |
| the hat of redundancy hat Join Date: Aug 2001 Location: Hannover, Germany
Posts: 2,769
| You can build a struct in C# that matches your C struct by using the StructLayout Attribute.
__________________ hth -nv She was so Blonde, she spent 20 minutes looking at the orange juice can because it said "Concentrate." When in doubt, read the FAQ. Then ask a smart question. |
| nvoigt is offline | |
![]() |
| Thread Tools | |
| Display Modes | |
|