2012/1/2 olli.zh...@gmail.com <olli.zh...@gmail.com>

> Would i get your help? Thanks very much!
>
> 发自我的 iPad
>
> 以下是转发的邮件:
>
> *发件人:* Richard Hipp <d...@sqlite.org>
> *日期:* 2012年1月2日格林尼治标准时间+0800下午10时35分39秒
> *收件人:* Olli Zhong <olli.zh...@gmail.com>
> *主题:* *回复: begging for SQLite support*
>
> We will be glad to help you on the SQLite mailing list:
> <sqlite-users@sqlite.org>sqlite-users@sqlite.org
>
> 2012/1/2 Olli Zhong < <olli.zh...@gmail.com>olli.zh...@gmail.com>
>
>> Dear D. Richard Hipp ,
>>
>> first, let me send the most sincere wishes to you, Happy New Year!
>>
>> i have used SQLite embeded db system. I have successfully transplanted
>> it into our project, which can be run perfectly on  Microsoft Window
>> platform.  while on the ARM9, ADS1.2 platform, unfortunately, it has a
>> thorny issue, and i have studied and searched all over the internet
>> and all of my co-workers and friends, there are no results.
>>
>> the issure as follow:
>> when i join the SQLite code into my project, and use it, such as a
>> simple db operate
>> int main()
>> {
>>    char szFile[32] = "MY DB.db";
>>    char *szError = 0;
>>    sqlite *mpDB = sqlite_open(szFile, 0, &szError);
>>
>
You should be using SQLite3, not SQLite2.  SQLite2 is really old and
obsolete.

Documentation for how to open an SQLite3 database is here:
http://www.sqlite.org/c3ref/open.html



>  }
>>
>> there're no erros in the Compiling and Linking. but when i debug the
>> project, the procedure can not pass the language c library
>> initialization function "void __rt_lib_init ( void )",
>>
>>        bl __rt_lib_init        //can not pass
>>        bl  main        ;
>> so my procedure  can not enter into main function , the program run fails.
>> but when i delete the SQLite codes, the procedure  recover normal.
>>
>>
>> what's the reason? would i get your help? thanks very much.
>>
>>
>> ――
>> olli.zhong
>> General Manager
>> Shenzhen Zony Medical Electronics Co.,Ltd.  China
>>
>
>
>
> --
> D. Richard Hipp
> <d...@sqlite.org>d...@sqlite.org
>
>


-- 
D. Richard Hipp
d...@sqlite.org
_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to