Sockets and multi threading in OS 6

2004-04-14 Thread Satoshi Konno
Hi, I want to check the networking and multi threading functions of Cobalt, but the sample seems hung up. I got the sample from the following site, and compile it using PODS v0.1.1. Download the Code Samples - Additional Sample Code http://www.palmos.com/dev/dl/dl_codesamples/ Subject :

Re: Frequency Meter with Palm is it pssoible?

2004-04-14 Thread Alan Ingleby
"Chris Messineo" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > I would guess the freq range would be in the 200-300 cpm range. It is a > graphite shaft with maybe a displacement of 3-5 inches. Sure I could > buy a Freq Analyzer for 350 bucks that would do the job, but there is no

Re: Problems with CreateOffscreenWindow()

2004-04-14 Thread Eddie Gomez
The screen gadget (to which the graphic is written into) is 158x88 in low-density. I retrieve this value with the FrmGetObjectBounds and pass it to the function which creates the offscreen window passing the bounds arguments. The value is correct, but for testing purposes, I hardcoded a value of

one segment, less than 32 still crashes [ was system crashes , large/smart model ]

2004-04-14 Thread Vu Pham
It seems I am getting something weird. I 've trimmed down more code so that the whole app is about 26K, and compiled so that the whole app is in one segment with model Small. The function fA is called only when global data is available. If I put fA in first.c the app works well. If I put it in sec

Re: Getting Started

2004-04-14 Thread Oliver
> I just installed Code Warrior and the instructions > call for me to download the .rom file for the OS > that I'm using from the Palmos site. I > can't find the .rom for OS 5x. Can someone tell me > what it is that I need to download? Assuming you're talking about the PalmOS Emulator (POSE)

Getting Started

2004-04-14 Thread Nate Lockwood
I just installed Code Warrior and the instructions call for me to download the .rom file for the OS that I'm using from the Palmos site. I can't find the .rom for OS 5x. Can someone tell me what it is that I need to download? Thanks Nate -- For information on using the Palm Developer Forums,

Re: about color setting on Preferences APP

2004-04-14 Thread Tim Kostka
Take a look at the UIColorGetTableEntryIndex function. The foreground/background can be different for objects, menus, fields, and forms, so make sure you get the correct ones. Using a debug ROM on the emulator makes this very easy to debug. -- Tim Kostka http://www.nuprograms.com "armada" <[E

about color setting on Preferences APP

2004-04-14 Thread armada
about color setting on Preferences APP How do I get the current foreground and background after user change the color setting on Preferences APP. When you don't what I mean,please see the following picture: http://www.msale.net/MobileFile/MK20040415000.jpg -- For information on using the Palm

Re: Problems with CreateOffscreenWindow()

