dbwritex, bug or no bug

Discuss PocketC for Palm OS (including Desktop Edition)

Postby Ralpf on Mon Apr 05, 2004 12:03 pm

since PocketC 6.5.1 I experienced a problem with dbwritex/dbreadx. After try and see a while a got this:
I define a pointer with "malloct(int nBlocks, string blockTypes)" using an "i" (integer) in the blockTypes for some entries.
Then I write the entries into a database with "dbwritex(pointer ptr, string format)" using the string format "c" (a single byte) for the mentioned integer entries.
Now the integer entries of the pointer are not written as single bytes but they are all written as 0 (cero).
This is since PocketC 6.5.1.
Posts: 3
Joined: Fri Dec 29, 2000 7:32 pm

Postby dewey on Fri Apr 09, 2004 3:20 am

That is a bug in the current PocketC (and the last several versions also). I will address this in the next release.
Site Admin
Posts: 749
Joined: Sun Oct 21, 2007 5:12 am

Return to PocketC for Palm OS

Who is online

Users browsing this forum: No registered users and 3 guests