On 27 Aug 2017, at 3:35pm, Papa <p...@arbolone.ca> wrote:

> First and foremost, I'd like to thank everybody for your replies.
> Although I have sound knowledge and understanding of C++ [ that can be 
> debatable ] and still remember a little how C works, I have no Idea how to 
> utilize the API of SQLitle3. Therefore, it is very difficult for me to apply 
> the advice given by you all, so, please, using the code I have provided in 
> the OP, how can I implement your advice?

There’s nothing obvious wrong with your SQLite code.  So we think your program 
just doesn’t have enough permissions to create/open and file in that directory.

So we’re suggesting you ignore the SQLite library for now, and just use fopen() 
fwrite() and fclose() to create a text file in that same directory.  If that 
fails, you have a far simpler problem to debug — one which doesn’t involve 
SQLite.  If it works, then we have some information we can use for debugging.

Simon.
_______________________________________________
sqlite-users mailing list
sqlite-users@mailinglists.sqlite.org
http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to