Subject | An Error That Never Was Before... |
---|---|
Author | Kurt Federspiel |
Post date | 2008-07-28T21:52:53Z |
Greets:
I have a rather large DB Object that I was pairing down into smaller objects. After one such pairing I compiled and ran only to get:
"Dynamic SQL Error SQL error code = -804 Incorrect values within SQLDA structure"
This is a simple select of 12 fields, all varchar (typedef struct size of 370 bytes). The only thing I know that is different between the working and non-working objects is:
#pragma pack (1)
This is necessary for the communication protocol we are attempting to use (BACnet).
Can someone give me a brief description of what I messed up??
Thanks.
Kurt.
I have a rather large DB Object that I was pairing down into smaller objects. After one such pairing I compiled and ran only to get:
"Dynamic SQL Error SQL error code = -804 Incorrect values within SQLDA structure"
This is a simple select of 12 fields, all varchar (typedef struct size of 370 bytes). The only thing I know that is different between the working and non-working objects is:
#pragma pack (1)
This is necessary for the communication protocol we are attempting to use (BACnet).
Can someone give me a brief description of what I messed up??
Thanks.
Kurt.