2004-04-14 Thread Robert Moynihan
Eddie Gomez wrote: Givent the following code snippet: - gWinH = WinCreateOffscreenWindow(bounds.extent.x, bounds.extent.y, screenFormat, &err); if (!err) { if (GetBitMacro(recP->flags.allBits, diveLogStringSignature) != 0) { currW = WinSetDrawWindow(

Problems with CreateOffscreenWindow()

2004-04-14 Thread Eddie Gomez
Givent the following code snippet: - gWinH = WinCreateOffscreenWindow(bounds.extent.x, bounds.extent.y, screenFormat, &err); if (!err) { if (GetBitMacro(recP->flags.allBits, diveLogStringSignature) != 0) { currW = WinSetDrawWindow(gWinH); s

Re: system crashes , large/smart model

2004-04-14 Thread Chris Tutty
From: "Vu Pham" <[EMAIL PROTECTED]> > From: "Ben Combee" <[EMAIL PROTECTED]> > > At 05:43 PM 4/14/2004, you wrote: > > >My app passes the limit of 32K and I use smart model to overcome that > limit. > > >Anyway, for some reason, if I move one of the functions from one file to > > >another file, the

Re: system crashes , large/smart model

2004-04-14 Thread Vu Pham
- Original Message - From: "Ben Combee" <[EMAIL PROTECTED]> To: "Palm Developer Forum" <[EMAIL PROTECTED]> Sent: Wednesday, April 14, 2004 6:08 PM Subject: Re: system crashes , large/smart model > At 05:43 PM 4/14/2004, you wrote: > >My app passes the limit of 32K and I use smart model

Re: system crashes , large/smart model

2004-04-14 Thread Vu Pham
- Original Message - From: "Chris Tutty" <[EMAIL PROTECTED]> To: "Palm Developer Forum" <[EMAIL PROTECTED]> Sent: Wednesday, April 14, 2004 6:25 PM Subject: Re: system crashes , large/smart model > From: "Vu Pham" <[EMAIL PROTECTED]> > > My app passes the limit of 32K and I use smart mo

Re: Sending an e-mail from an app

2004-04-14 Thread Chris Tutty
From: "Richard Coutts" <[EMAIL PROTECTED]> > I need to add the ability to compose and send an email from within my > application. I'm not sure where to begin with this one -- can someone give > me some pointers as to which functions I should be looking at to do this? I > did i cursory search thoug

Re: system crashes , large/smart model

2004-04-14 Thread Chris Tutty
From: "Vu Pham" <[EMAIL PROTECTED]> > My app passes the limit of 32K and I use smart model to overcome that limit. > Anyway, for some reason, if I move one of the functions from one file to > another file, the app crashes when that function is called. > When I move it back, it works. This function

Sending an e-mail from an app

2004-04-14 Thread Richard Coutts
I need to add the ability to compose and send an email from within my application. I'm not sure where to begin with this one -- can someone give me some pointers as to which functions I should be looking at to do this? I did i cursory search though the docs and didn't see anything. Thanks! Rich

Re: String values concatenating

2004-04-14 Thread Chris Tutty
From: "Ben Combee" <[EMAIL PROTECTED]> > At 02:54 PM 4/14/2004, you wrote: > >I have a field on a form that I want to fill in with a value the user > >selects from a List Item in a popup trigger. > > Is this a read-only field? If so, see the recipe at > http://www.palmos.com/dev/support/docs/recip

Re: system crashes , large/smart model

2004-04-14 Thread Ben Combee
At 05:43 PM 4/14/2004, you wrote: My app passes the limit of 32K and I use smart model to overcome that limit. Anyway, for some reason, if I move one of the functions from one file to another file, the app crashes when that function is called. When I move it back, it works. This function is called

Re: Power Consumption

2004-04-14 Thread Chris Tutty
From: "Regis St-Gelais" <[EMAIL PROTECTED]> > "Dave Mottorn" <[EMAIL PROTECTED]> a écrit dans le message de > news:[EMAIL PROTECTED] > > Does anyone have any idea how to determine how much power a Tungsten T2 is > > drawing when an application is running? > > > Have a look there: http://www.laubras

system crashes , large/smart model

2004-04-14 Thread Vu Pham
My app passes the limit of 32K and I use smart model to overcome that limit. Anyway, for some reason, if I move one of the functions from one file to another file, the app crashes when that function is called. When I move it back, it works. This function is called when there is no global data, but

Re: Tungsten Performance Problem

2004-04-14 Thread Ken
I should have specified that it is a Tungsten E. Ken "Ken" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hi, > > I have found that DmFindSortPosition and AppLaunchWithCommand functions are > running much slower than on a Palm Vx (about 5 times). Running the same code > on both devi

Re: Palm Bitmap - DirectColor

2004-04-14 Thread Tilo Christ
Hi! See... the problem is that I have written a palm bitmap reader on the desktop and it reads the PRC tBmp resources directly and it displays the v1, v2 and v3 bitmaps correctly... but it does not display v3 bitmap where flags.indirect = true, the scan lines are all scrambled... any ideas? If you

Re: swtiching/storing Metric/SAE values

2004-04-14 Thread Ralph Curtis
Ditto. Use whichever is expected to be most common as your internal representation and convert to alternate measurement units when displaying or retrieving input if and when required. This is not necessarily as trivial as some would think. Do not convert from one system to the other unless necessar

Tungsten Performance Problem

2004-04-14 Thread Ken
Hi, I have found that DmFindSortPosition and AppLaunchWithCommand functions are running much slower than on a Palm Vx (about 5 times). Running the same code on both devices developed with CW 9 (C++). Should the Tungsten E be slower? Thanks, Ken -- For information on using the Palm Developer

Re: swtiching/storing Metric/SAE values

2004-04-14 Thread Dave Lippincott
I've always found that its best (and less confusing) if you stick to a single, pre-determined, unit in your stored data and convert on the fly. Design the app to work with the same units as stored with the data and convert the results for the user if necessary. That way you won't accidentally mix

swtiching/storing Metric/SAE values

2004-04-14 Thread Eddie Gomez
I am "internationalizing" my app and would like the user to switch between US and International measurements on the fly. For example, I would like to go from Feet to Meters, or PSI to Bars. Has anyone dealt with this? What should be stored in the database itself so that it would take a simple ca

Re: String values concatenating

2004-04-14 Thread Ben Combee
At 02:54 PM 4/14/2004, you wrote: I have a field on a form that I want to fill in with a value the user selects from a List Item in a popup trigger. I have gotten this to work but, when I select a second string, it gets concatenated to the first string. What function should I use to initialize the

String values concatenating

2004-04-14 Thread Chris Hall
I have a field on a form that I want to fill in with a value the user selects from a List Item in a popup trigger. I have gotten this to work but, when I select a second string, it gets concatenated to the first string. What function should I use to initialize the field on the form before filling

Re: max. no. to store feature value in dynamic heap

2004-04-14 Thread Raymond Ho
How to get preference data in sysAppLaunchCmdSystemReset ? Moreover, how to store data in preference in SysNotifyRegister callback ? WBR, Ray "Hays, Jonathan (GE Infrastructure)" <[EMAIL PROTECTED]> ??? news:[EMAIL PROTECTED] ???... Well, first, if you need them to last across a reset, perhaps

Re: Power Consumption

2004-04-14 Thread Regis St-Gelais
"Dave Mottorn" <[EMAIL PROTECTED]> a écrit dans le message de news:[EMAIL PROTECTED] > Does anyone have any idea how to determine how much power a Tungsten T2 is > drawing when an application is running? > > regards, > > Dave Mottorn > Have a look there: http://www.laubrass.com/doc/PUB/BATTERY/ -

Power Consumption

2004-04-14 Thread Dave Mottorn
Does anyone have any idea how to determine how much power a Tungsten T2 is drawing when an application is running? regards, Dave Mottorn -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

WebServices for palm on Mac OS X

2004-04-14 Thread Vincent Coetzee
Hi there I have after much struggling been able to generate the C++ sources for a WebServices client on Palm on my Mac OS X box. I am having tremendous trouble getting the output to link. The link errors are unresolved references to standard functions contained in the gSoap library. I used the

Re: Palm Bitmap - DirectColor

2004-04-14 Thread Ryan Andersen
Thanks for the reply. I have looked at Bitmap.h, that is where I got most of my information. :o) However v2 and v3 both have commented out references to the indirect flag, in looking at the bitmap.h code both v2 and v3 have the following in there structures.: // if (flags.hasColorTable) // Co

Re: Frequency Meter with Palm is it pssoible?

2004-04-14 Thread Chris Messineo
Dave, I would guess the freq range would be in the 200-300 cpm range. It is a graphite shaft with maybe a displacement of 3-5 inches. Sure I could buy a Freq Analyzer for 350 bucks that would do the job, but there is no fun in buying one when you can make one with a PDA or a computer. I was

Re: Frequency Meter with Palm is it pssoible?

2004-04-14 Thread Dave Lippincott
Nothing is impossible but I would be hard-pressed to figure this one out using the IR port. First off, what frequency range do you expect? What would be the displacement of the object? You would need to ensure the IR energy is completely absorbed by the object to be measured while it is at one en

Re: Shared Library

2004-04-14 Thread Ben Combee
At 09:32 AM 4/14/2004, you wrote: Hi all, I made a shared lib but i cant delete it for a palmos.. appears the message "protected database (Dm021B)". You will only be able to delete the library when it is closed; otherwise, the OS protects the database. Try doing a no-notification reset of the

Re: screen resolution question

2004-04-14 Thread Ben Combee
At 04:55 AM 4/14/2004, you wrote: Hi group, Is there any way to calculate the screen resolution: pixels per mm? For WinCE I would do: int res = GetDeviceCaps(hdcDisplay, VERTRES) / GetDeviceCaps(hdcDisplay, VERTSIZE); Please see http://www.mobilegeographics.com/dev/devices.php Note: the pitch val

Re: How to create WebServices on PalmOS??

2004-04-14 Thread Ben Combee
Yes, i want to access an existing webservice from a palmOS application on the device.Can i know how this is done? Please see http://www.alphaworks.ibm.com/tech/wstkmd Further Can i use SQL(like the embedded sql) on the palmOS for maintaing & accessing the Data in the form of tables?,if so how?

Re: Popup trigger

2004-04-14 Thread Matt Graham
Chris Apers wrote: When we create a popup trigger with constructor, we can specify a list ID. Is is possible to retreive this list ID and/or set a new list ID programatically ? I don't know of anything exactly like that. But you can pretty easily simulate it using LstPopupList on a ctlSelectEven

Popup trigger

2004-04-14 Thread Chris Apers
HI, When we create a popup trigger with constructor, we can specify a list ID. Is is possible to retreive this list ID and/or set a new list ID programatically ? Thanks Chris -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support

Discovering devices in a network

2004-04-14 Thread Ricardo Wagner Brito
Hi All, How I can discover others devices in a network using functions of Net Library? This function must works like BtLibStartInquiry or BtLibDiscoverSingleDevice of Bluetooth Library and it need returns IP’s of devices connected in a network Thanks all. Ricardo Wagner Brito – Fortaleza, Cea

Frequency Meter with Palm is it pssoible?

2004-04-14 Thread Chris Messineo
Not sure if this is possible, but I want to build a frequency meter using my Palm. Basicaly it is an experiment where I have an oscilating object and I want to put a piece of relective tape on it and I was hoping I could measure the freq of oscilations over time. I thought the Palm would be p

Shared Library

2004-04-14 Thread Wendel
Hi all, I made a shared lib but i cant delete it for a palmos.. appears the message "protected database (Dm021B)". thanks Wendel B Silva -- WebMail Secrel (C) - www.secrel.com.br -- For information on using the

Re: Large Application

2004-04-14 Thread Bob
Thank you. I am trying your suggestion. I have it compiling with the multi segments. "Ben Combee" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] [snip] > Why not create a multiple-section application? That seems like it would be > easier than defining an application interoperabili

Detecting memory leaks in Palm 6.0 application

2004-04-14 Thread Pravin Tamkhane
Hi All, Is there any tool to detect memory leaks in application under Palm 6.0 . I can do it by knowing the free memory before and after starting the application ( which may not provide me correct memory status). So wanted to know any other alternative method for doing the same. Thanks in advan

Re: reg. Cobalt

2004-04-14 Thread Matt Graham
Krithiga Lakshmi wrote: Is there any other specific simulator available for palm OS. Pl. let me know Yes, there are simulators for most (if not all) of the newer devices. -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

RE: How to create WebServices on PalmOS??

2004-04-14 Thread anilb
Hi Girish, I am using MW Code Warrior IDE for developing the application to use the WebServices application. Best Regards B Anil -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/

Re: How to create WebServices on PalmOS??

2004-04-14 Thread Patrick Philippot
anilb wrote: > Yes, i want to access an existing webservice from a palmOS > application on the device.Can i know how this is done? http://www.palmos.com/dev/tech/webservices/ > Further Can i use SQL(like the embedded sql) on the palmOS for > maintaing & accessing the Data in the form of tables?,i

Re: Bug in Sound Manager (Tungsten)

2004-04-14 Thread LeSalle Munroe
Hi Robert I have had the same problem and have been trying different things to come up with a solution. I have tried my application on a TT and T3, and in two months of testing the T3 only hang once, while the TT hangs everytime.. I have tried using the SystemTaskDelay and for some strange reaso

Re: How to create WebServices on PalmOS??

2004-04-14 Thread anilb
Hi, >>do you want to access an existing Web Service from a Palm OS >>application? I cudnot make my point clear in the earlier mail. Yes, i want to access an existing webservice from a palmOS application on the device.Can i know how this is done? Further Can i use SQL(like the embedded sql) on

RE: How to create WebServices on PalmOS??

2004-04-14 Thread Girish NS
Hi, Can u tell me what IDE u r using or thinking to use for developing ur palm application? Girish. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of anilb Sent: Wednesday, April 14, 2004 4:28 PM To: Palm Developer Forum Subject: How to create WebServices

Re: How to create WebServices on PalmOS??

2004-04-14 Thread Patrick Philippot
anilb wrote: > Further is it possible to create a WebService on PalmOS device? Question unclear. A Web Service, as the name implies, is a web application that is made *permanently* available to other applications via the Web and that exposes methods (functions) that can be called from any platform

How to create WebServices on PalmOS??

2004-04-14 Thread anilb
Hi all, I want to create a database application on palm OS and should use a Webservice. Can i use SQL or any other database on the palmOS for maintaing the Data in the form of tables?,if so how? Further is it possible to create a WebService on PalmOS device? If so can anybody give some guideli

screen resolution question

2004-04-14 Thread George VS
Hi group, Is there any way to calculate the screen resolution: pixels per mm? For WinCE I would do: int res = GetDeviceCaps(hdcDisplay, VERTRES) / GetDeviceCaps(hdcDisplay, VERTSIZE); Thanks! George VS ([EMAIL PROTECTED]) -- For information on using the Palm Developer Forums, or to unsubs

RE: Auto update

2004-04-14 Thread Caspar Heiden, vd
Hi, There are also some VFS functions that will copy a pdb/prc from an SD card to internal RAM, if that is an option. Good luck, Caspar -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Matt Graham Sent: Tuesday, April 13, 2004 9:27 PM To: Palm Developer

Re: T3 not receiving events?

2004-04-14 Thread Jason Oakley
1. Yup 2. The handling determines what a couple of variables will be. case penDownEvent: // Pen on game screen if (RctPtInRectangle(eventP->screenX, eventP->screenY, &BoardRect)) { PenX=eventP->screenX;