This widget could not be displayed.

LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

SQLite3 Lib

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.

SQLite3
0 Kudos
Message 1 of 2
(3,227 Views)

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)

0 Kudos
Message 2 of 2
(3,208 Views)