Hello Alexandre,
char *PalmOS = NULL;
Very wrong! You must allocate enough memory for the character buffer
before you write to it:
char PalmOS[maxStrIToALen];
There is a constant maxStrIToALen that tells you how long the maximum
buffer size must be. Look into the API.
Regards, Alexander.
--
I have a program that works fine on devices with palmos 4.1 and early
but on OS 5.2 i get a invalid ptr error
whats wrong?
ULong romVersion;
char *PalmOS = NULL;
FtrGet(sysFtrCreator, sysFtrNumROMVersion, romVersion);
StrIToH(PalmOS,romVersion);
thnx
--
For information on using the Palm
I have a program that works fine on devices with palmos 4.1 and early
but on OS 5.2 i get a invalid ptr error
whats wrong?
ULong romVersion;
char *PalmOS = NULL;
FtrGet(sysFtrCreator, sysFtrNumROMVersion, romVersion);
StrIToH(PalmOS,romVersion);
writting to memory address 0 is
In article [EMAIL PROTECTED], Alexandre Luz Barreto wrote:
I have a program that works fine on devices with palmos 4.1 and early
but on OS 5.2 i get a invalid ptr error
whats wrong?
ULong romVersion;
char *PalmOS = NULL;
FtrGet(sysFtrCreator, sysFtrNumROMVersion, romVersion);
Ton van Overbeek [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
In article [EMAIL PROTECTED], Alexandre Luz Barreto wrote:
I have a program that works fine on devices with palmos 4.1 and early
but on OS 5.2 i get a invalid ptr error
whats wrong?
ULong romVersion;
char