Re: Help! GPF

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

C_LONG has the constant #01000004 I interpret this to mean convert a four
byte Euphoria value to a SIGNED "C" INTEGER

C_POINTER has the constant #02000004 I interpert this to mean convert a four
byte Euphoria value to a UNSIGNED "C" INTERGER

Therefore if you pass a UNSIGNED INTEGER to "C" and "C" thinks it is a
SIGNED value then large integers will be assumed as negative and cause
errors.

Bernie

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

Search



Quick Links

User menu

Not signed in.

Misc Menu