Re: Help! GPF Attention Rob
- Posted by Bernie Ryan <bwryan at PCOM.NET> Aug 05, 1999
- 456 views
Rob >>The Menu handle should be a C_POINTER/C_ULONG/C_UINT, not a C_LONG as you >>suggest. Casting the handle to C_LONG/C_INT runs into the problems you >>described with reading it as a negative number. >>-- David Cuny If there is no difference between a C_POINTER and a C_LONG then why did David get an error by changing to a different a C_xxxx value ? What is the high digit in your CONSTANT different for SIGN and UNSIGNED constants ? If I define a UNSIGNED value and use too large a value I should get an error. What's the sense of me defining any type if your not going to check it for a valid type error. Are you telling us that all variables in "C" that are pushed on the stack are always 4 bytes ? Bernie