> From: OmniSoftSystems
>
> Where can I find info on this type of error? I've already searched Yahoo
> archives, no luck.
>
Did you see the following info from David Fedor (in the Yahoo Archives)?
"Chunk under-locked" means you're calling unlock on a handle that isn't
locked. With the debugg
I guess, this is not it.
I'm only making a subroutine call into the shared lib
and the control returns to the caller application
after the call,where i make it a point to free the
memory.
In case of switching applications i've already used
MemPtrSetOwner.
And like is wrote in the earlier mail..
Greetings,
Does anyone is using Dynaworks version 2? How is it compare with kawt?
Please, any comments are welcome.
Thanks.
Dav
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/
No, the current window is the same. I don't know about changing windows at
all, so I *assume* it is the same. All I want to do is put a while loop
around that, and have it work...basically I took a simple hello,world
program and modifieed it. So I think the window is the same.
Danny Epstein
Hello,
Where can I find info on this type of error? I've already searched Yahoo
archives, no luck.
This error does not seem to occur while running CW7 IDE debugger, but it
does when running standalone on POSE. Is CW masking this error?
Any info appreciated! Thank you.
--
George Aslanis
[EMA
>>> Since [EMAIL PROTECTED] has gone away, where do developers report bugs in
>>> code and documentation?
>>
>> http://www.palmos.com/dev/bugs/
>
>Where's the tracking number? Where's the feedback that a bug has been
>accepted and is scheduled be fixed with release/patch x? What about
>suggested w
my situation
appA calls SysUIAppSwitch to appB, when appB is done cals SysUIAppSwitch to
appA. When user presses Quit button I issue appStopEvent.
after the AppEventLoop call in the PalmMain I execute
newEvent.eType = keyDownEvent;
newEvent.data.keyDown.chr = launchChr;
"The Inanimate Carbon Rod" <[EMAIL PROTECTED]> wrote in message
news:45630@palm-dev-forum...
> The chars drawn show up in a completely different place. They are about
20
> down, and 60 to the left, or so.
To the left you say? I think WinDrawChar[s] takes an offset from the origin
of the current
Hi all -
I'm trying to build a dynamic array of words to display in a list, but I'm
running into a stumbling block. It must be my lack of C experience. Here
are some excerpts from my code:
// Global array
Char WordArray[30][11]; // The list of words, 30 words, max length = 10
characters per
David,
>> Since [EMAIL PROTECTED] has gone away, where do developers report bugs in
>> code and documentation?
>
> http://www.palmos.com/dev/bugs/
Where's the tracking number? Where's the feedback that a bug has been
accepted and is scheduled be fixed with release/patch x? What about
suggested
> Try, FrmSetObjectBounds
Looks good. Thanks!
+
Timothy D. Astle
Embedded Systems Programmer
ALT Group Inc.
+
"People who can smile when things go wrong has thought of someone else to
blame it on."
--
For information on using the Palm Developer Forums, or to unsubsc
Hey, that's a potentially useful feature. Is it documented anywhere (I mean
other than in this message :-)?
--Jim Preston
"Scott Johnson (Bellevue)" <[EMAIL PROTECTED]> wrote in message
news:45649@palm-dev-forum...
>
> > From: Danny Epstein [mailto:[EMAIL PROTECTED]]
> > There has been some deb
> Is there a function available that will change the width of a list?
Try, FrmSetObjectBounds
-Sean Kennedy
Eclipta, Inc.
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/
There's generally nothing that prevents one Palm program from reading from
or writing to a database that "belongs" to another program. The problem is
in knowing what to write. A record in a Palm database is just a bunch of
bytes; it's up to the program to know what those bytes mean. So if you want
Greetings,
I'm writing a hack that traps the tapping on the note icon (next to an
appointment) in the DayView of the Datebook application. So far I've been
using the Datebook sources from the SDK 3.5 examples. What is the shortest
way to get the record corresponding to the note icon a user just t
Hi All,
I would like to programmatically add records to the Supermemo 1.1
database (http://www.mapletop.com). Do any know have clues?
Mark
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/
Well I just got drilled & grilled over this again..
I'll start with...
I don't generally SPLASH anymore...
This is a snip from an old PILOT program
and PLEASE FORGIVE ME!
As I extinguish my smoldering fanny
You're kidding, right?
You really don't see the hole in your "
if (TimeTks ==
Is there a function available that will change the width of a list?
+
Timothy D. Astle
Embedded Systems Programmer
ALT Group Inc.
+
"People who can smile when things go wrong has thought of someone else to
blame it on."
--
For information on using the Palm Developer F
>It is much safer to use the exchange manager if you're just trying to
>insert a record into one of the PIM apps. Turn on loopback mode, turn off
>the "prompt to recieve" option, and you're done, and it'll even not break
>when we change the PIM record formats. Decreases your code size, increases
Yes..Yes..that is a big mistake..thanks..also, I like the
DmQueryNextInCategory way too!
Appreciate the quick response!
Have a great w/end!
Jim
Ray Marshall <[EMAIL PROTECTED]> wrote in message
news:45661@palm-dev-forum...
>
> How about the DmQueryRecord( dbPtr, 1 ) instead. You're adding 1 t
I have been subscribed to this list for sometime and it has of
immense help to me. I thank everyone who participates in this list.
This is the first time I am posting a question, one that has me quite
perplexed.
I recently upgraded from CW6 to CW7 (for Macintosh) and from SDK 3.0
to SDK 3.5
How about the DmQueryRecord( dbPtr, 1 ) instead. You're adding 1 to the
DmOpenRef and not the record index.
//Ray
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Jim Garozzo
Sent: Thursday, April 12, 2001 12:46 PM
To: Palm Developer Forum
Subject: Reading
This is the code I use to loop through a database.
Cast the recP to whatever the record is your are bringing back
VoidPtr recH;
VoidPtr recP;
Uint16 index = 0;
while(true) {
recH = DmQueryNextInCategory(PackedDB,&index, dmAllCategories);
if (recH == NULL) {
/**
Hi! I'm trying to figure out the easiest way to increment to the next
database location...I know this is simple.but my brain is drained.
Thanks for the help anyone can suggest.
Here's the code i'm writing...
MemHandle h = DmQueryRecord(dbPtr, 0);/* Opens the first Record of
my databa
Just a little sanity check here. In my pre-SD card implementation if I
need to write info to my database, I do. I know what the structure of
my records is and DmWrite lets me point to the record I want to update
(- I never need to do any resizing). I'm thinking I want to maintain
most of my fun
First I created my own Edit menu.
I then catch menu events and pass them to MyEditFormDoCommand:
case menuEvent:
return MyEditFormDoCommand (&event->data.menu.itemID);
MyEditFormDoCommand() changes the itemID to the system's so it'll handle the
event.
static Boolean MyEditF
>Since [EMAIL PROTECTED] has gone away, where do developers report bugs in
>code and documentation?
http://www.palmos.com/dev/bugs/
-David Fedor
Palm Developer Support
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/f
> From: Danny Epstein [mailto:[EMAIL PROTECTED]]
> There has been some debate about this, but it's probably best
> to avoid all-lowercase types, other than the predefined ones
Also note that databases of type 'temp' (all lowercase) get deleted by the
system on a reset, as of Palm OS version 4.0.
Dave,
Maybe you can try sysAppLaunchCmdGoTo. It is for handle the case that user
hit the "Go To" button in the Find Results dialog. But you can use that to
jump to Mail's outbox your message.
Hope this will help.
Yan
> -Original Message-
> From: David Leland [mailto:[EMAIL PROTECTED]]
Hmmm...
Well, there are some problems with using the exchange manager to stuff new
memo records:
- Size limited to 4kb
- No control over category records are saved in
Oh well... it is the "right way", but looks like I'll need to stick with the
wrong way for now.
- John
-Original Message---
WinDrawMumble functions draw in WinPaint mode
WinPaintMumble functions draw in current draw mode
So if you want to display an image using WinPaint mode regardless, DON'T
use WinPaintBitmap, DO use WinDrawBitmap.
Is this really correct? The word "counterintuitive" does not begin to cover
this.
The problem is I don't want to go to a specific record (and don't always
have one). I just want to go to the "Outbox".
Dave
Schettino, John <[EMAIL PROTECTED]> wrote in message
news:45644@palm-dev-forum...
>
> Can you not send a "Goto" launch code? Seems like Mail has support for it
in
> its "P
Can you not send a "Goto" launch code? Seems like Mail has support for it in
its "PilotMain()" function. You'd just need to set up a GoToParams struct
the right way and pass it into the UIAppSwitch call. Assuming you know the
record number of the new mail message it should work. Take a look at
GoT
Sure, easy for you to say :) But for us rookies, that are just getting
getting the hang of databases, now to think about doing it a different way
can be a little frustrating. Any code examples you'd like to share?
Dave
David Fedor <[EMAIL PROTECTED]> wrote in message
news:45624@palm-dev-forum
Hi,
If I add a edit menu to my menu bar with those undo/cut/copy/paste, I have
to give this edit menu as resource ID 1, then I don't have to anything
in my code to support those undo/cut/copy/paste/keyboard for edit field,
right? How can I do that in constructor? I checked Mail sample code,
I have an application that allows the user to create outgoing e-mail in the
Palm Mail application's Outbox. I would like to be able to then launch Mail
directly to the Outbox so the user can review (before sending) the e-mail
that they placed into the OutBox. I have looked at the Mail applicatio
Hi and thanks for your answer.
However, I'm not accepting a connection: I'm initiating one.
I don't know if your remarks apply in that case.
The reason I'm asking all this is because after a few exchanges, my
connection hangs for no apparent reason. I was thinking maybe I'm
misusing the credit
Hi Shawn Hutchinson,
>hey everyone,
>i'm a little unclear about the use of the database type parameter,
>especially in regards to the CreateDatabase() method
SystemMgr.rh (.rh, not .h) has all the pre define for database types.
type is UInt32 (can be 4 characters), type of 4 lowercase char
Thanks for this reminder David... I was making a Memo record "by hand" and
had forgotten this.
- John
-Original Message-
From: David Fedor [mailto:[EMAIL PROTECTED]]
Sent: Thursday, April 12, 2001 10:44 AM
To: Palm Developer Forum
Subject: Re: Help w/ writing MemoPad record
>Just wante
"Quentin Wright" <[EMAIL PROTECTED]> wrote in message
news:45622@palm-dev-forum...
> The type code is user defined, and can be anything you like, although I
think 'appl' is reserved for
> executables. Most people seem to use 'DATA' or 'data'.
There has been some debate about this, but it's probab
Hello. In MainFormHandleEvent, I am calling a function that calls
'WinDrawChars' when a button is clicked:
func_that_calls_WDC();
This works just fine, drawing in the correct place. Then, if I put the call
to the function that calls WDC in a while loop:
while(1)
{
func_that_calls_WDC();
"Eugene Mayevski" <[EMAIL PROTECTED]> wrote in message
news:45607@palm-dev-forum...
> Can I use FileRead to read the data directly from the file to the buffer,
> given to ReadProc, or I should use FileDmRead?
FileDmRead is used when the buffer being written to is in the storage heap.
So use this
It does seem strange that your success has come with ==.. but you know, we
didn't get into this line of work because it was easy...
I've ended up using (successfully) a combination of the EvtSetNullEventTick
function and a flag.. basically, when I detect a nilEvent, I check to see if
an amount of
At 1:28 PM -0400 4/12/01, HowY wrote:
>I've been flamed over this one in the while loop
>not using >= but it only seems to work as an equal...
You're kidding, right? You really don't see the hole in your "if (TimeTks ==
TimGetTicks())" logic below?
> TimeTks = TimGetTicks() + 110; // <- here's
>Just wanted to thank everyone for catching this error for me. Also, just
>wondered if anyone had any advice on writing records to the MemoPad
>database. Is it better to write them at the beginning or the end? Someone
>said that the deleted records are stored at the end.
As I just posted when
>>This is fine, but this adds the appointment AT THE END of the database
>>(dmMaxRecordIndex). However entries in the DateBook are stored in order
>>(at least for non-repeating events; repeating events are different), so
>>this means that the event will not be in order
>>So unless I'm missing
At 12/04/01 11:40:00, you wrote:
>
>hey everyone,
>
>i'm a little unclear about the use of the database type parameter,
>especially in regards to the CreateDatabase() method. aside from knowing
>that the system uses them to delineate databases based on types and their
>corresponding application,
Just trying to splash?
I've been flamed over this one in the while loop
not using >= but it only seems to work as an equal...
// display splash screen
if (!FormNumber){ // if current form # is 0
FrmInitForm(SplashForm);
frmP = FrmGetFormPtr(SplashForm);
FrmDrawForm(frmP);
> EvtSetNullEventTick will send you application a nilEvent after at a
> specified time.
A nilEvent might occur for other reasons than this function, though, right?
So this isn't a really reliable way to wait, although it does allow for
other messages to happen in the meantime (silk screen buttons
At 8:27 AM -0700 4/12/01, Nitin Nangia wrote:
>i'm facing a problem wherein i get strange memory
>crashes in my shared library if i pass memory
>allocated on the heap using MemPtrNew intto it from
>another application.
Memory allocated by an application is freed by the OS when the application exi
I've only had limited success with advance credit.
What I've seen is this: when you accept a connection, you pass an initial
amount of credit.
IrConnectRsp(ir_ref, currentCon, &packet, 127); // accept w/ 127 credits
Now, as far as I can tell, you will never need to advance any more credit,
regar
Is there any interest in a CW for Windows (R6) project version of DemoHack
that includes a target that allows debugging? I'm just finishing up my first
hack and incorporated the suggestions Alan Pinstein made some time back
regarding how to set up a project for hack debugging. It worked out quite
Does any one know a way to make broadcast UDP work ??
Non-broadcast UDP works fine. Setting the broadcast flag returns 'not
implemented' as the Palm OS says it will which would lead one to think
that it doesn't work at all. However, DHCP works OK and uses
broadcast UDP which (I verified by usi
hey everyone,
i'm a little unclear about the use of the database type parameter,
especially in regards to the CreateDatabase() method. aside from knowing
that the system uses them to delineate databases based on types and their
corresponding application, i can't find any good example of what 'ty
You do a delete fro every new, similarly, you do a MemPtrFree fro every
MemPtrNew.
but what could be the error in such a case.. Tell us the details.
Ritesh >:)
- Original Message -
From: Nicolas Raitman
To: Palm Developer Forum
Sent: Thursday, April 12, 2001 5:35 PM
Subject: MemPtrNew
D
> ExgDBRead is the appropriate API to do this. It generates a database from
a
> "flat" prc or pdb file.
Can I use FileRead to read the data directly from the file to the buffer,
given to ReadProc, or I should use FileDmRead? Documentation doesn't say
anithing about this ... Thanks in advance.
Si
Hi there,
i'm facing a problem wherein i get strange memory
crashes in my shared library if i pass memory
allocated on the heap using MemPtrNew intto it from
another application.
If i allocate the memory structures on the stack,i get
no errors..
If i put all files together in one big "C"
projec
You definitely want to call MemPtrFree each time you allocate memory
with MemPtrNew. What kind of errors are you getting?
DeAnna
-Original Message-
From: Nicolas Raitman [mailto:[EMAIL PROTECTED]]
Sent: Thursday, April 12, 2001 8:05 AM
To: Palm Developer Forum
Subject: MemPtrNew
Do I
as previously mentioned in another thread, have you considered using the
profiler version of POSE?
- Original Message -
From: "Mike McCollister" <[EMAIL PROTECTED]>
To: "Palm Developer Forum" <[EMAIL PROTECTED]>
Sent: Wednesday, April 11, 2001 3:46 PM
Subject: API Function Timing
> Does
How can I flash a regular Spanish or French ROM onto a compatible device?
Thank you,
Farzin
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/
"Daniel Morais" <[EMAIL PROTECTED]> wrote:
>
> > Unluckily The documentation of MemMove don't say what happens to the
> > original range of memory...
> > Can I assume that the original buffer is left untouched?
>
> Yes, of course, like the 'original' memmove function do.
>
OK, thanks
> And forge
Yes it does, but they are not ComboBoxes as you might know from other
environments like Visual Basic or VC++. In CodeWarrior you have to mix a
combo with a list and use them together, however, it is not so difficult.
-Mensaje original-
De: Akash <[EMAIL PROTECTED]>
Para: Palm Developer Fo
Hello,
This is used for extending Tiny TP credits among the IR enabled units.
Since there does not exist any TTP credit policy at the offcial level hence
I suppose that this is exposed for the developers who wish to implement
their own (I used it for the same purpose). Various OS are following
Do I have to call MemPtrFree each time I allocate new memory with MemPtrNew?
Because sometimes, when I want to deallocate memory using MemPtrFree I have
some errors...
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/fo
Hi
I had asked this on comm-dev-forum and got no answer.
Then I asked Palm Developer Support, where I got a nice reference
number but no answer (after more than 3 weeks)
So I'm asking on this forum now, sorry for the inconvenience & this
will be the last time before I decide to change and sell p
Kristian Adrup wrote in message <45077@palm-dev-forum>...
>
>Kristian Adrup wrote in message <44776@palm-dev-forum>...
>>Hi,
>>I know that I can't use the serial port and IR port at the same time since
>>they share the same UART. My app sends/receives data through IR using
>>Netlib. If a user has
Jeudi 12 Avril 2001 11:43, Pietro F. Maggi a écrit:
> Unluckily The documentation of MemMove don't say what happens to the
> original range of memory...
> Can I assume that the original buffer is left untouched?
Yes, of course, like the 'original' memmove function do.
And forget what I said abo
Hi Ian
> I am writing an app where we want to dynamically build menus at runtime
> from scratch. The books I have consulted on the issue seem to indicate
> that this isn't possible, but they don't exactly say that.
yes and no - until Palm OS 3.5 dynamic menu creating is not (legally) possible
"Daniel Morais" <[EMAIL PROTECTED]> wrote:
>
> > So, where is the MemCopy function?
>
> Just try the MemMove function !
> Take care : the order of the parameters are not the same than for the
memmove
> C function...
>
Thanks for the reply!
Unluckily The documentation of MemMove don't say what h
Jeudi 12 Avril 2001 10:56, Pietro F. Maggi a écrit:
> So, where is the MemCopy function?
Just try the MemMove function !
Take care : the order of the parameters are not the same than for the memmove
C function...
--
Daniel Morais
--
For information on using the Palm Developer Forums, or to
Can anyone please tell me how does one frame/page(Viewpage1) switch to a
different frame(Viewpage2) in KVM? How does one field or value from
Viewpage1 is pass to Viewpage2 and fort.
How to control the paint() method?
Thanks.
Dav
--
For information on using the Palm Developer Forums, or to unsubs
Hi,
I'm looking for a function to copy N-bytes to a new location.
Till now I've used StrNCopy, but I'm no more sure that this is the right
choice.
As already stated in this newsgroup, the StrN* function are only for null
terminated string.
So, where is the MemCopy function?
Best regards
Pi
72 matches
Mail list logo