> I hard-code the date my app was compiled as a label inside my "about" form.
> I'd like to get at this string from another part of my code without opening
> the "about" form.  So I guess what I need to do is open the form resource
> and then somehow extract the label control's string data.  Is this possible?
> If so, how?
> 
> P.S. How do all you programmers handle the creation/compile/release date in
> your apps?  Do you use a string resource in the RSC?  Do you have a good way
> to auto-populate this or do you just manually set it before the last compile
> prior to release?

lock down the resource, search for the characters in it? obviously you
would have something like:

xx-xx-xxxx 

or so? if you are not changing the form, you may find that the offset
wont change once you define it. so, then, you can do a MemHandleLock()
+ xxx bytes and read the first yyy characters.

---
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