>> should be ok.
> 
> Right up until the point PalmSource or someone else defines 'tver'(2) 
> for some other purpose...

you know me ;) you know what, if you want your version number to
read xx/xx/xxxx in the info dialog, just use tver0001.bin :) and,
it'll work.

a better solution:

memHandle = DmGetResource('tFRM', 1000);
ptr = (UInt8 *)MemHandleLock(memHandle);
ptr += offset;    // <<-- calculate this by looking at the resource
StrNCopy(str, ptr, 10);
MemHandleUnlock(memHandle);
DmReleaseResource(memHandle);

viola. just copy it from the tFRM03e8.bin resource directly.
no double strings, no duplication. small amount of code. save
the hassle. piece of cake.

that is what i would have done right off the bat. you know you
can also *store* your date *FIRST* in the form?

FORM ..
BEGIN
  LABEL "xx/xx/xxxx" AUTOID AT (X Y)
 
  .. everything else
END

then, you dont have to worry about the offsets.. abuse the resource
format; go on! take a risk *g* 

---
Aaron Ardiri
[EMAIL PROTECTED]
http://www.mobilewizardry.com/members/aaron_ardiri.php [profile]

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/

Reply via email to