Database Structre

2007-02-10 Thread Durgesh Trivedi
Is their any API by which we r able to get the database structure of any palm application means we dont have the source code of SMS or versa mail application but if i want to know what is the database field they r using in their application is their any way to do that so that i can

Re: Compiling in Command Line

2007-02-10 Thread Caimito Three
How about my newly created program.. is there a way that i can compile it with the command line in windows? what should i do? c,) -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Re: Database Structre

2007-02-10 Thread Pinus Alba
Hi Durgesh, I believe the answer is no - unless the app owner (or hacker) publishes the structure you are stuck. The best you can probably do is use a tool like FileZ to examine and reverse engineer the database records (when permitted by law). Regards, On 10/02/07, Durgesh Trivedi [EMAIL

Re: Compiling in Command Line

2007-02-10 Thread Pinus Alba
Hi Caimito, Look at a makefile for a similar project and copy the relevant commands to a batch (.bat) file. Basically use m68k-palmos-gcc to compile each .c file to a .o object file pilrc to compile each .rcp file to a .ro or series of .bins build-prc to link the code and resources The

Re: Design Problem: Installing Database Files

2007-02-10 Thread Pinus Alba
Hi Walt, Yes, I think your way is better. I was wondering why I suggested a temporary copy and rename. I then remembered that the last time I did something similar it was copying configuration files between networked machines operating in a master/slave hot-standby mode. There you had to

Re: Error: *** proc magic mismatch detected (cygwin DLL)

2007-02-10 Thread Don Albertson
Curtis said (on or about) 02/09/2007 18:04: My PC was just upgraded to WinXP, so I installed PODS 1.2.0.23, and copied over my project files to the workspace directory. The environment starts up OK, but when I try to import a project into the workspace, I get an error: --

Crc16CalcBlock

2007-02-10 Thread Helmut A. Bender
Hi, does anybody know the polynom which Crc16CalcBlock uses? -- Mit freundlichen Grüßen Helmut A. Bender Helmut Bender GmbH 75203 Königsbach-Stein Amtsgericht Mannheim HRB 501213 Geschäftsführer: Helmut A. Bender -- For information on using the PalmSource Developer Forums, or to unsubscribe,

Re: Crc16CalcBlock

2007-02-10 Thread Pinus Alba
Hi Helmut, Googling palmos crc polynomial gives http://www.koders.com/c/fid46FB44E6842DFB68A79E4D3CF70D4FF38D55D402.aspx which may have what you want. Regards, On 10/02/07, Helmut A. Bender [EMAIL PROTECTED] wrote: Hi, does anybody know the polynom which Crc16CalcBlock uses? -- Mit

Problem parsing pdb record entry in c#

2007-02-10 Thread Ron
Hi all, I am creating a parser for a pdb taken from a palm device. Though I am having trouble reading the record entry List. Everything works up to the point where I try to parse the record entry list. Here's my code: --- class RecordList { public UInt32 nextRecordListID;

Re: Crc16CalcBlock

2007-02-10 Thread Helmut A. Bender
Am Samstag, 10. Februar 2007 14:11 schrieb Pinus Alba: Hi Helmut, Googling palmos crc polynomial gives http://www.koders.com/c/fid46FB44E6842DFB68A79E4D3CF70D4FF38D55D402.aspx which may have what you want. Thanks, but no... thats the CRC32 of the zlib... I need to know the polynomial

Re: Crc16CalcBlock

2007-02-10 Thread Aaron Ardiri
On 2/10/07, Helmut A. Bender [EMAIL PROTECTED] wrote: Thanks, but no... thats the CRC32 of the zlib... I need to know the polynomial of the included Crc16CalcBlock API... http://www.koders.com/c/fid8749525F1BD9303912F4DFBD3B01AE13A35604D5.aspx there you go; same site - but, the sources to

Re: Problem parsing pdb record entry in c#

2007-02-10 Thread Bodo Wenzel
I am parsing up to NumRecords fine... but for some reason I get huge numbers for my offsets. I think I'm inturpreting the offset wrong... but am not quite sure what to do. Palm uses the big endian number format, and presumably you're on a x86 PC with little endian. Try to read the offset as

Re: Database deleted after soft reset on T|X

2007-02-10 Thread Alexander R. Pruss
I think each record in vhsu.pdb has the Deleted attribute set. Now, while I don't think PalmOS should be deleting databases that have the Deleted attribute set on each record, maybe this is a part of the cause. Try changing the record attributes and see if it still happens. Alex -- For

Math error, keep getting same value

2007-02-10 Thread DeanO
I have a simple test program ( see posting below) where I take two numeric decimal fields and try to multiply their values and show the results on the next form. I keep getting the same resulting value of 4.267e Any help would be great Here is the code

Re: Math error, keep getting same value

2007-02-10 Thread Pinus Alba
Hi DeanO, There is a note that gcc users (like me) should use FlpBufferAToF() instead of FlpAToF() (PalmOS ref. manual). I believe it used to be the case that only codewarrior developers could use FlpAToF. Could you be using the wrong function? Regards, On 10/02/07, DeanO [EMAIL PROTECTED]

Re: Math error, keep getting same value

2007-02-10 Thread DeanO
so how would I convert this using the other function you suggested // Convert a string to a float theCompFloat.fd = FlpAToF(FldGetTextPtr(field) ); theFloat1 = theCompFloat.d; -- For information on using the PalmSource Developer Forums, or to unsubscribe, please

Re: Math error, keep getting same value

2007-02-10 Thread Pinus Alba
Hi DeanO, Use theCompFloat.fd = FlpBufferAToF(FldGetTextPtr(field) ); theFloat1 = theCompFloat.d; Regards, On 10/02/07, DeanO [EMAIL PROTECTED] wrote: so how would I convert this using the other function you suggested // Convert a string to a float

Re: Problem parsing pdb record entry in c#

2007-02-10 Thread Ron
Thank you bodo. That was part of the problem. I initially thought that it wasn't as the UInt16 for numRecords was reading right... but it turned out I was also reading 1 byte ahead. Thanks again :) -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see

Re: Time with hundredth second precision

2007-02-10 Thread Lionscribe
I once did this by calculating the true time every time the application started or woke up using something like this: UInt32 gTicks = 0; void CalcStartingTick() { gTicks = TimGetTicks(); UInt32 seconds = TimGetSeconds(); UInt32 secondsTwo = 0; do{ gTicks = TimGetTicks();

Re: Database deleted after soft reset on T|X

2007-02-10 Thread Patrick Tuan
Alex, thank you very much for your time one this, I appreciate that a lot. However, you must be mistaken. I just checked again, only the Dirty bit is set, the Deleted bit is not set. All records are the same. What I'm doing right now to tackle this problem is: 1. Use DmSyncDatabase() at