On Wed, Dec 19, 2001 at 10:42:36AM +1100, Michael Glickman wrote:
Unfortunately current build-prc implemetation
doesn't provide any way to implement a multi-segment code appart from having
__attribute(section(..)), while a simple build-prc fix (suggested in
previous message) can enable that.
I discovered that recently and think it worths be on this list :)
CW 7 seems to generate faster code in 'Smallest' mode than in 'Fastest' !
I tested that on many CPU intensive functions (huffman decompression,
cryptography, LZ decompression) and general code.
So try Smallest mode, you'll
Martin,
I was having the same problem that your. It seems you make a resource to
work-around this problem... Can you tell me how you solved the problem???
Can you post your code???
Thanks,
Lucas
Hello all!
Can someone please clarify the FrmRemoveObject issue a little? Which OS
versions
If you use CodeWarrior, and you have
typedef struct {
UInt32 a;
UInt32 b;
UInt32 c;
} testType;
testType A;
then will A.a be always less than A.c or could it be the other way around
too?
Thanks. Paul N.
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
To support user-specified screen depths (via menu) for PalmOS = 3.5 in
my app, I'm using
WinScreenMode(winScreenModeSet, 0, 0, screenDepth, 0); //
screenDepth=1,2,4 or 8
Switching between screen depths works fine, but when, after switching to
a lower screen depth, I open a form containing a
On Wed, Dec 19, 2001 at 08:44:06AM -0500, Paul Nevai wrote:
If you use CodeWarrior, and you have
[struct { int a, b, c; } A;]
then will A.a be always less than A.c
If CodeWarrior implements C, then yes.
Furthermore A == A.a, modulo conversions.
ISO 9899-1990 6.5.2.1; ISO 9899-1999 6.7.2.1p13.
Ptr p = (Ptr)MemHandleLock((VoidHand)h);
{
do something thing with p
}
MemPtrUnlock(p);
Does this make a difference? It is just good coding
practices to use MemHandleUnlock(h) instead or using
MemPtrUnlock does the same
thanks
Ralph Krausse
--
For information on using the Palm
the title don 't change when i use:
formProduit = FrmNewForm(produits, my new title, 0, 0, 160, 160, true, 0,
0, 0);
FrmSetActiveForm(formProduit);
FrmGotoForm(produits);
and i don't manage to use:
FrmCopyTitle(formProduit, my new title);this line give memory error
--
For
the title don't change when i use :
formProduit = FrmNewForm(produits, my new title, 0, 0, 160, 160, true, 0,
0, 0);
FrmSetActiveForm(formProduit);
FrmGotoForm(produits);
and i have a memory error when i use :
FrmCopyTitle(formProduit, my new title);
--
For information on using the Palm
Subject: memory mgr
From: Rania Saymeh [EMAIL PROTECTED]
Date: Tue, 18 Dec 2001 14:04:10 -0400
hi all
my application runs fine on the palm without crashing, if I run it on a
symbol, it crashes giving me MemoryMgrNew.c, Chunck under-locked error
what exactly does that mean? and how come it
Subject: Re: Sony Memory Stick Audio
From: r zane rutledge [EMAIL PROTECTED]
Date: Tue, 18 Dec 2001 11:21:02 -0800
MSA is not supported on the POSE.
The program must be tested on the real device.
I did know this. The program runs fine on POSE (skipping the whole
thing); it crashes like crazy
I changed all my screen updates to WinDrawChars and everything is working
fine now. Thanks for the help Max and Joe.
regards,
Dave Mottorn
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/
For each time your app calls MemHandleLock, it must call MemHandleUnlock or
MemPtrUnlock for the same pointer/handle. Otherwise you may end up with the
dreaded chunk over-locked error. As long as the memory location is
unlocked, it doesn't matter if you do it as a Ptr or Handle. There have
Ptr p = (Ptr)MemHandleLock((VoidHand)h);
{
do something thing with p
}
MemPtrUnlock(p);
Does this make a difference? It is just good coding
practices to use MemHandleUnlock(h) instead or using
MemPtrUnlock does the same
IMHO, it is good coding practices to use
--- Bernd Abel wrote:
To support user-specified screen depths
(via menu) for PalmOS = 3.5 in my app,
I'm using
WinScreenMode(winScreenModeSet, 0, 0,
screenDepth, 0); // screenDepth=1,2,4 or 8
Switching between screen depths works fine,
but when, after switching to a lower screen
Call a company called Symphony Inc. at 248-540-6985, that all they do is
Palm Financial transactions.
-Original Message-
From: Justin Holman [EMAIL PROTECTED]
To: Palm Developer Forum [EMAIL PROTECTED]
Date: Monday, December 17, 2001 1:29 PM
Subject: Credit Card Authorization
I was
Does expanded mode enable use of virtual functions (and virtual base
classes) in shared libraries as well as non-global launches?
To some extent... CW for Palm 8 has a feature called expanded mode that
gives you more space in the heap by moving some C++ compiler data,
including virtual
Does it matter where in the segment the cpp files are in a multi
segmented application? I.E.
Does
Segment 1
File1.cpp
File2.cpp
File3.cpp
File4.cpp
and
Segment 1
File1.cpp
File3.cpp
File2.cpp
File4.cpp
and
Segment 1
File2.cpp
File4.cpp
File1.cpp
File3.cpp
all build the same prc? Does the
Any one can help me with getting Result from the Calculator to a TextField?
If not any one can give me a sample Calculator..
Thanks all
_
MSN Photos is the easiest way to share and print your photos:
Any one can help me with getting Result from the Calculator
to a TextField?
If not any one can give me a sample Calculator..
Thanks all
Download the SDK examples from Palm.com and check out SampleCalc.
-DGA
--
For information on using the Palm Developer Forums, or to unsubscribe, please
Hi.
Name of my application isZamowienia.prc
I have one resource tSTL in it.
When I run it I want to modify that resource.
Which way?
I tried DmGetRes.. and DmWrite but I got Fatal Exception.
I suppose this database is opened read only.
Is that true?
Thanks for any help.
Wojtek
--
For
Joe Programmer wrote:
At the end of the description of WinCreateBitmapWindow
in the latest docs, you'll find this tidbit:
The bitmap data will not be blitted properly if the
depth of the screen is changed using WinScreenMode and
the new window uses a bitmap that does not define the
Armel ASSELIN [EMAIL PROTECTED] wrote in message
news:71654@palm-dev-forum...
I discovered that recently and think it worths be on this list :)
CW 7 seems to generate faster code in 'Smallest' mode than in
'Fastest' !
I tested that on many CPU intensive functions (huffman decompression,
Eric W. Sirko [EMAIL PROTECTED] wrote in message
news:71678@palm-dev-forum...
Does expanded mode enable use of virtual functions (and virtual base
classes) in shared libraries as well as non-global launches?
No, at least not with the standard way of building shared libraries.
Right now,
Ralph Krausse [EMAIL PROTECTED] wrote in message
news:71685@palm-dev-forum...
Does it matter where in the segment the cpp files are in a
multisegmented application? I.E.
Yes. The order within the segment is the order the object code will be
written into the segment. If your segment grows
I'm trying to detect a network connection without changing
the state of the
network. For example, my application sets an alarm when the
network is
activated, and when the alarm goes off, my app wants to see
if the network
is open, without actually opening the network if it is
closed.
--- wojtek wrote:
Hi.
Name of my application isZamowienia.prc
I have one resource tSTL in it.
When I run it I want to modify that resource.
Which way?
I tried DmGetRes.. and DmWrite but I got Fatal
Exception.
If you want to modify data associated with your
application, why not put
Hey folks.. I have a large (ok, not huge.. just 350K) database (already
built) that I am attempting to download to a device via hotsync.. It seems
to be taking an inordinate amount of time (and even timing out on some
versions of HotSync). Any ideas what could be causing that? An error in the
There is extra overhead per record, I believe.
Are you (for instance :) ) storing one word per record ?
Regards,
Howard.
--
Howard Tomlinson - [EMAIL PROTECTED]
Games Designer, Astraware Ltd. - http://www.astraware.com/
Games for Palm: http://www.astraware.com/palm/
-Original
Any ideas what could be causing that?
Writing many small records is much slower than writing a few large
records with the same total amount of data. If you're using a serial
cable/cradle or IR to sync, then that will also make it somewhat slower,
although this is usually the lesser effect.
Dear subscribers.
I'm currently using a gadget on one of the forms in my application. I would
like this gadget to perform certain actions when a ctlEnterEvent or a
ctlExitEvent is received. The problem is that the only events received when
clicking on the gadget is penDownEvent and penUpEvent.
Hi,
I have data base (3,3mb), to send to palm almost 6 minutes.
The problem is quantity records, no quantity bytes.
Try group the records and send.
Gilsoni Lunardi Albino
[EMAIL PROTECTED] - Análise e Desenvolvimento
http://www.gilsoni.hpg.com.br
WMW Informática Ltda. (48)622-1713
Ed. EJB,
Do send the details - I'm interested.
-Original Message-
From: r zane rutledge [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, December 18, 2001 12:13 PM
To: Palm Developer Forum
Subject: Re: Sony Memory Stick Audio
Not sure what that is in US dollars, but does this
seem outrageous to
Ola,
Gadgets are not like controls, actually I take this back; they are dumb
controls that simply provide a place for you do whatever you please. Know
that you are going to have to handle everything about a gadget in your code
as nothing comes for free.
I had to do a fair amount of
Joe Programmer wrote:
I seem to recall that the OS does some bookkeeping at
midnight -- I wonder if you are interfering with that
by refusing to let your app stop.
I remember that thread, but I don't think that the housekeeping requires my
app to stop since the palm doesn't actually switch
I wrote the following code to be able to scroll text in my window
by means of button on the Palm Device:
case keyDownEvent:
if (eventP-data.keyDown.keyCode == vchrPageUp)
{
some actions
But when I load the considered program to the Palm Device Emulator it
doesn't work.
Help
Thank you to everyone who responded to this.. the problem is, indeed, the
number of records.. rethinking that now. I'd never tried to pre-build a
database with quite this many records before.. and now I know why. :)
--
Bradly J. Barton - [EMAIL PROTECTED]
Jenies Technologies Incorporated
You can do what you want, but you'll have to explicitly open the database
with DmOpen database and the dmModeReadWrite flag:
LocalID dbID = DmFindDatabase(0, databaseName);
if(dbID)
resDB_g = DmOpenDatabase(0, dbID,
I've been looking through the list archives and the KB to find out how to
make a PPP connection from POSE to the host machine, but with no success. I
don't want to redirect output, I need to actually bring up the network
connection in the Prefs - Network panel with the Connect button, and then
Hey propellerheads,
Hypothetically speaking, would it be possible to corrupt the window memory
heap by calling WinDrawChars while the device is doing a FrmDrawForm?
curious really. :)
E/.
This message sent using the Infowave Wireless
Doug McFadyen [EMAIL PROTECTED] wrote in message
news:71584@palm-dev-forum...
I've been reviewing all the posts in the forum on how to create, use,
and
manage .PDB resource files. I have not yet seen any definitive answer
to
the following...
Can CodeWarrior R8 (in conjunction
(I might have posted this 2x so sorry if I did...)
Does it matter where in the segment the cpp files are in a multi
segmented application? I.E.
Does
Segment 1
File1.cpp
File2.cpp
File3.cpp
File4.cpp
and
Segment 1
File1.cpp
File3.cpp
File2.cpp
File4.cpp
and
Segment 1
File2.cpp
File4.cpp
--- Ralph Krausse wrote:
(I might have posted this 2x so sorry if I did...)
I'm sure that you did.
Does it matter where in the segment the cpp
files are in a multi segmented application? I.E.
Yes. You can find Ben Combee's answer here:
Hey, that sounds exactly what I need, thanks! :)
Actually, my terminology is probably skewed. I don't *need* an .PDB file,
per se. I just want my application to be able to open up bitmaps from
someplace OTHER than the app itself. If I can store the bitmaps in .PRC
files, I guess as long as
Okay, cool.
Be sure all the resources of a given type have unique IDs across all the
resource databases you're using (including your app). If you have multiple
resource databases open, and you request ResType=X, ResID=Y when there is
more than one like that, the system will return the nearest
Just for yucks, you could make a pdb file by setting the application's type
to 'data' and the output name to NAME.PDB. You would have 1 tiny code
resource in the DB, but other than that, you'd have a nice pdb with all your
graphics. I've did this for a quick-and-dirty project a while back where
Hi Evan.
Thanks for your answer. This cleared things out a bit for me. One thing
though, that I'm not totally sure of. Do I, under all circumstances, need to
allocate memory for the gadget's data (the one set with FrmSetGadgetData()),
even if the gadget isn't data aware in any way?
Kind
Hi again, Evan.
One more thing. Does this mean that functions like CtlSetEnabled() doesn't
provide the expected result for gadgets? Must this kind of state be managed
by the application?
Kind regards, Ola Theander
-Original Message-
From: Evan Wise [mailto:[EMAIL PROTECTED]]
Sent:
-Original Message-
From: John Marshall [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, 19 December 2001 9:55 PM
To: Palm Developer Forum
Subject: Re: Back to multi-segment: apologies ... and more.
However, in Michael's case, based on the current evidence, I'm not going
to hold my
I started a thread a few weeks ago in an attempt to find a good way to provide
graphical buttons that worked on color devices and was backwards compatible with
Palm OS 3.0. I have found a solution that seems to work.
Palm OS has a graphical button that works great, but is only available on OS
You really will need to reveal what's in some actions for us to figure
this out for you... and be more explicit with the error description.
Doesn't work doesn't help at all.
Gavin.
-Original Message-
From: Alexander Povalyaev [mailto:[EMAIL PROTECTED]]
Sent: Thursday, 20 December 2001
Can anyone tell me how to scroll a list? I have created an 8 line list to
display various text messages. When I call LstScrollList, nothing happens.
What am I doing wrong?
Regards.
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
Can anyone tell me how to scroll a list? I have created an 8 line list to
display various text messages. When I call LstScrollList, nothing happens.
In theory that should work. Can you should is the code where you
create the list and where you try to scroll it? Also, what triggers
the
--- Laura Brewster wrote:
Can anyone tell me how to scroll a list? I
have created an 8 line list to display
various text messages. When I call
LstScrollList, nothing happens.
What am I doing wrong?
If you can see all 8 lines, there is nothing to
scroll.
Most often, your app doesn't
Note to all:
If you are planning to be away from your email anytime
soon, please do not set up an automated reply without
first unsubscribing from the forum (or set
palm-dev-forum nomail to suspend mail). If you
don't, anyone who posts a message to palm-dev-forum
will receive your auto-reply,
Hi. I guess I got the following error because my code becomes too big. How
would I fix that without goint to multi-segment. The whole thing compiles
without the -DDEBUG and the size is about 45K. I use that flag to link in
some HostControl functions to save debug messages to a host file.
The Palm OS is not multitasking, so there can be no race condition.
Evan Wise [EMAIL PROTECTED] wrote in message
news:71726@palm-dev-forum...
Hey propellerheads,
Hypothetically speaking, would it be possible to corrupt the window memory
heap by calling WinDrawChars while the device is doing
My congratulations. This is not yet about size, but about long jumps
the jumps over 32K ie any direction.
libcrt.o comes from libcrt.a, located at /usr/m68k-palmos/lib or
as to gcrt.o it is probably a part of
libgcc.a (I have it in /usr/lib/gcc-lib/m68k-palmos/2.95.3-kgpd)
If unsure, check map
So, where the problem is ?
If you pass keyDownEvent for a bottom key to SysHandleEvent,
it will process it and it won't be dispatched any further.
What you do to prevent that? Put a filter that does not
call SysHandleEvent for a keyDownEvent with vchrPageUp
as keyCode. This will do the trick.
Hi,
I want to know whether i am using the emulator or device at run
time. Depending on this i have to initiate the hotsync process. If it is the
emulator i have to initiate modem sync or if it is the device i have to
initiate cradle sync. Any #defines available to check this.?
On Wed, Dec 19, 2001 at 12:08:12AM -0600, Ben Combee wrote:
Are you sure this applies to PRC tools.
No... I've not analysed the output of PRC tools.
I spent some time in my PalmSource talk last year looking at the
assembly generated by prc-tools for various kinds of function calls and
Alan Ingleby [EMAIL PROTECTED] wrote in message
news:71753@palm-dev-forum...
The Palm OS is not multitasking, so there can be no race condition.
Except if Evan's code is calling the routine from within a system hack
that can be called by code inside FrmDrawForm.
This is a situation where
John Marshall [EMAIL PROTECTED] wrote in message
news:71759@palm-dev-forum...
On Wed, Dec 19, 2001 at 12:08:12AM -0600, Ben Combee wrote:
Are you sure this applies to PRC tools.
No... I've not analysed the output of PRC tools.
I spent some time in my PalmSource talk last year looking
63 matches
Mail list logo