I agree they are a bad thing in general, however there is a lot of
situations where they are by far the most effecient method to use. eg theres
no point passing around a variable which is used in nearly every function.
Placing them in a database would be very slow. Its just a matter of common
Hi,
I want to create some simple beeping sounds, however I have a problem. What
I want is to be able to create is either beep, beep beep or beep beep beep.
But I need to be able to do this in a non blocking way. Therefore I want to
create a function PlayMyBeeps (UInt8 num_beeps) which returns
Hi,All.
I want to find out which part is time consuming task in my program.
Can POSE show me a log for process sequence?
I 'd like to view each function running time duration.
Thanks.
Rgs.
Edward
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
use thr profiling version of POSE.
rik
-Original Message-
From: Edward Ye [SMTP:[EMAIL PROTECTED]]
Sent: 13 February 2001 07:56
To: Palm Developer Forum
Subject: How to view program process sequence?
Hi,All.
I want to find out which part is time consuming task in my
Take a look at
http://oasis.palm.com/dev/kb/papers/1670.cfm
Quite complete.
I found amny limitation on writing shared libraries.
I don't think that you can get rid of "assembly tricks"
I wasn't able to write a shared library in C++.
If you find any solution, please drop me a mail.
Good luck
Hi,
Somehow, someway, Constructor is messing up my bitmaps and I am getting link
errors!
Here is the link error:
Unexpected Error #32. DirectBits not supported.. Compilation halted
I have 5 bitmaps in the project, one as large as 160x160 down to 40x40 and
finally, 22x22. There are also all
Make sure your OS version target is high enough.. in other words,
sysAppLaunchCmdSyncNotify didn't exist in older OS's .. I don't have it in
front of me, but I seem to recall this is an OS 3.3 or 3.5 addition.
No...sysAppLaunchCmdSyncNotify has always been implemented. Take a look at the
Hi all,
I am a new user of a Palm OS . What all setup is required for developing
Palm OS applications?. Pls. help.
Thanking you in advance.
Ketan Likhate
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/
Subject: RE: Table.c Line:2153, Invalid Parameter
From: "Rochester, Dean" [EMAIL PROTECTED]
Date: Mon, 12 Feb 2001 13:37:02 -0500
Well here is a new one. When I start the program using the table and it has
records in the database, it should show the table listing first of the
records. But
Yow, the reputations people get... next thing you know, someone will
describe John Marshall as acidulous, or Aaron Ardiri as :).
:) [couldn't resist]
// az
[EMAIL PROTECTED]
http://www.ardiri.com/--- free games!
--
For information on using the Palm Developer Forums, or to
The speaker on the Palm is not of good enough quality to output speech of
recognizable quality. I'd look into using a TRGPro. The speaker is voice
quality and it can play WAV files directly from a CF card. I believe TRG
also has an API to include playing WAV files from your app.
-
Aaron,
I envy you. how can you work on Palm and always keep a smiling face? :)
-Ken
--
From: Aaron Ardiri[SMTP:[EMAIL PROTECTED]]
Reply To: Palm Developer Forum
Sent: Tuesday, February 13, 2001 8:46 AM
To: Palm Developer Forum
Subject: Re:
Aaron,
I envy you. how can you work on Palm and always keep a
smiling face? :)
Because he doesn't use codewarrior :)
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/
Hi there,
Could anyone please tell me how I can get the ID of the base station from
the palm device?
Thanx.
Best Regards,
Drago
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/
I'm not really intressted in WCA (and the palm proxyserver), just plain
internet access, so that I can use any web browser software to browse
webpages on my emulator (in the same way I do with a modem/cell-phone on the
palm device). Is that really a firewall problem? I can access the net
through
From: maggie lim
i need to convert a string buffer eg, char temp[16], to int temp
can anyone tell me how to convert that in the palm programming or
just tell
me whether it is workable
You should read the String Manager section of the Palm OS SDK Reference. To
convert a string to an
hi,
i've downloaded the InetLow.zip code which gives internet access from palm
emulator.But unfortunately its not working.When i type www.yahoo.com in the
url field and also check the two checkboxes(Include http header,Use lz77
Compression)and then tap the button Get It ,i'm getting an alert
I'm sorry to ask such a basic C question but my reference books are all at
home. Why doesn't the following work.
Char * string;
.
. // string copy here
.
switch(string)
{
case 'Some value':
// do something here
break;
.
.
.
}
I receive the following compile error
Error
You are switching on the address of a string. If you where to do switch
(*string) you would switch on the first character in the string. You cant
(as far as Im aware) switch on a whole string, you would have to use string
compare code as C cannot do string comparisons without using libs.
Rik
One step I was missing to get the emulator working properly
was in the Settings-Properties dialog for the emulator.
Be sure Redirect NetLib calls to host TCP/IP is checked.
Hope this helps.
Sam
Jimmy R wrote:
I'm not really intressted in WCA (and the palm proxyserver), just plain
internet
Thanks. I was afraid that was the case.
Dave
Richard Anderson [EMAIL PROTECTED] wrote in message
news:39446@palm-dev-forum...
You are switching on the address of a string. If you where to do switch
(*string) you would switch on the first character in the string. You cant
(as far as Im
Sorry, I am unable to include any code samples. The code is the property of
the company I work for. Basically, if you write without using any of the c++
extensions (classes, new, delete, etc) you get the extended error checking
of c++ without any problems. If you use classes, do not use virtual
already did that, still no connection...
"sdcoulom" [EMAIL PROTECTED] wrote in message
news:39447@palm-dev-forum...
One step I was missing to get the emulator working properly
was in the Settings-Properties dialog for the emulator.
Be sure Redirect NetLib calls to host TCP/IP is checked.
Is there a way I can implement a tree?
If yes, using what?
if no, what can I use instead?
Thanks
Manal
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/
In article 39350@palm-dev-forum, "Danny Epstein"
[EMAIL PROTECTED] wrote:
AFAIK, this restriction only exists on the last few versions of the Windows
desktop software. It should no longer exist in the next version. Still, if
any of you create pdb's or prc's on the desktop, you should be sure
Does anyone have any sample code illustrating how to implement a progress
dialog box within an application with several standard forms?
I'm stumped - I set up my callback function and call PrgStartDialog. I also
hook in PrgHandleEvent instead of SysHandleEvent (as documented). The
progress
Hi Manal
Is there a way I can implement a tree?
If yes, using what?
there is an TreeView example at VFD-IDE homepage:
http://www.vfdide.com/
by(e)
Stephan
--
PGP Fingerprint: 0090 E02F 39A8 F2AF 6A79 43D7 B847 C26D 108E E2F0
PGP PublicKey: http://www.unet.univie.ac.at/~a9526342/sveigl.asc
From: Manal Milad
Is there a way I can implement a tree?
What language are you using? Trees are usually created using pointers.
Most Palm developers are using C or C++. These languages (and many others)
support pointers. So, you should be able to program a tree.
--
For information on
I know the resource limit is 64K, but how many resources can I create that
are 64K each? I seem to be running into a limit somewhere?
Casey
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/
Getting Started:
http://palmos.com/dev/gettingstarted.html
"Likhate, Ketan" [EMAIL PROTECTED] wrote in message
news:39430@palm-dev-forum...
Hi all,
I am a new user of a Palm OS . What all setup is required for developing
Palm OS applications?. Pls. help.
Thanking you in advance.
Ketan
Is SysCopyStringResource the right API to use to access individual strings
created with constructor?
It depends. If the strings are short and have a well-bounded maximum
length, then SysCopyStringResource is a good choice.
The problems with it are that you're copying data, and the buffer has
I am positive that the library is loaded, because I can call it from an app.
Any other thoughts?
You don't have PC-relative strings selected in your compiler
settings, and thus the library name you're passing to SysLibFind is
bogus?
-- Ken
Ken Krugler
TransPac Software, Inc.
At 12:00am -0800 01-02-13, Palm Developer Forum digest wrote:
Subject: RE: How to display numeric data in the right alignment in the Table
From: "Nicolas Raitman" [EMAIL PROTECTED]
Date: Mon, 12 Feb 2001 11:09:44 -0300
X-Message-Number: 63
Hi, I had the same problem once, and what you have to
Subject: RE: Getting Date at build time
From: Richard Anderson [EMAIL PROTECTED]
Date: Mon, 12 Feb 2001 09:54:29 -
X-Message-Number: 8
Thanks for that.
Do you know anyway to get this in constructor, or will I have to write =
an
event handler for my about box, to call the macros ?
If you
that sounds like a palm7 web-clipping question. if so, try the
pqa-dev-forum.
"Dragomir Goranov" [EMAIL PROTECTED] wrote in message
news:39439@palm-dev-forum...
Hi there,
Could anyone please tell me how I can get the ID of the base station from
the palm device?
Thanx.
Best Regards,
"Remo Hofer" [EMAIL PROTECTED] wrote in message
news:39455@palm-dev-forum...
I hope that creation == modification makes HotSync happy too.
Indeed. I overstated HotSync's happiness requirement. :)
To summarize:
- Some versions of HotSync require creationDate = modificationDate.
- Some versions
you appear to be trying to store the same information in 3 places:
1) each field has memory allocated for its text
2) you are allocating memory (below) to store the field text
3) you are writing the field text to a database.
(1) is required for data entry. (3) is required for data persistence.
incorrect dll?
-Original Message-
From: Fabrice Meichtry [mailto:[EMAIL PROTECTED]]
Sent: Monday, February 12, 2001 11:15 PM
To: Palm Developer Forum
Subject: Problem when I register a COM conduit with CondCfg under
Windows 2000
Hello,
I have create a standard .exe with visual basic
"Richard Anderson" [EMAIL PROTECTED] wrote in message
news:39417@palm-dev-forum...
Therefore I want to
create a function PlayMyBeeps (UInt8 num_beeps) which returns strait away.
See the docs for SndDoCommand, specifically sndCmdNoteOn and sndCmdFrqOn.
These are non-blocking, but they only play
Thanks,
Ive worked around this myself, by writing my own non blocking sound driver.
It works like this:
One function Play_Sound (UInt8 num beeps) which sets up some static data
Then a Do_Sound function which is called every 100ms on nilEvents, which
processes the static data.
Hence I can
(with an unintended assignment) above the:
if(cmd == sysAppLaunchCmdSyncNotify)
{
...more stuff...
}
Just a theory. Another theory: Are you using Poser? It doesn't send you this
launch code (unless you use HotSync to install your apps on Poser).
no - I am
Thanks guys, I really appreciate it.
Carl
"Aaron Ardiri" [EMAIL PROTECTED] wrote in message news:39340@palm-dev-forum...
Not that I ever used them, but in the open source compilers, like
PilRC and
etc., is there a way to view the rcp files graphically before
compiling the
prc file. I
"Richard Anderson" [EMAIL PROTECTED] wrote in message
news:39484@palm-dev-forum...
The only real problem comes if you want to call Do_Sound at a higher speed
as if another message is being processed you get delayed, also you can get
the odd nilEvent for no apparent reason, but it seems to work
Casey Smith wrote:
I know the resource limit is 64K, but how many resources can I create that
are 64K each? I seem to be running into a limit somewhere?
See item 1.6 in my FAQ. There are _many_ limits to beware of.
--
= Warren Young -- Maintainer of the Palm OS Programmer's FAQ at:
=
I'd like to use PhoneLookup but need to place the result into a string
instead of a field. Because of the type of application I'm writing,
I
don't have a field to place the returned value in (don't ask why - I
don't have any choice in this). Anyone know how I could get the value
returned from
It would also be good to download some of the bug fixes for the
CodeWarrior
debugger (among other things). You will need to get the
latest version of
the debugger plugin, found at ftp3.metrowerks.com. Log in with the
following:
These are now all linked to at
Or perhaps the name is a quoted string and pc-relative strings are not
turned on. It would then not find it because the name string would not be
available.
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Kevin
O'Keefe
Sent: Monday, February 12, 2001
the first probelm i am having is everytime the emulator loads, it doesn;t
come to the default opening screen, btu somehow launches into a program i
installed on it. I tried re-downloading the emulator, but the program keeps
loading by default, and i didn't make any switches or prefrences to have
There is a cost associated with calling FtrGet that isn't there when using
real globals, but the question is: is that cost worth it in a given context?
You're basically trading off a possible performance hit for the ability to
make your app not care whether globals are available or not (assuming
Greetings, in the settings of the emulator, there is an option which allows
the emulator to save the session: never, always, ask user. It's under
properties. That might be what you first problem is. Concerning the 2nd
issue, I'll let the more experienced developers deal with it.
Kind regards,
thank you, but that did not help. everytime i launch the emulator
application i get stuck with an older version of a perviosuly installed app
on it whihc doesn't run corretly. I have to do a "New Session" each time i
get in there, because by default the older "buggy" program is running. I
need
I was wondering anybody successfully read files more than 10KB through
PALM wireless API.
I am getting been unsuccessfull in doing so. INetLibSockRead returns 0
bytes, exactly after 10240 bytes.
Is this any problem with the socket setting or the limitation thru
PALM.net server?
Thanks for
Ahhh... Thank you ! Here is the detailed C++ blueprint that's been hitherto alluded
to!
I assume that all these problems arise from the way in which the C++ compiler was
written.
I assume there's nothing conceptually different between a C++ class and an ordinary
struct, in that a local class
I remember there being some differences between OS 3.3 and OS 3.2, but
all the "modern" documentation seems to jump from OS 3.2 to OS 3.5.
Anyone know of some old documentation that covers OS 3.3, and even OS
3.1 in detail?
(I'm trying to support all the 3.1 and 3.3 palms out there and it's
Is there a way I can implement a tree?
If yes, using what?
if no, what can I use instead?
Thanks
Manal
Can I plant a tree?
If so, should I plant a Palm?
And then, will it grow?
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
thank you, but that did not help. everytime i launch the emulator
application i get stuck with an older version of a perviosuly
installed app
on it whihc doesn't run corretly. I have to do a "New
Session" each time i
get in there, because by default the older "buggy" program is
Can someone help with this.My resource file doesnt open.I just do not
understand what the problem can be.The following is the error I get:
Couldnt find project file Starter_res.h
#include .
Error : the file 'Starter_res.h' cannot be opened
Starter.c line 19 #include
Here is the link error:
Unexpected Error #32. DirectBits not supported.. Compilation halted
I have 5 bitmaps in the project, one as large as 160x160 down
to 40x40 and
finally, 22x22. There are also all 1-bit. I have tried
opening each bitmap,
modifying a single pixel and saving the
I think you might not understand how the callback notion works.
You tell the system the name of a function to call whenever it wants
to draw a list item. You'll have to write that function yourself.
The system will tell you, when it calls that function, to draw item
"n" at position "x,y".
Thanks! This might actually be the white paper that was referred to...
I'll let you know if I get C++ working... I remember a recent thread in which a
developer said he had done shared libraries in C++
- you just had to be careful what aspects of C++ you used.
nabil wrote:
Take a look at
Did you try saving the Session (once it's right) ?
- Original Message -
From: "Laor, Boaz" [EMAIL PROTECTED]
To: "Palm Developer Forum" [EMAIL PROTECTED]
Sent: Tuesday, February 13, 2001 10:38 PM
Subject: Re: 2 problems with codewarrior and emulator
thank you, but that did not help.
Mail me both, I'll look at it (emulator+rom and session+your app)
- Original Message -
From: "Laor, Boaz" [EMAIL PROTECTED]
To: "Palm Developer Forum" [EMAIL PROTECTED]
Sent: Tuesday, February 13, 2001 10:38 PM
Subject: Re: 2 problems with codewarrior and emulator
thank you, but that
I was running POSE 3.07 with CW6 and everything was working
fine. I heard I
should upgrade to 3.0a8, so I did. I also installed the
latest plugins from
the CW website.
Now, whenever I run the debugger, I first get a "transport
timeout error",I
hit OK. Hit F5 again and I get an
Are there any issues if I install the Handspring desktop on the same
computer as my Palm desktop? Will they conflict, or can I just use the Palm
desktop to sync the visor? (doesn't seem to work)
Thanks,
-Mike
--
For information on using the Palm Developer Forums, or to unsubscribe, please
Maybe you should go back to the 3.0a7 emulator if the connection is more
stable. Although there is no specific fix for this issue, we did change
the connection scheme between the debugger and the emulator for release 7,
and I haven't heard of these kinds of problems with that version.
I
What kind of problems are you having? I run with POSE 3.0a8 on a regular
basis with DR4 on Windows 2000, and I don't see much problems. BTW, don't
use the SDK's debugger plugin with R7 - the plugin was not intended to work
with IDE 4.1.0.2.
-- jkl
- Original Message -
From: "Alexander
Gary,
You're remembering something else. Receiving a sysAppLaunchCmdSyncNotify LAUNCH
COMMAND has nothing to do with notification or events.
-- Keith Rollin
-- Palm OS Emulator engineer
"Gary Miller" [EMAIL PROTECTED] on 02/13/2001 10:19:31 AM
Please respond to "Palm Developer Forum"
From: Mike Montalvo
Are there any issues if I install the Handspring desktop on the same
computer as my Palm desktop? Will they conflict, or can I just
use the Palm
desktop to sync the visor? (doesn't seem to work)
You can't use the Palm HotSync Manager to sync to a Visor, but you can
I am trying to create forms at run-time from a very large set of data that
will change fairly often. I want to keep all of my information in large
tables, and then create screens from the data in the tables.
I am using FrmNewForm and CtlNewControl to make a form and put buttons on
it, but I
Crash Setup:
Windows NT4 workstation
POSE 3.0a8 and PalmOS40dr4-efigs-v-fulldbg.ROM
HostFS.PRC dr4 installed with 1 volume mounted
CW6 log window:
Process Created: address=0x4ea14
size=0xf0be
cardID=0
dbID=0x403af
Address error exception at 0x490f4 (PrvFindMountedVolume)
Call stack:
...
Hi. There are a few minor things that I would like to customize in the
built-in Palm applications, such as adding check marks next to items in the
date book (like it already does with the to do list). Is it possible for me
to do such a thing, and how? Thanks!
--
For information on using the
You can't modify the built-in apps, as they are stored in ROM. But the
source for each is available from PalmOS and you can modify it and save as
a new file.
At 08:26 PM 02/13/2001 -0500, you wrote:
Hi. There are a few minor things that I would like to customize in the
built-in Palm
INetLow is not a browser, it is a sample application meant to illustrate how
to download data from a website.
If source to this (INetLow) is available, where can I obtain it?
TIA.
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
Greetings,
I had a chat with David Fedor the other day, and my understanding was that
there was a way to replace the Rom one with the modified one as long as
creator Ids match and the version number of the new app was higher than the
one in ROM. Am I being stupid here and did I get it wrong ? Or
Greetings,
I'm working on a project that uses a shared library to communicate with a
server via sockets etc... We'd like to reconnect as soon as the connection
drops. Can the Notification Manager be used to do so ? I understand how the
Notification Manager works, I just need to know whether
What a blunder that was !!! I did not mean 'replace' in the Rom but the
wanted functionality follows:
1. You only see one 'Date Book.prc' for example...
2. Only the most recent one is launched when you click on 'Date Book.prc' in
the
launcher view.
Arona Ndiaye,
Kind regards,
--
For
Hi all-
I notice on my Palm III, Palm IIIc and Palm VIIx, they all register 100
ticks per second. I would have expected different values since they
all
have different processors. Should I anticipate that the current batch
of palms (all of the III, V, and VII series with OS 3.0 to 3.5) are
100
Thank you very much =)
Arona Ndiaye,
- Original Message -
From: "Randy Maxwell" [EMAIL PROTECTED]
To: "Palm Developer Forum" [EMAIL PROTECTED]
Sent: Wednesday, February 14, 2001 4:01 AM
Subject: RE: Built-in Palm Apps (Important correction)
Arona Ndiaye,
The difficulties you
what kind stuff that i need to programming on desktop and/or palm device ?
is it possible to get data from PC's browser then running Hotsync manager
to put the information on palm device ?
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
Hello Everybody
How to select entire row in a table having more than
one column.
i.e. suppose i have a three column in a table when i
click on either of the column for a perticular row,i
want entire row will be selected.
Is it possible, if yes then how?
please help me
thanks
priyesh
Hello Everybody
How to select entire row in a table having more than
one column.
i.e. suppose i have a three column in a table when i
click on either of the column for a perticular row,i
want entire row will be selected.
Is it possible, if yes then how?
please help me
thanks
priyesh
Hi
Anybody knows how can I access the memory reserved for the display Is there
is any VRAM Concept in the Palm how can I Programatically change this
memory Is it possible in PalmOS 3.5 ?
Amit Kalekar
[EMAIL PROTECTED]
www.kalpadrum.com
--
For information on using the Palm
where on the web is a nice place to download palm source code.
Herman
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/
hi,
u can get the zip file from this url..
http://oasis.palm.com/dev/kb/samples/1709.cfm
jeff thanxs a lot..it did help..it is not able to get big files for
eg.www.yahoo.com/index.html ..it gives the error buffer too small for
incoming data.But for a small file it is able to give me the header
-BEGIN PGP SIGNED MESSAGE-
Rochester, Dean wrote:
I have been playing with Code Warrior Lite and it has really helped me
cut my teeth on this Palm Coding. I am wanting to get out of the
limitations of Code Warrior and create some larger apps. Since Palm OS
is a bunch of
-BEGIN PGP SIGNED MESSAGE-
Jun-Kiat Lam wrote:
I've been told that the Pro 6 update is a really minor update (one IDE
update, plus MSL header file fixes). Also, the Palm-specific fixes that
went into the Pro 6 update are already in the IDE that ships with R7
(IDE
4.1.0.2). So,
86 matches
Mail list logo