Re: Accessing one shared library globals from other

2007-03-01 Thread hv reddy
Dear Lionscribe, Thanks for your reply. In first library the address of globals is stored in SysLibTblEntryType * libEntryP; libEntryP-globalsP globalsP is a void pointer. so i tried to pass this globalsP to the funstion in second library. but if i run the application it is crashing. extern

Re: Neat way to handle a RGBColorType as a UInt32 ?

2007-03-01 Thread Aaron Ardiri
On 3/1/07, Luc Le Blanc [EMAIL PROTECTED] wrote: why not use a macro to make your code easier to understand at the same time :) #define RGBColorTypeSet(a, val) (*((UInt32 *)(a)) = (val) #define RGBColorTypeCompare(a, b) ( (*((UInt32 *)(a)) == *((UInt32 *)(b))) ) i would have done: #define

Re: register for the TCP data recieve in the appl

2007-03-01 Thread Durgesh Trivedi
Thank to Jagat Nibas Mahapatra and Jeff Loucks for their suggestion and help Now i resolve my problem and after 1 week of full frustration understand that for the TCP/IP socket connection we have to test our application on the device rather than just on the emulator or simulator bcz in some

RE: Displaying a default time in an editable field

2007-03-01 Thread Stephen H.S. Lee
Dear NG, First of all, you should know that the way of dealing with a Label is different from a Field. If it is a Label, you should use the following function, see the API Reference for usage. CtlSetLabel(); Otherwise, it is a Field, you should put text onto the field with following

RE: register for the TCP data recieve in the appl

2007-03-01 Thread Jagat Nibas Mahapatra
Well, this is expected, because Simulator is always a simulator, it cant be better than device :) Regret that very few companies are releasing emulators for pervasive devices. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Durgesh Trivedi Sent:

