Hi Joe ,
Do I need to allocate memory to the fieldPtr
Thanks
Rohit
--
From: Joe[SMTP:[EMAIL PROTECTED]]
Reply To: Palm Developer Forum
Sent: Monday, April 08, 2002 2:50 AM
To: Palm Developer Forum
Subject: RE:Dynamic Resource - urgent
---
The day a PC becomes required to develop for Palm OS devices is the day
I'll look for something else to develop for ;)
Fortunately, the emulator is here (and I never even used the simulator
on Mac before, so...)
Christophe ANDRES
On samedi, avril 6, 2002, at 09:00 , Peter Epstein
[EMAIL
Given a card number and a local ID, you can iterate through all the
databases on the card with DmGetDatabase and check if any of them match the
local ID.
I would expect this to be a /little/ bit faster than searching for the
database by name. However, I'm not certain if this is too useful,
Now there's a great idea! For the listed ROMs you don't have, just click
this Download button.
Except how would you enforce registered users vs. invalid users
who have POSE?
dd.
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
--- Rohit_Shankar wrote:
FormPtr frm = FrmGetActiveForm();
fldPtr = FldNewField((void **)frm, ...
--- I wrote:
1. You didn't declare fldPtr.
--- Rohit_Shankar [EMAIL PROTECTED] wrote:
Do I need to allocate memory to the fieldPtr
The docs for FldNewField say it Create[s]
Hi,
I have an app that requires Palm OS 2.0 or later. On one of its forms is a
table that needs to be shown or hidden based on certain criteria. Since
FrmHideObject does work correctly on tables until 4.0, I could not use it.
Until recently, I simply set the table's attr.usable bit to true or
That's well and good for those who have an i705...but how about for those of
us who have no desire to buy the actual device, but need to support it?
Colleen Dong [EMAIL PROTECTED] wrote in message
news:83078@palm-dev-forum...
Let me clarify. I meant recieving the i705 rom after downloading
I'm trying to avoid DmFindDatabase. For example, if an app initially
discovers a database's local ID via DmFindDatabase, stashes the ID in a
record in another database, quits, and then in some subsequent invocation
wants to use the stashed ID. For that to be safe, there has to be a way to
Have you tried explicitly checking the OS version in your set_table_usable
function? That is if you have the OS that has fixed the problem, then do
nothing, otherwise, set the attribute. I don't know how long this
technique will last because if people start to change the table's data
On Mon, Apr 08, 2002 at 08:16:38AM -0700, John Leung wrote:
On 8 Apr 2002 at 10:59, Thomas Ward wrote:
I have an app that requires Palm OS 2.0 or later. On one of its forms is a
table that needs to be shown or hidden based on certain criteria. Since
FrmHideObject does work correctly on tables
On 8 Apr 2002 at 17:32, John Marshall wrote:
This technique will last just fine, because it *doesn't* attempt to
change the table's data structure in any future OS. It only does the Bad
Thing on the old crappy OS, not the future ones.
The point wasn't about this self created glue function
--- Mark A. Peters wrote:
I have tried using the Memory Manager functions for
converting LocalID's to pointers for this, but they
always return a NULL value when given even a valid dbID.
Joe wrote:
That's surprising. In the following code, MemLocalIDToLockedPtr()
doesn't return
Doesn't that imply that the OS potentially has to update the local ID of
every record of every database whenever a database is created or deleted? A
dbID is the card offset of the database header, just as a record's local ID
is the card offset of the record's chunk. Unless dbID's are
You are correct! Works as advertised!! Many thanks.
Todd
--
Todd Cary
Ariste Software
2200 D Street Extension
Petaluma, CA 94952
707-773-4523
[EMAIL PROTECTED]
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/support/forums/
Scratch that - looking at the database list with Insider shows that they're
not stored alphabetically. It's a hash table, perhaps?
Mark Peters
Mark A. Peters [EMAIL PROTECTED] wrote in message
news:83150@palm-dev-forum...
[...] It looks like the system keeps the list of databases in
it seems they fixed the filenames; the URL now ends
with the filename Palm_OS_5_Simulator_dr9.zip -- but
it still/again results in a 404 error (using IE or
Netscape). Looks like the URL now doesn't reflect
the actual filename.
This is still broken as of 10AM PDT today and is very annoying.
On Mon, 8 Apr 2002, Scott Johnson wrote:
it seems they fixed the filenames; the URL now ends
with the filename Palm_OS_5_Simulator_dr9.zip -- but
it still/again results in a 404 error (using IE or
Netscape). Looks like the URL now doesn't reflect
the actual filename.
This is still
Does anyone know how to detect whether Sony's
JogAssist is enabled or not?
Thanks,
Mike McCollister
__
Do You Yahoo!?
Yahoo! Tax Center - online filing with TurboTax
http://taxes.yahoo.com/
--
For information on using the Palm Developer Forums,
--- Mark A. Peters wrote:
[MemLocalIDToLockedPtr done on a database ID yields NULL]
Joe wrote:
[...] That is not correct. There must be something wrong in either the
code
that stashes the LocalID or the code that retrieves it.
Yep, you're right: I had the order of the inputs to
--- Mark A. Peters [EMAIL PROTECTED] wrote:
This means that heuristics will have to be used to verify
that a dbID still corresponds to the same database, like
requiring a match on the database name, creator ID and db
type. This isn't guaranteed to work, though,
And so you may want to go
This is still broken as of 10AM PDT today and is very annoying. Can someone
from Palm please just tell us what the actual file name is, assuming you can
do that faster than actually fixing the page?
The html page somehow got pushed live before the zip files were posted; we
don't know if it
Hi,
I am working on enhancing an application that I did not originally
develop. I want to change the scrollbar behavior in a form but I can't
figure out how to do this. I am also new to Palm form development, so
be patient... ;-)
The form that I want to enhance currently uses up and down
I wouldn't recommend attempting to validate a database's LocalID. As you
said, it's just a card-relative handle. If you attempt to access the LocalID
after the database has been deleted, the following outcomes are possible:
1. Nothing else occupies this space in memory, and your access fails
I am trying to figure out a way to launch my application from the hard buttons and
have it go to a specific screen.
I would seem that I could use the following, for example, to set the Date book Hard
Button to launch the application with the Creator ID of 'STRT'.
PrefSetPreference
This means that heuristics will have to be used to verify that a dbID still
corresponds to the same database, like requiring a match on the database
name, creator ID and db type. This isn't guaranteed to work...
Fundamentally the problem is that a dbID is basically the same thing as a
pointer,
A suggestion I had earlier:
Make several small 'stub' apps that you link to the individual buttons.
Each app calls your main app with different parameters.
- Original Message -
From: Dan Dorton [EMAIL PROTECTED]
To: Palm Developer Forum [EMAIL PROTECTED]
Sent: Monday, April 08, 2002 3:09
Todd, I don't think the databases of an application
will get deleted if you replace the application
with a new version during hotsync.
Correct. You might want to warn your users not to delete the old version
before installing the new one.
--
Danny PalmSource
--
For information on using the
a reset fixes the problem, so it seems to me that maybe either the Info
menu does not query the 'tver' resource every time, but rather only at a
reset, or somehow the application database does not get updated properly
after modification and it takes a reset to kick things into a known state.
Please guide me on the following :
I want to check the flag for hotsync of the .pdb file
so that when same blank file is installed than I
should prompt the user that file has not sync and
install is not done.
Thanks
Prasad
__
Do You Yahoo!?
Prasad,
I wouldn't normally advertise in this forum, but why don't you try
and use an installer that will do most of the things you want in a wizard or
something?
Check out www.beiks.com/palmzonebg/catapult.htm and get back to me
offline if you have specific questions about it.
--- Carmen Sandiego wrote:
I am using FldDelete to clear an editable field. Is it necessary to
lock a handle to the field to do this?
--- I wrote:
void FldDelete (FieldType *fldP, UInt16 start, UInt16 end)
Looks like you need a pointer to a field and the start
and end positions of
This is the sequel to the problems with netlib.
The client is getting connected but..
1)Is not able to send messages.
2)The Serial Link Manager errors are still there on the server.
We use CodeWarriorIDE and when we use Debug, the Log says
CmdWriteRemoteMem:error in SlkReceivePkt
3)the
I tried out your suggestion, and it seems to work. I have a couple more followup
questions.
1.) The stub app shows up in the list of apps. How do you made these not visible?
Is changing the type from 'appl' to something else all I need to do?
If I change the type then the
On Mon, 8 Apr 2002, Mike McCollister wrote:
Does anyone know how to detect whether Sony's
JogAssist is enabled or not?
I don't think there is any way to detect whether JogAssist is enabled
or not. My interpretation of Sony's documentation is that if your
application needs to perform its own
1.) The stub app shows up in the list of apps. How do
you made these not visible? Is changing the type from
'appl' to something else all I need to do?
They won't show up in the Buttons panel unless they're of type 'appl'. (PQAs
may also be listed.) I was thinking that you could set
The code below fires when I click on a list that is displayed via a pop up trigger.
If I click on the trigger and select an
item in the list, on the 14th time I get a chunk overlocked error. (See line in
question). I am using DmReleaseRecord paired
with the DmGetRecord and the
Kelly,
I use Codewarrier. Do you know how
to do this automation inside a Codewarrier
project?
Thank you.
Cliff Jones - Narly Software
Kelly Morrison [EMAIL PROTECTED] wrote in message
news:58411@palm-dev-forum...
Thought I'd give a little back to the newsgroup for all the info I've
Cliff,
I use Codewarrier. Do you know how
to do this automation inside a Codewarrier
project?
Search the archives for __TIME__ and you'll find
messages discussing this issue.
__
Do You Yahoo!?
Yahoo! Tax Center - online filing with TurboTax
--- Clifford Jones [EMAIL PROTECTED] wrote:
I use Codewarrier. Do you know how
to do this automation inside a Codewarrier
project?
If all you want is something simple like date and time you compiled,
include these in your source code:
Char buildVersion[21];
StrPrintF(buildVersion, %s
Out of curiosity, why do you want to know if JogAssist is enabled?
If your application needs to handle Jog Dial events itself, it can disable
JogAssist programmatically using the JogAssist Mask.
If your application is dependent on JogAssist and wants to enable JogAssist
programmatically, that's
Sorry to repost this question, but surely someone can give me a brief
answer?
---
James [EMAIL PROTECTED] wrote in message
news:82540@palm-dev-forum...
What is the proper way of saving a Bitmap to a resource? I remember
someone from PalmSource mentioning that one can't copy the Bitmap
What is the proper way of saving a Bitmap to a resource? I remember
someone from PalmSource mentioning that one can't copy the Bitmap directly,
because the bitmap header and the bitmap data may not be contiguous in
memory. I've looked in the eScribe archives, but I guess my search-fu
is
I have a interrupt driven serial input routine and want
to have that place a custom event in the event queue.
Has anybody timed how long in milliseconds the delay
would be before my routine in a form handler would
recieve the event?
Does the event go on the queue and immedently
go to the form
43 matches
Mail list logo