View Full Version : How to use function call in C language access in sqlite3 database?
Newbie89
May 5th, 2013, 09:59 AM
let say in my C language I have
pcap_loop(handle,1,ProcessPack, NULL);
in my main program.In this function can get data that I need...
how to link ProcessPack function so that to read data and store into sqlite database?
Tony Flury
May 5th, 2013, 11:01 AM
Have you read the links that I gave you in the last thread - did you follow my suggestion about getting a small application working with stores and recovers data from a database - if you have - then you will have everything you need to do what you want - the only thing you need to do now is decide on your table design.
Using sqlite is just like using any other library.
Newbie89
May 6th, 2013, 09:36 AM
I have try to learn accessing sqlite in c language...But my problem now is dunno how to link...
Tony Flury
May 6th, 2013, 04:07 PM
What do you mean you don't know how to link - please be specific about what you are actually trying to do - a small sample project, and the errors or messages that you are getting.
Powered by vBulletin® Version 4.2.2 Copyright © 2024 vBulletin Solutions, Inc. All rights reserved.