Re: Help! GPF

new topic     » goto parent     » topic index » view thread      » older message » newer message

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

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu