Is there any way to dump CommDb on the real device. Is there any tool like ceddump available?
Is there any way to dump CommDb on the real device. Is there any tool like ceddump available?
Haven't seen any, anyway, you could try utilizing normal function on reading the data, and then logging it into a file from your own code.
If you have an AllFiles devcert, then you can get the commdb file off the handset, put it on the emulator c drive and use ceddump to have a look at it.
Which file?
Fire up the emulator, change something in the commdb, then look for the most recently changed files in the emulator filesystem (probably using a windoze explorer search). A quick glance with a hex editor will confirm which one it is.
You probably aren't allowed to do this, so forget you read anything.
Using the TRK hacks I was able to get AllFiles capability and the necessary files. But if I put them to emulator folders - emulators' OS owerwrites them with default ones. It happens both when the when I try to launch the emulator and when I try to use ceddump.
If you are already that big hacker, you could simply open the database file with the two possible approaches (RDbNamedDatabase and RDbStoreDatabase+CPermanentFileStore), one of them will probably work (in fact CommDb.h contains which one), and use the RDbDatabase+RDbView methods to get info about tables, column names, column types, and the data itself after all.