isn't there a Marshal.WriteBoolean() function ?

  • Thread starter Thread starter Zoury
  • Start date Start date
Z

Zoury

Hi Folks! :O)

I need to stick a BOOL value into the System.Windows.Forms.Message.Result
member. (TRUE for instance..)
How can I get this done ?

I'd like to know the best way to do so for VB and for C#.. because something
it's different. <g>
 
damned fridays... I was looking way to far! <g>

C# :
m.Result = (IntPtr)1;

VB.NET:
m.Result = New IntPtr(1)
 
Back
Top