marshalling
C#
5
Posts
2
Posters
0
Views
1
Watching
-
What size should I use to get an equivalent C struct for the type bool? i.e. struct { DWORD a; bool b; } s; would be struct s { int a; // bool a; or char a; or byte a; ? } ...what's the best way to marshal C bools?
grv575 wrote: ...what's the best way to marshal C bools? bool is not a C data type. Look at the typedef of it.
-
grv575 wrote: ...what's the best way to marshal C bools? bool is not a C data type. Look at the typedef of it.
-
What does it say in the header file? It all depends how that implementation is defining it.
-
What does it say in the header file? It all depends how that implementation is defining it.