I can see from different posts that preprocessor directives can be used in NT8 indicators. Is it possible to make conditional compiling depending of 32/64 bits platform?
Something similar to the below part of the code:
[StructLayout(LayoutKind.Explicit,Size = 12)] public struct My Data { FieldOffset(0)] public int iCode; FieldOffset(4)] public IntPtr szName; #if NT8_32 FieldOffset(8)] public int iReserved; #endif }
Thank you in advance
GmA
Comment