To answer to your question right: MemHandleLockCount should do this.
Its defined as:
UInt16 MemHandleLockCount(MemHandle h);
Thomas
"Thomas Damme" <[EMAIL PROTECTED]> schrieb im Newsbeitrag
news:[EMAIL PROTECTED]
>
> Hello,
>
> the number 15 is seen as a maximum of locks. If you reach it, you pr
help
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/support/forums/
While my app is running and the device goes to sleep, I want to be able to
intercept the pageUp hard key, turn the screen on, display some useful
information (not the time and date), and go back to sleep after two seconds.
My target devices run OS 4.0 or higher. I am also targeting the
m100/m1
Hello,
the number 15 is seen as a maximum of locks. If you reach it, you probably
doing something wrong. Its supposed that you unlock a resource as soon as
you dont need it anymore. So if you reach 15, are you sure you properly
unlock it after every usage?
Thomas
"DongDong" <[EMAIL PROTECTED]>
Hello everyone
I am trying to use INetLib to make connection to a server via TCP/IP
protocol. But there are few examples about this issue. Would any developer
show me some core codes of creating the connection. Thanks in advance.
--
For information on using the Palm Developer Forums, or to un
Rodolphe,
Yes, I tried the following to set the no. of items in the list.
Still the callback function is not being called when the form opens.
LstSetListChoices(List, NULL, n);//n is set from the no. of records in the
database
LstSetDrawFunction(List, MainListDraw);
The
whould you show some code of using INetLib to create the connection
"Larry" <[EMAIL PROTECTED]> дÈëÓʼþ
news:[EMAIL PROTECTED]
>
> Hi, everyone,
>
> I am new to palm network programming and want to use Http in INetLib. On a
> smartphone, I was able to post and get data from a web server. But I sti
I'm now debugging a software with problem occurred whenever writing to a
locked memory. I've studied the Palm OS Programmer's Companion, API
reference, etc. and found the possible reason is related to the lock count
exceeding the limit, 15.
Is it possible to check the lock count of an memory chunk
AFAIK, the OS already does this for you. If you want to do it yourself, get
the Raw coordinates, sample more frequently, and only average the last three
samples. Perhaps discarding the most "inaccurate", and averaging the
remaining two might be a good approach.
Alan
"Scott Ludwig" <[EMAIL PROTE
I'm looking for a good performing, low overhead, non-latent pen dejitter
approach. Simple moving average doesn't produce the intended results
(dejitters but input appears to "lag" as the moving average catches up to
your pen position). Anyone do this and have any comments on their approach?
A good
HI,
I'm in the process of converting a large
project from GCC C++ to CW9. I'm running into
the compiler error about error with the default
value eg:
myClass::function1(MemPtr var, Boolean ok = false)
the compile errors out. If I remove the default value of
false it will compile. How do I fix th
José dos Santos Machado wrote:
[...]
For viewing prc files the PRCExplorer is the best, IMHO.
Defintately! but not for pdb-files...
- Veronica
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/support/forums/
> Is there a better choice than serial number that is guaranteed to be
> unique and available on all devices?
yes and no.
Not all devices have an electronic serial number and the alternative method
doesn't guarantee uniqueness.
This topic was just answered earlier this week. A quick search of the
Mike,
>Do most palms devices now have a serial number
>that is available via API functions?
Not necessarily. Only those with a flashable ROM will have a serial number. I
believe there are still many units being marketed where this is not the case
(not to mention lots of units still in the fie
I did :
UInt16 GetNumeroSerie(UInt8** MonNumeroSerie)
{
UInt16 bufLen=0;
SysGetROMToken (0, sysROMTokenSnum, MonNumeroSerie, &bufLen);
return bufLen;
}
the calling method is :
UInt8 *bufferSerie = NULL;
UInt16 Retour = GetNumeroSerie(&bufferSerie);
if ((Retour == 0) || (bufferSerie =
I'm not familar with all the various palm hardware as there are so
many new devices. Do most palms devices now have a serial number
that is available via API functions?
I'm considering changing my registration to be based on a serial
number or some such unique number. Pros and cons?
Is th
Hello
My company needs to install and configure Palms for several hundred
users.
We already have an installation and configuration procedure for our
application.
We would like this procedure to be able to also configure VersaMail
(username, password, servers, etc, etc)
Is there a supported way t
Anyone has a idea how the built in clock application of Palm OS 4.0 to
5.0 is started by the OS, if the clock symbol in the graffiti area is
pressed?
The only information is that a vitual chars of 0x1700 (and 0x1701 tagged
as vendor specific chars) is posted from the event handler. So i expect
Hi,
Maybe someone knows where to get Codewarrior database samples.
Or if it is possible explain how to make multi field database. I just
know how to make i field and to read/write into it.
Please do help.
Thanks.
--
For information on using the Palm Developer Forums, or to unsubscribe,
Sadanandam O. escreveu:
Can anybody suggest me pdb viewer on desktop side. I have gone thru
several search engines. Could not find ny.
Try xPDF, freeware, great utility. You can find it on PalmGear, or with a
little googling.
For viewing prc files the PRCExplorer is the best, IMHO.
Cheers!
J
search for "PDB Converter" in www.Google.com U might get some clues...
-Original Message-
From: Sadanandam O. [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 11, 2003 5:17 PM
To: Palm Developer Forum
Subject: pdb files(Beginner)
HI all,
Can anybody suggest me pdb viewer on desktop side
Have a look at http://flippinbits.com/twiki/bin/view/FAQ/WebHome as well
as search engines.
I use PDBC but there is no viewer, you simply use it to compile and
decompile pdc-files to text.
http://www.obermuhlner.com/public/Projects/Palm/PDBC/index.html
- Veronica
Sadanandam O. wrote:
HI all,
Thanks. It work's.
"Albert J. Franklin" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
>
> Archivator,
>
>First, get the object's index from the object's ID (assigned during IDE
> construction).
>UInt16 objectIndex = FrmGetObjectIndex(FrmGetActiveForm(),
objectID);
>
>
Archivator,
First, get the object's index from the object's ID (assigned during IDE
construction).
UInt16 objectIndex = FrmGetObjectIndex(FrmGetActiveForm(), objectID);
Then get the object pointer from the object's index.
ControlType *ctl = FrmGetObjectPtr(FrmGetActiveForm(),
did you set the number of items of the list before, so the callback is
called as many time as the number of item specified ?
- Original Message -
From: "Vidya Amar" <[EMAIL PROTECTED]>
To: "Palm Developer Forum" <[EMAIL PROTECTED]>
Sent: Wednesday, June 11, 2003 2:32 PM
Subject: Popup list
Hi All,
I have a popup trigger attached to a list which is created from a
database by a callback function
(LstSetDrawFunction) in the MainFormInit routine.
I have pre-set the label for the popup trigger
to be the 1st choice in the list when the form opens.
Problem:- The callback function
Hi,
i gues you could use this one
URL
http://www.palmgear.com/software/redirector3.cfm/TYPEzip/PID49092/dbeditor_0
5beta.exe
But it just shareware.
"Sadanandam O." <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
HI all,
Can anybody suggest me pdb viewer on desktop side. I have
HI all,
Can anybody suggest me pdb viewer on desktop side. I have gone thru
several search engines. Could not find ny.
Thanks & Regards,
sadanand.
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/support/forums/
Hi,
I need to change text of button.
Maybe someone know how to make it.
I gues function is
void CtlSetLabel (ControlType *controlP, const Char *newLabel)
i have a problem of making a pointer to ControlType *controlP :)
Thanks.
--
For information on using the Palm Developer Forums, or to uns
Hi All,
Never mind. I got it now. I guess the Palm server was testing my seriouness
about my desire to program to Palm.
Johel
"Johel de Souza Filho" <[EMAIL PROTECTED]> escreveu na mensagem
news:[EMAIL PROTECTED]
>
> Hi All,
>
> I've being trying, for the last 3 days, to download the "Palm OS 5
Thanks, it works.
"Sadanandam O." <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
frmP = FrmGetActiveForm();
CtlNewControl((void **)&frmP,
5000,
buttonCtl,
"Sadanand",
I have an existing application that communicates to NMEA enabled GPS
devices via serial communication. My software works on most NMEA
enabled GPS devices, but on Navman 57600 baud GPS devices it seems
that the GPS loses its satelite tracking status very shortly after
the user start my application.
Thank you for your advice. I've completed course on C already although I'm
beginner to write program actually in C in real life. I'm now studying
stuffs accompanying codewarrior, with the following books as reference:
1. Palm OS Programming for Dummies
2. Palm Programming Developer Guide
3. Palm O
Hi All,
I've being trying, for the last 3 days, to download the "Palm OS 5 SDK (68K)
R2 DR2 - Installer" without success. It always stops before completing. I
was able to download the CDK with no problems. I have an stable ADSL
connection, tried to download using Download Accelerator and it did no
frmP = FrmGetActiveForm();
CtlNewControl((void **)&frmP,
5000,
buttonCtl,
"Sadanand",
10,
2,
Hi all!
I wanted to ask you to help me in resolving the problem in conflicting resource
names' definitions for different resource files.
I have couple resource files in my project. Changes made in them in Constructor
are automatically reflected in appropriate headers.
This works fine for all contr
I found this on Palm Api reference.
Could you drop me listing of your program. I'm trying to make this in about
1 week.
Waiting for your reply.
Thanks.
Value Descriptions
buttonCtl
Button. Buttons display a text label in a box. The ButtonFrameType
specifies the type of box.
pus
I see a check box control created on the form with the mentioned code. I
use Codewarrior 8. what's the keyword to create button control, I tried
to use various keywords , nothing worked
Regards,
Sadanand
-Original Message-
From: Archivator [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June
Thanks for your answer, but still the same picture on my screen :) there is
no any buttons, and also no error's:).
Here is necessary just this functinon? Nothing else ?
I use Codewarrior 8.
Please help as possible :)
Thanks.
"Hangzm" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
CtlNewControl((void **)&frmPtr,
5000,
checkboxCtl,
"fdfd",
1,
2,
40,
thanks.
"Prashant Jha" <[EMAIL PROTECTED]> ??:[EMAIL PROTECTED]
>
> "Constructor" is one way "PilRC" might be
> another..
> --- Hangzm <[EMAIL PROTECTED]> wrote:
> > Hi folks,
> >
> > As you know, the Palm Screen is limit, but in my
> > application, I want to put
> > a lot of controls to a
Hi:
I want to make the Text of Controls to have color such as red,blue as
green as well.
thanks.
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/support/forums/
HI,
I'm codewarrior beginner :). I have a small problem. How can I make buttons
which are dynamically created and erased with the same ResourceID.
Programmed as below:
CtlNewControl ((void **)&frmP, 1323, checkboxCtl, "Hello" , 1, 1, 15, 11, 1,
1, true);
But unfortunately it's doesn't work:(. M
43 matches
Mail list logo