Click here to Skip to main content
13,046,679 members (56,485 online)
Rate this:
Please Sign up or sign in to vote.
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 8-Jan-12 20:11pm

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

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[^]
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
We have to copy sqlite.dll in the same prject folder which we are running.
Shakti Misra 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)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web02 | 2.8.170713.1 | Last Updated 9 Jan 2012
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100