G
Guest
Hi,
can someone tell me where im going wrong:
[DllImport("Coredll.dll")]
public static extern IntPtr CreateEvent(IntPtr a,bool b,bool c,string d);
[DllImport("Coredll.dll")]
public static extern bool SetEvent(IntPtr hEvent);
....
IntPtr hEvent = CreateEvent(IntPtr.Zero,false,false,"xxx");
bool b = SetEvent(hEvent); //--> MissingMethodException
D
can someone tell me where im going wrong:
[DllImport("Coredll.dll")]
public static extern IntPtr CreateEvent(IntPtr a,bool b,bool c,string d);
[DllImport("Coredll.dll")]
public static extern bool SetEvent(IntPtr hEvent);
....
IntPtr hEvent = CreateEvent(IntPtr.Zero,false,false,"xxx");
bool b = SetEvent(hEvent); //--> MissingMethodException
D