ernie nichols wrote:
I'm using resources to provide strings for dynamic list selection ... do
they need to be locked i.e. do they move around like heap handle chunks?
thx
Yes, you have to lock your resources when using them. At least every
code example I've seen does so.
Greetings,
Jan
--
For
At 01:47 AM 3/30/2004, you wrote:
Matt Graham wrote:
If you don't have a conduit, you may want to consider using
DmRemoveRecord(). I'm pretty sure the DmArchiveRecord() and
DmDeleteRecord() functions are used primarily for saving data to be used
in the conduit. Is there a reason you don't
Multi-segmenting is probably easier than a shared library, though
both are rather clumsy. There are a few other things you can try
that might be easier and could squeeze out enough space if you're
close to the limit:
* Do you have large amounts of static data in your C code?
You can move
I want to get the physical size of the screen.e.g: UX50 is 480*320,Zire71
is 320*320.
I find WinGetDisplayExtent or WinScreenGetAttribute cann't help me to solve
it.
Please help me,and thanks.
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
Hi
Can anyone point me to source where HotSync install logic is described.
I want to know how HotSync decides wheather app shall be installed on device
if it already exists there.
Thanks.
Even google wasn't helpful
I cant remeber where it was
Wojtek
--
--
For information on using the Palm
Wojtek [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
Hi
Can anyone point me to source where HotSync install logic is described.
I want to know how HotSync decides wheather app shall be installed on
device
if it already exists there.
Thanks.
Even google wasn't helpful
I cant
I am using EvtEnqueuePenPoint to queue up my Pen Down and Pen UP for
simulating button clicks.
Unfortunately, EvtEnqueuePenPoint uses digitizer co-ordinates. The only way
I guess to make this happen is by using
PenScreenToRaw, but whenever I use it is gives me an error saying its a
system
Hi all,
I need to open a file on the SD card (to start an app with SysUIAppSwitch) but I get
an error calling VFSVolumeEnumerate. I assume this is because it uses global
variables. Is that correct?
Now this code needs only be called on a T3. Is it safe to assume the vol. ref. nr that
is
Ben Combee a écrit :
At 03:48 PM 3/29/2004, you wrote:
Do I have to keep the ControlPtr returned by CtlNewControl or can I
forget about it and leave it up to the form to free the allocated memory
upon deletion? If I don't keep this ControlPtr, can I recover it later
in the usual way with
Hello,
I was wondering which language seems to be more widely used for Palm
development, C or C++? Is there any major benefit for using one language
over the other?
Being a newbie (I have CodeWarrior for development), how long should a
basic palm application take to develop? I have an
Hello all,
Is Palm OS 6.0 released. Where can I get 6.0 SDK and its features.
Regards,
Deepak.
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/support/forums/
I would like to launch versamail with the ability to activate the download
immediately.
Do someone knows wich is the launch code and the params to perform this ?
Thanks
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
Hi DeePak;
The Palm OS 6 SDK is realesed with the Palm OS Developing Suite, the is an
IDE from Eclipse Project.
You can download this suite from www.palmsource.com .
Regards,
Davi Carvalho
- Original Message -
From: Deepak T V S [EMAIL PROTECTED]
To: Palm Developer Forum [EMAIL
I am confused by the behaviour of my code warrior . my problem is
in my program i have an assignment
UInt32 qqq;
qqq = (aiRows * aiColumns * 4); ///aiRows = 160, aiCloumns = 140 ;
Now the problem : after execution qqq gets a value of 24064 (binary : 0101 1110
) instead of 89600
- Original Message -
From: wax wacky [EMAIL PROTECTED]
To: Palm Developer Forum [EMAIL PROTECTED]
Sent: Tuesday, March 30, 2004 7:58 AM
Subject: CW compiler Data type
I am confused by the behaviour of my code warrior . my problem is
in my program i have an assignment
UInt32
wax wacky [EMAIL PROTECTED] a écrit dans le message de
news:[EMAIL PROTECTED]
I am confused by the behaviour of my code warrior . my problem is
in my program i have an assignment
UInt32 qqq;
qqq = (aiRows * aiColumns * 4); ///aiRows = 160, aiCloumns = 140 ;
Now the problem : after
Hi,
I writing a custom field control but I have a problem handling a
wide mode capital letter input on Tungsten T3. There two events comming
one after another. First comes a keyDownEvent with the lower charakter and
after that a keyDownEvent with the upper one. I am using a
Hi
how can you add
printf (%ld bytes sent\n, nTx );
in my codewarrior programs ???
it is not supported by Codewarrior as standard ???
but I found
\CodeWarrior\(MSL for Palm OS)\MSL_C\MSL_Common\Include\
the stdio.h
but not the .lib or...
how do you add it in your file (for debugging
I have an application with a list of images read from VFS memory card. There
are 12 images available on a screen.
There are two buttons Go to top and Go to bottom to jump to first 12
images or last 12 images.
It works properly at first. But after I click Go to bottom and Go to top
alternatively
- Original Message -
From: Lotfi [EMAIL PROTECTED]
Newsgroups: palm-dev-forum
To: Palm Developer Forum [EMAIL PROTECTED]
Sent: Tuesday, March 30, 2004 9:13 AM
Subject: function printf
Hi
how can you add
printf (%ld bytes sent\n, nTx );
in my codewarrior programs ???
it
I have seen that is possible to launch adding an email, but no info in the
SDK on how to activate dawnload immediately.
Does anyone knows how to simulate the press and hold on the email hardware
key on T|W?
In this case Versamail automatically starts donnloading.
TIA
Enrico Pavesi [EMAIL
Hello!
I'm trying to build a GLib with mutliple code sections included.
Since I didn't found information which said clearly that this will work, I
first tried to make an example. I used the MersenneTwister GLib sample code
and changed it to be multi-sectioned.
I changed mt19937int.c to:
Vu Pham [EMAIL PROTECTED] a écrit dans le message news:
[EMAIL PROTECTED]
- Original Message -
From: Lotfi [EMAIL PROTECTED]
Newsgroups: palm-dev-forum
To: Palm Developer Forum [EMAIL PROTECTED]
Sent: Tuesday, March 30, 2004 9:13 AM
Subject: function printf
Hi
how can you
I think you're supposed to use Palm Reporter, which is a non-CodeWarrior tool, and the
HostTraceXXX calls. You can find the Reporter stuff here:
http://www.palmos.com/dev/support/docs/devguide/UsingReporter.html
-Jon
--
Jonathan Hays
Palm OS
As I create some UI controls dynamically, I would like to store their
attributes (text and position/size) in the resource file, so as to
maintain the pattern of one specific resource file per language version,
thus avoiding in-code language-specific stuff.
I defined a Custom Data resource with
Sorry, I hit Send too soon. I meant to add that there is an alternative to the
HostTraceXXX calls, which is to use DbgMessage. However, it seems to behave
erratically on different ROMs, and has some general issues. Perhaps it was beat upon
as a child... =)
-Jon
How do you copy a file from a Palm device to a PC? I know HotSync will
backup the file to the PC if the backup bit is set but do you need to buy
a program to set the backup bit on a file?
Of course not. Just set the bit in the proper record.
d.
--
For information on using the
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
I believe you are looking for WinDrawChars.
For example (not tested):
StrPrintF(debugString, The value of x is %d, x);
WinDrawChars(debugString, StrLen(debugString), 2, 140);
***
*
*
- Original Message -
From: Michael Wasson [EMAIL PROTECTED]
To: Palm Developer Forum [EMAIL PROTECTED]
Sent: Tuesday, March 30, 2004 11:11 AM
Subject: Copy file from Palm device to PC
With the Pocket PC, it is easy to copy any file on the device to a PC
using
Microsoft ActiveSync.
How do you set the bit in the proper record?
David A. Desrosiers [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
How do you copy a file from a Palm device to a PC? I know HotSync will
backup the file to the PC if the backup bit is set but do you need to
buy
a program to set the
David A. Desrosiers wrote:
How do you copy a file from a Palm device to a PC? I know HotSync will
backup the file to the PC if the backup bit is set but do you need to buy
a program to set the backup bit on a file?
Of course not. Just set the bit in the proper record.
Backup bit is specific to
Backup bit is specific to the PDB not the record, correct?
Or the .prc, yes. It is stored in the flags, i.e. 0x9.
d.
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/support/forums/
If you don't want to create a conduit, you can hack it and change the type to be
'appl' and set the back-up bit. Just make sure to change it back to whatever it was
when you're done with it, or it will show up in the finder.
As for tools to set the back-up bit,
begin shameless plug
There is a
Ben Combee a écrit :
At 03:48 PM 3/29/2004, you wrote:
Do I have to keep the ControlPtr returned by CtlNewControl or can I
forget about it and leave it up to the form to free the allocated memory
upon deletion? If I don't keep this ControlPtr, can I recover it later
in the usual way with
Michael Wasson [EMAIL PROTECTED] a écrit dans le message de
news:[EMAIL PROTECTED]
With the Pocket PC, it is easy to copy any file on the device to a PC
using
Microsoft ActiveSync.
How do you copy a file from a Palm device to a PC? I know HotSync will
backup the file to the PC if the backup
Sounds to me like you have a memory leak somewhere.
Decimal error 259 is memErrInvalidParam (invalid param or requested size
is too big).
Brad
DongDong wrote:
I have an application with a list of images read from VFS memory card. There
are 12 images available on a screen.
There are two
At 09:13 AM 3/30/2004, you wrote:
Hi
how can you add
printf (%ld bytes sent\n, nTx );
in my codewarrior programs ???
Use StrPrintF to format a string, then output the string using whatever
technique seems appropriate. One article on this topic is
At 12:06 PM 3/30/2004, you wrote:
The form seems to be more than moved: I call CtlNewControl right after
calling FrmInitForm for a modal dialog and pass it form. After that,
several buttons see their text changed. I suspected a conflicting ID with
internal object I didn't know about, so I chose
At 06:06 AM 3/30/2004, you wrote:
My Programming Bible (which I should have read in the first place) says I must
call FrmRemoveObject to delete these dynamically created controls when closing
the form. Why? Doesn't deleting the form free all this allocated memory? Even
more so if the form
On Tue, 30 Mar 2004, Hays, Jonathan (GE Infrastructure) wrote:
If you don't want to create a conduit, you can hack it and change the
type to be 'appl' and set the back-up bit. Just make sure to change it
back to whatever it was when you're done with it, or it will show up in
the finder.
In
Ben Combee a écrit :
At 12:06 PM 3/30/2004, you wrote:
The form seems to be more than moved: I call CtlNewControl right after
calling FrmInitForm for a modal dialog and pass it form. After that,
several buttons see their text changed. I suspected a conflicting ID with
internal object I
Hello
259 (decadic) is memErrInvalidParam and occurs in the memory handling at
several occasions, but they are mostly accompanied by an alert. Because this
was not your case, it was probably during the call to one of these functions
MemPtrResize
MemHandleResize
when you requested too big memory.
Brian Smith [EMAIL PROTECTED] a écrit dans le message de
news:[EMAIL PROTECTED]
snip
In most cases, the type doesn't have to be changed. Usually I think the
backup bit only has no effect on a database if its type is 'DATA'... if
memory serves.
snip
I use the backup bit to transfer a 'DATA'
I have a small question to add to this:
Will PalmOne be releasing a ROM update for any of it's ARM devices (esp. T3)
to OS6 in the future? If not, I'll likely be looking for a new device with
someone who does.
Thing is, I came from a line of several Sony devices and finally got pissed
enough
Subject: RE: Running a program in a background process
From: Jeff Leal [EMAIL PROTECTED]
Date: Mon, 29 Mar 2004 21:51:54 +0100
Ok, thanks dor the info guys. Basically what I want to achieve is this:
I have a PDA with a GPS antenna (Garmin iQue 3600). There is
some firmware software that
Hy all.
Actually, my app receives from the server a string that may have from
10bytes to something about 10 kb, using NetlibReceive.
The string received from the server contain records that will have something
about 400 bytes.
The server sends all the string at a time and the palm app that has
At 02:13 PM 3/30/2004, you wrote:
I was adding a few dynamic controls to bypass Constructor's 100
objects/form limit. Easier than moving to PilRC...
Are some dynamic controls type safer than others under Palm OS 3.x? Popup
triggers maybe? I could re-arrange them if this is a
solution.
1) Is this the best way of work with large memory pointers on Palm? This
memory is allocated for all the time that process run (about 4 minutes), and
the emulator alert me that the memory should not be allocated for all this
time. So, if this isn't the correct way, which one is?
A 10K allocation
The Memory Manager semaphore has been held for longer than 1 minute.
PalmSource recommends that applications not acquire the Memory Manager
semaphore at all, but that if they do, they should not hold the semaphore
any longer than that.
I receiving this message on emulator, but i don't know what
At 06:16 PM 3/30/2004, you wrote:
The Memory Manager semaphore has been held for longer than 1 minute.
PalmSource recommends that applications not acquire the Memory Manager
semaphore at all, but that if they do, they should not hold the semaphore
any longer than that.
I receiving this message on
I need to open a file on the SD card (to start an app with
SysUIAppSwitch) but I get an error calling VFSVolumeEnumerate. I
assume this is because it uses global variables. Is that correct?
No; you should be able to call VFSVolumeEnumerate even when you don't
have globals available. What's the
Will PalmOne be releasing a ROM update for any of it's ARM devices (esp. T3)
to OS6 in the future?
Neither PalmOne nor any other licensee has officially announced their
intentions, AFAIK, so it is all speculation at this point. It isn't
a technical decision, in many (most?) cases, but a
Ben Combee a écrit :
At 02:13 PM 3/30/2004, you wrote:
I was adding a few dynamic controls to bypass Constructor's 100
objects/form limit. Easier than moving to PilRC...
Are some dynamic controls type safer than others under Palm OS 3.x? Popup
triggers maybe? I could re-arrange them if
- Original Message -
From: Ben Combee [EMAIL PROTECTED]
Newsgroups: palm-dev-forum
To: Palm Developer Forum [EMAIL PROTECTED]
Sent: Tuesday, March 30, 2004 9:33 PM
Subject: Re: Memory Semaphore timeout
At 06:16 PM 3/30/2004, you wrote:
The Memory Manager semaphore has been held for
Ben Combee [EMAIL PROTECTED] escreveu na mensagem
news:[EMAIL PROTECTED]
At 06:16 PM 3/30/2004, you wrote:
The Memory Manager semaphore has been held for longer than 1 minute.
PalmSource recommends that applications not acquire the Memory Manager
semaphore at all, but that if they do, they
I already re-use popup triggers for several lists. My dialog has 3 tabs, so it
all makes sense ad it's not overcrowded. I guess I'll have to take this one
dialog out of the Constructor file and compile its text export with PilRC...
IIRC, this works with CW 8.3 and the latest PilRC plugin.
Why not
Thanks for David's helps.
I want to save the screen as a .bmp file.When I use BmpGetBits(),I must
firstly get the physical width and the physical height.If I only use display
area size(e.g: a 320*320 APP on UX50),the bmp data is error.
--
For information on using the Palm Developer Forums,
Thanks for David's helps.
I want to save the screen as a .bmp file.When I use BmpGetBits(),I must
firstly get the physical width and the physical height.If I only use display
area size(e.g: a 320*320 APP on UX50),the bmp data is error.
Great, that's enough info to know how to answer your question.
At 04:01 PM 3/30/2004, you wrote:
I said that the error appeared when calling NetLibReceive, but i was wrong.
The message appear when i call DmDeleteDatabase(), to delete a large
database.
Is there any way to solve this?
You could pre-delete all the records in the database by calling
After overnight checking the code line by line, the problem is due to wrong
statement:
VFSFileClose( volRefNum );
it should be VFSFileClose(fp);
So bad that it doesn't give out any error during executing this command for
the first eight times. Maybe the system doesn't know the error and give out
Thanks for David's helps again.
I use codewarrior9.3,and use UX50 as my debug device.
I can call BmpGetDimensions to get the bitmap width and height.when the APP
is 480*320 ,it run well,but 320*320,I don't get the correct bitmap data via
call BmpBitsSize .
--
For information on using the Palm
Hi,
I am trying to program a list that will list out all the files that reside
in a certain directory. A user will be able to select a file from the list
and perform operations on it (e.g. open file, transfer file). I am
presently programming in C using CodeWarrior and planning to integrate
I'm reading Instant Palm OS Applications most straight way to output
string is using WinDrawChars if you want direct output on screen, like:
// Output constant string
WinDrawChars(Low button pressed, StrLen( Low button pressed), 40,
100);
// Output string
Char sOutput[30];
Ben,
I have what appears to be a solution, at least for the way I use dynamic
controls. After adding/deleting a control, the entire form is redrawn. As
part of the redraw, all labels are read, and compared to the database.
Sometimes this comparison fails, in which case the label is rewritten
Rob Larson a écrit :
I have what appears to be a solution, at least for the way I use dynamic
controls. After adding/deleting a control, the entire form is redrawn. As
part of the redraw, all labels are read, and compared to the database.
Sometimes this comparison fails, in which case the
At 12:32 AM 3/31/2004, you wrote:
I know you can get the label of a control displayed on screen with
CtlGetLabel,
but which API do you use to read the label of a single control from a
given form
resource in the resource file to perform this comparison?
I suspect he uses DmGetResource and parses
66 matches
Mail list logo