08-21-2011 01:10 PM
When I wanted to create a SQLite 3.7.7.1 lib in CVI 6.0, I got some error. as the following description:
1. This error is (Mission " ' "), What is the '\301' ?
2. This error is (Initializer must be a constant), how to define the LARGEST_INT64 & SMALLEST_INT64?
Any one could help me? I need a lib to link this version DLL. Thanks.
SQLite308-22-2011 04:43 AM
Hi,
1. "\301" equals to 0x012D which stands for "Japanese PC DBCS" for EBCDIC different languages distinguish.
2. They way to define LARGEST_INT64 and SMALLEST_INT64 is processor dependent. You could refer to the settings below:
/*
** Constants for the largest and smallest possible 64-bit signed integers.
** These macros are designed to work correctly on both 32-bit and 64-bit
** compilers.
*/
#define LARGEST_INT64 (0xffffffff|(((i64)0x7fffffff)<<32))
#define SMALLEST_INT64 (((i64)-1) - LARGEST_INT64)