memory foot[rint

2007-03-01 Thread david_fire4
Hi, Can anyone help me measure my application's memory footprint on a treo 650? I'm clueless... Thanks, Zohar. -- For information on using the ACCESS Developer Forums, or to unsubscribe, please see http://www.access-company.com/developers/forums/

Re: non delivery of Palm software development suite by ACCESS onlinestore

2007-03-01 Thread Pinus Alba
Hi Vinod, This sounds like pretty shoddy service. Contact your credit card company and ask them to issue a charge-back on your account. Offer them copies of your e- mail as supporting evidence. Where are you located? I'm sure somebody physically close to you would be willing to post a copy of

Re: File manipulation

2007-03-01 Thread Michal Seliga
treo has same structure as you know from lifedrive on SD cards. internal palm storage works differently and you should take look to date manager functions. also on internal storage subdirectory structure doesn't exist at all Sruthi wrote: Hi, Am working on an application to work in Treo 650

ARRIVED- Palm software development suite by ACCESS onlinestore hasfinally arrived.

2007-03-01 Thread Vinod Khadilkar
Hi all, The development suite CD has reached me today. bye Vinod Khadilkar Pinus Alba wrote: Hi Vinod, This sounds like pretty shoddy service. Contact your credit card company and ask them to issue a charge-back on your account. Offer them copies of your e- mail as supporting

Re: Tracking heap memory

2007-03-01 Thread david_fire4
You can see it in the simulator (right click on it - view - heap) - Original Message - From: Sruthi [EMAIL PROTECTED] To: Palm Developer Forum palm-dev-forum@news.palmos.com Sent: Thursday, March 01, 2007 13:56 Subject: Tracking heap memory Hi all.. How can we track

Re: Accessing one shared library globals from other

2007-03-01 Thread Lionscribe
You should be calling ECLib1Sub(ECLib1Ref, libEntryP-globalsP, 11, 1, testsub) not ECLib1Sub(ECLib1Ref, (libEntryP-globalsP),11, 1, testsub); LionScribe -- For information on using the ACCESS Developer Forums, or to unsubscribe, please see http://www.access-company.com/developers/forums/

Re: Accessing one shared library globals from other

2007-03-01 Thread hv reddy
Yes i did. It works. Thanks for your reply. Regards, Hvr Lionscribe [EMAIL PROTECTED] wrote: You should be calling ECLib1Sub(ECLib1Ref, libEntryP-globalsP, 11, 1, testsub) not ECLib1Sub(ECLib1Ref, (libEntryP-globalsP),11, 1, testsub); LionScribe -- For information on using the ACCESS

Binary files to palm

2007-03-01 Thread hv reddy
hi All, Is there any way to load binary file into palm? I have one binary file in PC.is it possible for me to move into palm? Or i have to create in palm application a text/ASCI file and then convert into binary file? I think we can only create ASCI/Text files but not binary files. like

re: memory foot[rint

2007-03-01 Thread Alexander R. Pruss
Which memory footprint? The application code and resources take up some space in the cache on NVFS devices or in storage. This is roughly equal to the size of the prc file, except that ARM-translations of resources get created. The globals go in dynamic RAM. I expect you can find the size

re: How do you rename a projects .prc file

2007-03-01 Thread Alexander R. Pruss
I have no idea how to use the development suite--I find IDEs take too long to learn. But every Palm developer should have a copy of par: http://www.djw.org/product/palm/par/ This will let you change the database name and do lots of other good stuff. If the suite put in a tAIN resource with the

Re: Development tool

2007-03-01 Thread Alexander R. Pruss
I just use prc-tools together with the free ConTEXT editor: http://www.context.cx/ . The amount of time it would take me to figure out how to do complicated build procedures in an IDE (e.g., when I need to compile some auxiliary code on the desktop and run it on the desktop to generate a

Re: ROM Database, How to tell?

2007-03-01 Thread Lionscribe
Thanks, that did the trick. By th way, what is the not-so-simple way you seem to be refering to? :-) Jeff Loucks wrote: The simplest check is if (MemLocalIDKind (dbID) == memIDPtr). -- For information on using the ACCESS Developer Forums, or to unsubscribe, please see

RE: Displaying a default time in an editable field

2007-03-01 Thread Alexander R. Pruss
An advantage of using noneditable fields is the possibility for the user to copy text from them into a clipboard. -- For information on using the ACCESS Developer Forums, or to unsubscribe, please see http://www.access-company.com/developers/forums/

Problem with Menus in double display density

2007-03-01 Thread Thomas Lösel
Dear all, I have a form in my application where I want to use the double density display with a solution of 320x320 pixels. Therefore I added to my application the following code in the procedure of the form-open-event: err := FtrGet(sysFtrCreator, sysFtrNumWinVersion, ksys); if (ksys

Re: Problem with Menus in double display density

2007-03-01 Thread Michal Seliga
if you play with WinSetCoordinateSystem you must make sure that you return it to default state as soon as you finish drawing. system counts with defaults and it doesn't work well if you keep it on kCoordinatesDouble Thomas Lösel wrote: Dear all, I have a form in my application where I want to

Re: Binary files to palm

2007-03-01 Thread Jeff Loucks
You can use an SD card and manipulate the files like you would on any other platform (VFS). Otherwise, you need to package it into a native database, beam or hotsync it to the device and use native (Dm,File) access methods. There are tools for converting to and from native resource/record/stream

Elements of Palm OS Supported Under StyleTap

2007-03-01 Thread P. Douglas Reeder
I asked StyleTap what was and wasn't supported under StyleTap, and this is what they responded: ...Hotsync is not currently supported. ARMlets, both M68k and ARM sound streams (but not extended streams), 1.5 (as well as single, double and triple) density bitmaps and fonts are all

Re: Neat way to handle a RGBColorType as a UInt32 ?

2007-03-01 Thread Lionscribe
Well wouldn't it all be simpler if you used the simple define #define RGBtoInt(a) (*(UInt32 *)((a))) You can use that for setting and comparing, just make sure 'a' is a RGB variable. This is similiar to the format of the DateToInt and TimeToInt macros, that are defined in the headers.

re: Elements of Palm OS Supported Under StyleTap

2007-03-01 Thread Luc Le Blanc
Douglas Reeder wrote: I asked StyleTap what was and wasn't supported under StyleTap, ? and this is what they responded: ...Hotsync is not currently supported. To me, this is the biggest mising feature. It means any ap that uses a conduit to export its data to the PC is severely

re: Elements of Palm OS Supported Under StyleTap

2007-03-01 Thread Alexander R. Pruss
With fewer and fewer users using hotsync (e.g., I think Treo users rarely do), we developers really need to find alternate ways of transfering data to the PC than via hotsync conduit, e.g., SD card (this is probably the easiest from the developer standpoint, but not all users have an SD card),

Re: Problem with datatype

2007-03-01 Thread Jeff Loucks
Int32 and UInt32 on Palm hold the same as a signed and unsigned 32 bit integer on every other platform. signed 32 bit integer = -(2^31)..(2^31-1) = (2-2147483648..2147483647 unsigned 32 bit integer = 0..(2^32-1) = 0..4294967295 You probably did something like the following: Int32 result = 370 *

Re: Netlib socket dat read problem second time

2007-03-01 Thread Jeff Loucks
Did you get your app fixed? I think you replied that it works on the real device, but not the emulator or simulator. That is true for socket notices, because notices are implemented in NetLib, which is mostly bypassed on the emulator. If you want to utilize all the functionality of NetLib on the

RE: Netlib socket dat read problem second time

2007-03-01 Thread Jagat Nibas Mahapatra
I agree, with Jeff, but I found debugging in device easier [because it worked for me immediately !] that setting up a PPP connection in PC and configuring emulator. But again, I remember some non-blocking socket calls behaving differently in emulators and devices. Jagat _ From:

Re: Netlib socket dat read problem second time

2007-03-01 Thread Sagar Mody
hi, If you want to utilize all the functionality of NetLib on the emulator, do not use 'Redirect NetLib calls to host TCP/IP'. Instead, use native NetLib and configure a PPP connection through a serial port to a PC configured to host a PPP connection. Can you ellaborate on this in more