Click here to Skip to main content
15,887,214 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I am developing an app in VC++ which need to access Mozilla cookies. I know little bit that mozilla now stores the cookies in SQLite DB. what all header files or libraries I require and how to access the mozilla cookies?
Posted

1 solution

Well you should try to add the sqllite library to your app to retrieve the cookies from the db


you could try CppSQLite - C++ Wrapper for SQLite[^]
 
Share this answer
 
Comments
Avinash Pachar 10-Jan-12 2:01am    
I tried that but during runtime i get the error "This application failed to start because sqlite3.dll was not found. Re-installing the application may fix this problem."
What can be done to solve this problem.
Avinash Pachar 10-Jan-12 2:57am    
Solved.
We have to copy sqlite.dll in the same prject folder which we are running.
BrainlessLabs.com 11-Jan-12 3:35am    
You need to have sqlite.dll in the system path rather than same folder.
Avinash Pachar 12-Jan-12 1:36am    
thanks for that.
I have another question. using CppSQLite - C++ Wrapper for SQLite I am able to retrieve chrome cookies(where it is stored in file "cookies" without any extention), but when i try to access mozilla cookies which are stored in "cookies.sqlite", i get "UNKNOWN ERRORS". Any idea why this happens and how to solve it.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900