Hi
I'm writing the interop functions for functions in a C dll. All these functions return INT (32 signed). However, the return value is to be interpreted as a bool (false=0, true!=0). Can I do the following without problems
[DllImport("UsedLib.dll", EntryPoint="UsedFn")
[return : MarshalAs(UnmanagedType.I4)
public static extern bool UsedFn( )
Thank yo
--
Tom Tempelaere