Consultor Eletrônico



Kbase P27384: SQLCODE should be INT on 64-bit operating systems.
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   30/06/2003
Status: Unverified

GOAL:

Compile ESQL/C program on 64-bit operating system.

SYMPTOM(s):

Compiled program may crash after compiling on a 64-bit operating system, using a 64-bit compiler.

CHANGE:

Porting an ESQL/C application to a 64-bit environment.

CAUSE:

SQLCODE was declared as LONG rather than INT.

FIX:

Declare SQLCODE as INT.