Re: Help! GPF
- Posted by Bernie Ryan <bwryan at PCOM.NET> Aug 05, 1999
- 410 views
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