Re: Help! GPF
- Posted by "Cuny, David" <David.Cuny at DSS.CA.GOV> Aug 05, 1999
- 410 views
Bernie Ryan initially written: >> The first parameter you defined as a >> C_POINTER ( the menu handle ) It should >> be a C_LONG and then: > C_LONG has the constant #01000004 I interpret > this to mean convert a four byte Euphoria value > to a SIGNED "C" INTEGER 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