.cdb Database in the emulator
Howdy.
A couple of questions/comments:
1. How did you get the CDB file into emulation? The file formats are
different between the device and emulation so you can't just copy it up
from the device.
2. In the old days ;-), the way to get a ADOCE working in emulation was to
create a TDB file (just a big old SQL statement in a text file) and copy
that over to emulation. Then we'd open this file and execute the SQL
statement, creating the CDB file (alternately, you could hard-code a SQL
statement into eVB code). In my experience, the pain of getting this to
work in emulation usually outweighed any benefits. More information on how
this works can be found at:
http://www.microsoft.com/mobile/developer/technicalarticles/emuldemo.asp
3. With the new emulation technology, you can actually set up an ActiveSync
connection with the emulator and filter the MDB file as you would to a
device (more information in the PocketPC 2002 Platform SDK help docs).
In my opinion, I've usually found it easier to hit the device directly.
You might consider purchasing an ethernet card if speed of debugging is
what concerns you.
hth,
-mike
This posting is provided AS IS with no warranties, and confers no rights.