On Sat, Jan 26, 2002 at 11:39:29AM -0500, James Barwick wrote:
Yes, read the API...Better yet, why don't we all just be nice and give
the guy some real help...like an example? Whadda ya say? Eh?
Sometimes somebody suggests that someone read a book or the Palm OS
documentation. Sometimes
On Sat, Jan 26, 2002 at 10:21:34AM -0800, Joe wrote:
Where did you get the source code, Max? The source code I have
includes everything, forms and all. Perhaps you are using gcc and you
expect to see the resources in text files?
Perhaps he is using GCC and he expects, reasonably enough, to
Hi John,
Sorry for being so philosophical.
I beg your pardon about what James had written. James is very kind and nice
and has helped me a lot. I thought not to disturb others by asking Scott and
James individually because only these persons responded to my query. Dont
blindly believe what he
George Williams [EMAIL PROTECTED] wrote in message
news:74832@palm-dev-forum...
OK, by asking this question I will reveal a lot of ignorance I have
about
low level software topics, but I am brave and so, here't goes...
Lets says I've located the entry point of a desired function call in a
Hello all,
I am facing the problem in getting the data left justified in tables. Data
in the columns are coming as right justified but I need them as left
justified. the columns style is labeltableitem.
Can any one please help me.
Thank you in advance...
Regards,
Murali
--
For information
on 28/01/02 8:19, George Williams at [EMAIL PROTECTED] wrote:
Lets says I've located the entry point of a desired function call in a
PalmOS code resource in a PalmOS application. For example, I know the exact
memory address of the function and I know that I can use it as a function
pointer
on 25/01/02 17:06, Mike Shubeck at [EMAIL PROTECTED] wrote:
The first problem I have run into is how to call functions in the plug-in,
other then the one at the first offset in the code resource database as
demonstrated by the PlugIn-1 example. I tackled this by having the function
at the
Hi,
For one of my applications, I explicitly specify a stach size of 10KB, and
it runs without any problems on all Palm devices, real or emulated.
However, it causes a Stack Overflow error on Pose sessions with a Sony
ROM (I don't have a real Sony device, or the devices/ROMs of other OEMs).
The
I want to sort the records in my PDB. I am trying to get DmInsertionSort to
work for this. I have defined the following Compare function (added lots of
code to make debugging inspection easier):
Int16 MySort(void* Rec1,void* Rec2,Int16 Other,
SortRecordInfoPtr Rec1SortInfo,SortRecordInfoPtr
Thanks. The one you showed work! However, I still
encounter the following problem:
StrPrintF(msg, %02X, byCheckSum);
Assuming byCheckSum = 0xB9
Instead of printing the string B9, it printed
00B9. Please let me know how to fix this
problem. Thanks.
--- Joe [EMAIL PROTECTED] wrote:
---
Alex,
The use of undocumented functions will probably cause a problem when running
your 68K application in the emulation environment of PalmOS 5.0.
I strongly suggest that before shipping your code, you download from the
developer seeding program the Simulator running on Windows and providing
Hi,
I want my function to perform a deletion of all records at a time but
instead it only deletes half of the records.
Anybody has experienced this before?
//In the SetupMod.c
UInt16 i = 0;
.
.
.
case cmdModDel :
for(i = 0; i CountRecord(); i++)
RemoveModule(i);
Solved my problem I had to expand the record into the structure as
opposed to just pointing to it. I misinterpreted what the rec1 rec2
pointers actually pointed to...
I want to sort the records in my PDB. I am trying to get DmInsertionSort
to
work for this. I have defined the
Sorry, i made a small typing mistake here.
Here is the actual one.
I want my function to perform a deletion of all records at a time but
instead it only deletes half of the records.
Anybody has experienced this before?
//In the SetupMod.c
UInt16 i = 0;
.
.
.
case cmdModDel :
for(i = 0;
At 06:00 AM 1/28/2002 -0800, Phong Nguyen wrote:
Thanks. The one you showed work! However, I still
encounter the following problem:
StrPrintF(msg, %02X, byCheckSum);
Assuming byCheckSum = 0xB9
Instead of printing the string B9, it printed
00B9. Please let me know how to fix this
problem.
Hi.
You can reverse the for loop and remove from the last one (DmNumRecords-1) to
0.
Max
--- Low Pui Kuen [EMAIL PROTECTED] wrote:
Hi,
I want my function to perform a deletion of all records at a time but
instead it only deletes half of the records.
Anybody has experienced this before?
At 10:13 PM 1/28/2002 +0800, Low Pui Kuen wrote:
Hi,
I want my function to perform a deletion of all records at a time but
instead it only deletes half of the records.
Anybody has experienced this before?
//In the SetupMod.c
UInt16 i = 0;
.
.
.
case cmdModDel :
for(i = 0; i
Oops, I meant records numbers are maintained 0 to (nRecords - 1)
-Ken
--
From: Low Pui Kuen[SMTP:[EMAIL PROTECTED]]
Reply To: Palm Developer Forum
Sent: Monday, January 28, 2002 9:13 AM
To: Palm Developer Forum
Subject: Problem with removing all the
After deletion of a record, the record index's are reassigned. They are
always maintained 1 - nRecords. Try always passing index=0 to
DmRemoveRecord() or delete the entire database and recreate it.
-Ken
--
From: Low Pui Kuen[SMTP:[EMAIL PROTECTED]]
Reply To: Palm
This shouldn't happen. The normal behavior in the case of 0NX, or 0Nd, or
... should be only 0-padded when the yielded string length is shorter than the
precision N.
Does it help if you force type conversion of byCheckSum with (UInt8)?
Max
--- Phong Nguyen [EMAIL PROTECTED] wrote:
Thanks. The
You will need to draw the text left justified yourself. I think the way
I've done it is to set the column style to custom, add a draw handler
function and draw the text left-justified (use windrawchars and start from
the left)
- Original Message -
From: Murali [EMAIL PROTECTED]
In the for CountRecord() will be invoked in every iteration. And when
i became N/2 you had removed n/2 records and CountRecord will return
n/2. Then the for statement will exit.
You should write somthing like:
UInt16 n = CountRecord();
for(i = 0; i n; i++)
RemoveModule(i);
- Original
Does it help if you force type conversion of
byCheckSum with (UInt8)?
Nop, it doesn't work with casting although byCheckSum
has already been defined as Byte.
Phong
--- Max Bian [EMAIL PROTECTED] wrote:
This shouldn't happen. The normal behavior in the
case of 0NX, or 0Nd, or
... should
We would like to launch another application as a subroutine of our
application, which launch code is appropriate for this ?
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/
Has anyone had problems running Constructor (I have tried both 1.6 and
1.6.1) on a system with large amounts of RAM installed? Specifically I am
trying to run it on a Windows XP installation, with 1GB of RAM. I am
getting Memory is Low, please close some windows or increase the memory
partition
James,
See the thread slow Constructor v1.6 in tools-forum from November 7th last
year. Hope this is the one you are looking for.
Best regards,
Christian Falch
http://www.falch.net
- Original Message -
From: James Lee [EMAIL PROTECTED]
To: Palm Developer
I do this by defining a custom launch code, and then sending it to my app.
See sysAppLaunchCmdCustomBase in SystemMgr.h for more info.
-DGA
-Original Message-
From: Charles Busch [mailto:[EMAIL PROTECTED]]
Sent: Monday, January 28, 2002 9:51 AM
To: Palm Developer Forum
hi
i believe the max limit for a PDB is 64000 records at 32K per record.
(at least that's what ive been told)
so..the data i am trying to convert is well within that limit
can you explain more on the endian issues? how did you figure out what was
wrong and how did you resolve it?
thanks!
--- news.palmos.com [EMAIL PROTECTED] wrote:
Where can I find source code of (lot of) sample programs for Palm?
This will help in to jumpstart sw. dev.
Check out:
http://www.palmopensource.com/
--
Wade Guthrie |
[EMAIL PROTECTED]|
MSPaint appears to only allow for blackwhite or color(.?bpp). No
options for setting the other bit depths.
MSPaint works for for 2, 4, 8 and 24 bit colour. However, I've found it
to be a bit quirky when trying to change colour depths. The workaround I
found was to open the bitmap you want
Can I transfer the .pdb files and .prc files through
the sockets (Not using the conduits) from the host to
the palm. And Vice-Versa. I just want to use the net
libraries on palm, and the VC++ (MFC or Win SDK)on the
host.
Thanx,
Saharsh
__
Do You
Isn't the bmp saved by MSPaint default 24bpp color? How exactly the copy/paste
trick changes the color depth?
Max
--- Jim Cooper [EMAIL PROTECTED] wrote:
MSPaint works for for 2, 4, 8 and 24 bit colour. However, I've found it
to be a bit quirky when trying to change colour depths. The
Silicon Valley -- BizSoft Corporation is releasing three (3) new Palm OS
Objects for use with InstallShield 6.x. These Objects allow experienced
InstallShield developers to rapidly create setup programs for Palm OS files
and conduits.
Experienced InstallShield developers with minimal
Actually using for...next for this kind of task has never been a good idea.
The way to do it is:
while(CountRecord()0)
RemoveModule(0);
- bobby
-Original Message-
You should write somthing like:
UInt16 n = CountRecord();
for(i = 0; i n; i++)
RemoveModule(i);
--
For
Max Bian [EMAIL PROTECTED] wrote in message
news:74864@palm-dev-forum...
This shouldn't happen. The normal behavior in the case of 0NX, or
0Nd, or
... should be only 0-padded when the yielded string length is shorter
than the
precision N.
Does it help if you force type conversion of
It is not, but...
Isn't a good idea to have it behave just like others? Is there a POSIX
standard (or other standard) that the most follow?
Max
--- Ben Combee [EMAIL PROTECTED] wrote:
Remember that StrPrintF is not sprintf. It doesn't behave like the
standard routine in several ways, the
You have not explained how to change the color depths in MSPaint. Obviously
converting from BlackWhite to color is available in the Attributes panel,
but I have found no options for changing the color depths. I'm using Win2K
MSPaint ver5. Are you using a later version? Or a panel that I can't
Max Bian [EMAIL PROTECTED] writes:
It is not, but...
Isn't a good idea to have it behave just like others? Is there a POSIX
standard (or other standard) that the most follow?
The other side of that argument is that if it was supposed to behave
like sprintf, it would have been named
I am just getting back to Palm programming after a long hiatus, and I am
now getting an error message all the time from the Emulator (v3.3):
app just read from memory location 0x25B4 which is the id field
of the the frmControlObj starting at 0x215E, which belongs to the
form ...
This is
Hi,
I am trying to speed up some VFS access. I was just
wondering if this:
error = VFSFileDBInfo(fileRef, NULL, NULL, NULL, NULL,
NULL, NULL, NULL, NULL,
NULL, type, localCreator,
NULL);
is faster than this:
error =
According to the Palm OS Programmers' Companion documentation ...
**
Some applications, such as forms packages, must create their displays at
runtime-it is for applications such as these that the Dynamic UI API is
provided. If you're not absolutely sure that you need to change your UI
The control repeat event itself contains a (user defined) controlID field,
hence :
switch (event-data.ctlRepeat.controlID) {
case MainKeyboardBackspaceRepeating: ...do something
case MainKeyboardTabRepeating: ...
...
is, and always has been, the right way to do this.
Of course, it
--- Terry Dennis wrote:
According to the Palm OS Programmers' Companion documentation ...
snip
Note that there is no documented limitation regarding
ScrollBars. This omission of a limitation lends credence to
the thought that the FrmAddScrollBar routine (or, whatever)
was simply
i have a PODS application and i would like to enable the user to use
grafitti to navigate thru the long dropdown menus in the search form.
basically i want the functionality seen in the Expense application where
if you pull down the dropdown menu, and write D for example, in the
grafitti
i have a PODS application and i would like to enable the user to use
grafitti to navigate thru the long dropdown menus in the search form.
It's possible to set up lists so they can be navigated with graffiti.
There's a list attribute you need to set, and the list has to be in
sorted order, and
where would i get the expense source code?
i could not find in with the examples from the sdk
On Mon, 28 Jan 2002, Steve Mann wrote:
i have a PODS application and i would like to enable the user to use
grafitti to navigate thru the long dropdown menus in the search form.
It's possible to
Hi,
I am interested in writing a Palm OS application to read off data in the
GPS unit from a Palm OS application. Is Serial Manager the right way
and the only way to go? Thanks.
-Elizabeth
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
I need some explanation here. I am simply or I thought, trying to change
some settings in my application so users don't have to manually go to
the perfs application and change it themselves. First I want to change
under pref-connection from Palm Modem US/Canada to Direct Serial.
Second, under
--- l e s s wrote:
where would i get the expense source code?
i could not find in with the examples from the sdk
go to http://www.palmos.com/dev/tools/sdk/sdk2452534/sdk35.html and,
after accepting the license agreement, click on Examples to get the
sample code from the 3.5 SDK. I don't
John,
It occurs to me that what you suggest has a subtle bug:
MemHandle h;
void *p;
h = MemHandleNew(100);
p = MemHandleLock(h);
// Use p for a while
// ...
MemPtrUnlock(p);
MemPtrFree(p);
By the time your reach MemPtrFree, p is invalid. You should never reference
a pointer after the
All I did was use PaintShop Pro and paste the images I drew into
Constructor.
PaintShop Pro should be suitable for converting bitmaps.
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Joe
Sent: 28 January 2002 21:08
To: Palm Developer Forum
Subject: Re:
Andy Yeong [EMAIL PROTECTED] wrote in message news:74842@palm-dev-forum...
Bob Whiteman [EMAIL PROTECTED] wrote in message news:74827@palm-dev-forum...
It is my understanding that if you use MemHandleFree() with
MemHandleNew()
things go smoothly. The same is true if you use MemPtrFree()
Ralph Krausse [EMAIL PROTECTED] wrote in message
news:74916@palm-dev-forum...
I need some explanation here. I am simply or I thought, trying to change
some settings in my application so users don't have to manually go to
the perfs application and change it themselves. First I want to change
Yeah! I realized that after I posted it. But someone else already posted a
correction telling
me I'm wrong, so I didn't bother to make a follow up post. Sorry about that and
thanks for
explaining my error.
Anyways, I got mistaken with the original question and responded too quickly.
On
Was I too suble? I think that Jim was asking for missing API function
feedback and such. And specifically about the backlight. Well,
controlling the backlight does not appear to be really easy to do under
OSv5. OK. It appears to be impossible.
But, thanks for the slap on my head. I had
I am tired of using the built-in functions in
CodeWarrior. The book said that StrPrintF is
equivalent to sprintf and that really screw me up when
trying to port some of the existing and working codes
in other platform into CodeWarrior. What I have had to
do is rewriting several sections in the
Hello all -
I'm working on an application that will have lengthy records, so I've
elected to store them as packed, per all the recommendations I've seen. I've
poured over multiple examples in several books and in the SDK 3.5 examples
of packing and unpacking records.
However, I just don't seem
--- Phong Nguyen wrote:
I am tired of using the built-in functions in
CodeWarrior. The book said that StrPrintF is
equivalent to sprintf and that really screw me up when
trying to port some of the existing and working codes
in other platform into CodeWarrior.
What book says StrPrintF is
Phong Nguyen [EMAIL PROTECTED] wrote in message
news:74927@palm-dev-forum...
I am tired of using the built-in functions in
CodeWarrior. The book said that StrPrintF is
equivalent to sprintf and that really screw me up when
trying to port some of the existing and working codes
in other
given the following code segment, why doesnt my table show up in the form?
Boolean AddStoreFormHandleEvent(EventPtr eventP)
{
Boolean handle = false;
FormPtr frmP=0;
TablePtr pTable = GetObjectPtr(AddStoreAislesTable);
Int16 i=0;
switch
--- Colleen Dong wrote:
given the following code segment, why doesnt my table show
up in the form?
code snipped
You have to make the columns usable, too.
To initialize a table, you have to:
1. Set every row usable that you want to see.
2. Set every column usable that you want to see.
3.
Got it in sdk40-examples.zip. Thanks.
Joe [EMAIL PROTECTED] wrote in message
news:74784@palm-dev-forum...
--- Blair Kingsland wrote:
Is the source code for the Address Book app available from Palm?
Postings here say it is available in the PalmOS SDK. But the
source code for the
Well, I looked up the documentation. The list attribute to set is
search. However, there is one thing I found very interesting
though. A list's attribute data is stored in a ListType structure and
from the doc, there is a big warning saying never access structure
elements directly because it
John Leung [EMAIL PROTECTED] wrote in message
news:74944@palm-dev-forum...
Well, I looked up the documentation. The list attribute to set is
search. However, there is one thing I found very interesting
though. A list's attribute data is stored in a ListType structure and
from the doc,
And yet,
there are still no API to change the list's attribute event in OS4's
SDK. So, am I missing something?
Did you look in the Glue headers? How about LstGlueSetIncrementalSearch?
Regards,
Steve Mann
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
Is source code for Notepad application available? It didn't came with the
SDK.
-AS
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/
66 matches
Mail list logo