For my project PSRealtor, I deleted a directory called "PSRealtor
Data", which I believe
is what you were referring to. Sadly, no luck. I get the same errors.
But, I don't
get the errors when I start a new project from scratch & build it.
Any other suggestions? Or should I just make a new pr
> > MemSet(argvP, sizeof argvP, 0);
> > But you are wrong in this case IMO, since argvP is a "derived type like
a
> > structure or a pointer" ( i.e. requires parens) and not an object which
> > "can be a variable or array or structure" (no parens required).
> It's valid C++. Have you tried to com
Hi Palm Developers,
I am having a problem with serErrLineErr error.
Can any one help me, even if we get serErrLineErr can we clear the
data in the serial port?
Background:
In my application, I am continuously getting data from a device
(each byte @rate of 2ms) through se
Hi all,
I just got an email from, from-line was [EMAIL PROTECTED] and addressed
to me with the subject "Have a nice Christmas" and a suspicous
attachment. Anybody else got it too?
Henk
--
-
[EMAIL PROTECTED]
I've been getting this type of message for a while. Not sure what virus
it is, but it's one of those that "spoofs" the sender (i.e., the
infected machine of the real sender has the spoofed From address in
their Outlook address book).
Henk Jonas wrote:
Hi all,
I just got an email from, from-lin
I have problems hiding a menu item using MenuHideItem().
Context: In response to the menuOpen event, I'd like to dynamically create
a pulldown menu.
In Constructor, I have created a pulldown menu containing one single item
which serves as a placeholder. When handling menuOpen, I use the placehold
I've noticed an odd problem when creating / deleting multiple pdbs on the
palm that I don't understand.
Seems if you install 35+ pdbs by just dragging the .pdb files into the
simulator and repeat the process multiple times, the amount of locked chunks
on the heap increases and the available dynami
At 7:49 AM -0600 12/15/02, Jeff Wheeler wrote:
>CodeWarrior 8
>Palm OS 5 SDK
>
>I'm working on an app that is written largely in C. I use MemPtrNew() and
>MemHandleNew() and religiously check the return value.
>
>The project uses some shared code, from another developer, that is written
>in C++.
Try flushing the receive buffer to clear any data in the port buffer. Read
the serial manager chapter in the OS reference for details.
- Original Message -
From: "Rangababu, TNV (IndSys)" <[EMAIL PROTECTED]>
To: "Palm Developer Forum" <[EMAIL PROTECTED]>
Sent: Monday, December 16, 2002 6:
I have the line of code:
FormPtr formP = FrmInitForm( formID );
That's executes fine most of the time when running gremlins, but
occassionally I get the error:
(v.v) called SysFatalAlert with the message "MemoryMgr.c line 4340,
NULL Handle"
What are the potential sources of this er
Does anybody have some sample code for editing a number field in a table? I
am having some problems allocating and knowing when to free the memory for
the field.
--
Andy Arhelger
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/sup
We plan to have several persons working on our project using CW. They
have CW 8.0, and I am trying to decide which version to purchase. Is
there any reason for all of us to move to CW 9.0 if we do not plan to
take advantages of any of the features of OS 5.0? (We want to be
compatable with 3.0 ->
At 07:18 2002-12-16 -0800, you wrote:
We plan to have several persons working on our project using CW. They
have CW 8.0, and I am trying to decide which version to purchase. Is
there any reason for all of us to move to CW 9.0 if we do not plan to
take advantages of any of the features of OS 5.0?
At 04:17 2002-12-16 -0500, you wrote:
For my project PSRealtor, I deleted a directory called "PSRealtor Data",
which I believe
is what you were referring to. Sadly, no luck. I get the same
errors. But, I don't
get the errors when I start a new project from scratch & build it.
Any other sugge
At 10:10 2002-12-16 -0500, you wrote:
I have the line of code:
FormPtr formP = FrmInitForm( formID );
That's executes fine most of the time when running gremlins, but
occassionally I get the error:
(v.v) called SysFatalAlert with the message "MemoryMgr.c line 4340,
NULL Handle"
Wh
> case lstSelectEvent:
It may help if you get rid of the handled = true line for this case. Maybe
for the ctlSelectEvent event too. The OS has things to do to your controls,
by setting handled = true, you are preventing the OS from working with this
event.
- Original Message -
From:
I am trying to get some Windows bitmaps into a PDB which should be of
'data' type with a specific creator ID, using pilRC.
I did pilrc -ro -o test.pdb test.rcp
and the rcp file just lists the bitmaps like this
BITMAPCOLOR16K ID 1010 "image1.bmp"
BITMAPCOLOR16K ID 1020 "image2.bmp"
BITMAPCOLOR16
Henrik Fredriksson wrote:
My application generate some databases (record) during execution that would
be good to beam over to another handheld. I have seen that there is a built
in function in the launcher for beaming applications (where some are locked)
to another handheld (guess this has to do w
At 01:36 2002-12-17 +0900, you wrote:
I am trying to get some Windows bitmaps into a PDB which should be of
'data' type with a specific creator ID, using pilRC.
I did pilrc -ro -o test.pdb test.rcp
and the rcp file just lists the bitmaps like this
BITMAPCOLOR16K ID 1010 "image1.bmp"
BITMAPCOLO
> > Is there perhaps some third-party application that can
> > beam whatever?
> I'm not sure, but I imagine there HAS to be a few third-party
> applications.
Let me take this opportunity to pimp for BeamBox. I've beamed
it to everyone I met since I first got my Palm V. It does
everything I nee
I write some Application to read a chip Card with a chip card reader for
palm. I must send the commans to the reader in Hex (e.g. Char com [] =
{0x00, 0x33, 0x34, 0x34,0x00}).
The user must give some parameter on the palm and i dont know how i can
change the format Char com [] = {"test"} to this C
Hello All,
I have a button in my application, on click of that button I need to
display the data(FirstName, LastName) from address book.Is there
any method/approach to read the data from the native
databases(Address book, Date book etc). I have written the following code:
Err getAddressDatabase
I made a function to drawn images PCX on the plam screen
the problem is taht i get the colloer messed up...
how can i set the palette i want to use from the pcx?
thnx a lot
_
MSN Messenger: converse com os seus amigos online.
h
Silvain Jewoh wrote:
I write some Application to read a chip Card with a chip card reader for
palm. I must send the commans to the reader in Hex (e.g. Char com [] =
{0x00, 0x33, 0x34, 0x34,0x00}).
The user must give some parameter on the palm and i dont know how i can
change the format Char com [
Okay.But is there not a function, thats convert { "test" } to { 0x74,
0x65, 0x73, 0x74, 0x00 }? because the reader can only understand
command in the last form ({ 0x74, 0x65, 0x73, 0x74, 0x00 }).
I hope you have understand what i mean.
thanks in advance
--- In [EMAIL PROTECTED], Matt Graham <
From: "Paul R." <[EMAIL PROTECTED]>
> > > MemSet(argvP, sizeof argvP, 0);
>
> It's valid because the argvP variable is not a pointer.
It has nothing to do with whether argvP is a pointer or not. It has to do
with whether argvP is a type or not. For example:
int a;
size_t b = sizeof a;
size_t c =
HI,
I'm having abite of problem recording sample on the Tungsten.
I can record fine but when I play it back the sample doesn't Sound quiet
right. It appears to be choppy and rate is not the same.
Here is my code. Note not complete code.
// create the stream
Err = SndStreamCreate(
&(myVar->
jewoh wrote:
Okay.But is there not a function, thats convert { "test" } to { 0x74,
0x65, 0x73, 0x74, 0x00 }? because the reader can only understand
command in the last form ({ 0x74, 0x65, 0x73, 0x74, 0x00 }).
I hope you have understand what i mean.
{"test"} and { 0x74, 0x65, 0x73, 0x74, 0x00 }
2002-12-15 15:22: Ken Krugler <[EMAIL PROTECTED]> is believed to have
typed:
> I'm not sure what you're asking here.
>
> There's Palm OS documentation on the LmGetLocaleSetting call, which
> can be used to retrieve the various currency-related settings
> available for the set of "known" locales
thanks
--- In [EMAIL PROTECTED], Matt Graham <[EMAIL PROTECTED]>
wrote:
> jewoh wrote:
> > Okay.But is there not a function, thats convert { "test" } to {
0x74,
> > 0x65, 0x73, 0x74, 0x00 }? because the reader can only understand
> > command in the last form ({ 0x74, 0x65, 0x73, 0x74, 0x00 }).
Danny Wong writes:
...
sndStereo,writeCallbackFunc,
...
When I play back the saved sample at the sampled rate of 44100 it is really
fast. I need To play it at 22050 to even make out the sample.
Are you, perchance, recording in mono and playing back in stereo, or
vice-versa?
Ron Nicholson
H
I know that one can't debug via USB, but can one get a Tungsten serial
cable to allow debugging.
Specifically I want to debug an app that will be doing NetLib communication
via the Bluetooth interface, and I'd like to be able to step through it on
the device in case it doesn't work in actuality
At 11:29 2002-12-16 -0800, you wrote:
I know that one can't debug via USB, but can one get a Tungsten serial
cable to allow debugging.
Actually, one can debug to the Tungsten T over USB with CodeWarrior for
Palm OS V9, shipping next week.
Specifically I want to debug an app that will be doing
Can anyone provide me with the GCC debugger in action. I'm still confused as
to how it is supposed to work...
Thanks!
:D
--
Dustin Davis
http://www.shiblon.com
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/support/forums/
HI,
I think I've tried both. I can try it again.
Regards,
-Original Message-
From: Ron Nicholson [mailto:[EMAIL PROTECTED]]
Sent: December 16, 2002 12:26 PM
To: Palm Developer Forum
Subject: RE: Voice recording on the Tungsten help
Danny Wong writes:
> ...
> sndStereo,writeCallba
Alternatively, if you want data databases (.pdb files) ... you should take
the output from pilrc and combine it into a .pdb file with the 'par'
utility. Works great.
"Danny YS Whang" <[EMAIL PROTECTED]> wrote in message
news:105377@palm-dev-forum...
>
>
> I am trying to get some Windows bitmaps i
We are building a serial cable to connect our m125 to one of our own devices
via RS232. Our device normally communicates with a PC, so our serial cable
would be a normal Palm serial cable with a gender changer and a null modem
cable.
Since we would like to create some of our own cables, there are
Until just now I had thought that the two operations below were identical.
A bug I just found in my code made me realize that they're not. Is there a C
wiz out there that could explain the difference? Thanks so much. The
Char*'s point into the dynamic heap, where they have been allocated with
MemP
Hi,
your code looks a bit strange. Just open the database by typeID and
creatorID and have a look into the address book source for the way the
name is stored into the record. Then you can query the record, add the
right offset and cast the address to a char*. This will be sufficient.
Henk
mlv
Look into the PalmOS References. You can get the pdf from palmsource.com.
Henk
Alexandre Barreto wrote:
I made a function to drawn images PCX on the plam screen
the problem is taht i get the colloer messed up...
how can i set the palette i want to use from the pcx?
thnx a lot
___
Ben Combee wrote:
GsiSetLocation isn't really a user level function -- its used
internally by the form code and the field management code. The proper
way to adjust this items position would be to change the location of
the GSI object in your form.
Thanks for the tip. I will try that.
You
At 14:00 2002-12-16 -0800, you wrote:
Ben Combee wrote:
GsiSetLocation isn't really a user level function -- its used internally
by the form code and the field management code. The proper way to adjust
this items position would be to change the location of the GSI object in
your form.
Thank
I'm attempting to beam a .pdb using ExgSend(), ExgDBWrite() on the sending
side and ExgReceive(), ExgDBRead() on the receiving.
Everything works fine when I beam the database from a 3.5 device to a 4.0 or
higher device and vice-versa. When I beam from a 3.5 device to a 3.5 device
the records see
#1 changes the address of fRecOne to point to the same memory location as
fRecPTwo
#2 copies the contents of fRecPTwo into fRecPOne
- Original Message -
From: "David Eyler" <[EMAIL PROTECTED]>
Newsgroups: palm-dev-forum
To: "Palm Developer Forum" <[EMAIL PROTECTED]>
Sent: Monday, December
On December 16, 2002 02:03 pm, Dave Lippincott wrote:
> #1 changes the address of fRecOne to point to the same memory location as
> fRecPTwo
No...
By de-referencing the pointers, you make a shallow copy of the data. If it
was written:
frecPOne = fRecPTwo;
You copy the pointers.
>
> Op #1: *fRecPOne = *fRecPTwo;
>
> Op #2: MemMove(fRecPOne, fRecPTwo, sizeof(FlightDB));
>
Actually I would have expected these operations to be identical as
well, except for overlapping memory areas (MemMove should handle it
correctly; I would suspect that op#1's handling would be com
> #1 changes the address of fRecOne to point to the same memory
> location as
> fRecPTwo
...but the pointers are being dereferenced, and thus shouldn't be modified -
as long as the memory areas don't overlap, I would expect to see two
different pointers pointing to the same data in both cases, no
Ben Combee wrote:
If you look at the HandEra 330 examples in their SDK, check out
example E -- they use a function called PrvMoveObject which explicitly
erases the object using a WinEraseRectangle call, then uses
FrmSetObjectBounds to move it lower on the form.
Actually, example H in their SD
- Original Message -
From: "David Eyler" <[EMAIL PROTECTED]>
> Op #1: *fRecPOne = *fRecPTwo;
>
> Op #2: MemMove(fRecPOne, fRecPTwo, sizeof(FlightDB));
They should be the same, as others have noted, and the first is preferable
(as less easy to screw up). The only thing I'd add is to say
It just came to my attention (via the Tools forum) that Metrowerks hasn't yet decided
whether to produce a MacOS-hosted version of CW9 for Palm (see below). Maybe this is
common knowledge on this forum, and forgive me for the noise if that's so, but I
searched the archives and found no statement
Dustin Davis wrote:
Can anyone provide me with the GCC debugger in action. I'm still confused as
to how it is supposed to work...
It's usually used in conjunction with POSE. You start it with a command
like this:
m68k-palmos-gdb progname
where "progname" is the file name for your appli
From: "Mark Wilden" <[EMAIL PROTECTED]>
> Op #2: MemMove(fRecPOne, fRecPTwo, sizeof(FlightDB));
>
> Op #3: MemMove(fRecPOne, fRecPTwo, sizeof *fRecPOne);
>
> is better than #2 since it doesn't hard-code the type in as many places.
>
True, but if you forget that critical * the code will compile
On Tue, 17 Dec 2002, Chris Tutty wrote:
> >
> True, but if you forget that critical * the code will compile
> and run but not do what you want. I prefer the explicit
> type because it's harder to screw up. Hmm, what would
> be really cool is a pre-processor function to insert the
> type of a v
The dynamic UI features tend to have a lot of gotchas that aren't
adequately documented. I have heard that trying to dynamically
manipulate a form object that's in the middle of a list of other objects
is fraught with peril. So I can only assume the same holds true for menus.
Thus, instead of
[..snip..]
So near yet so far ;-) I can see *what* you wanted to do but as you admit,
there is some confusion in your mind. Here's my two pence (euros?)...
> Op #1: *fRecPOne = *fRecPTwo;
From memory, what this will do is copy *one byte* from the memory at fRecPTwo
into the memory starting at
Thanks for all the help. It turns out that this point from Matthew,
"By shallow I mean it copies the data exactly (it copies the pointers
inside the structure, not the data the pointers point to.)"
was my underlying problem, not the difference between the dereferencing copy
operation and MemMove
From: "Chris Tutty" <[EMAIL PROTECTED]>
> From: "Mark Wilden" <[EMAIL PROTECTED]>
> > Op #2: MemMove(fRecPOne, fRecPTwo, sizeof(FlightDB));
> >
> > Op #3: MemMove(fRecPOne, fRecPTwo, sizeof *fRecPOne);
> >
> > is better than #2 since it doesn't hard-code the type in as many places.
> >
> True,
Hi Henk,
Thanks for your advice I did the same thing how you suggested, but still I
have the problem while displaying the data on the form. The actual problem
is I'm getting some junk characters, where I'm getting the actual
count(number of records in my Address Book), please suggest me I'm new
"Mark Wilden" <[EMAIL PROTECTED]> wrote in message
news:105393@palm-dev-forum...
>
> From: "Paul R." <[EMAIL PROTECTED]>
>
> > > > MemSet(argvP, sizeof argvP, 0);
> >
> > It's valid because the argvP variable is not a pointer.
>
> It has nothing to do with whether argvP is a pointer or not. It has
As Henk suggested you're nearly there, but you can't just write out the
address record. Have a look at the Address source (from the examples) and
investigate their use of the PrvAddrDBUnpack() function in addresdb.c and
the structures it uses. What you get back from the record is a c structure,
not
Looks like CW V9 is the only reasonable game in town.
With older CW or PalmDebugger you need a serial cable with a universal
connector. Do not use a Y cable with both USB and serial connectors.
The Y cable works for hot sync, but really confuses any debugging
traffic. If you have to reset the Tu
From: "Paul R." <[EMAIL PROTECTED]>
>You are
> correct a type such as "int" or even "struct XYZ" would need parens, but
not
> pointers or other objects.
Thanks. :) This is one of my pet bits of C trivia. I have parenthophobia,
but it doesn't do any harm to add them, I guess.
--
For information
i debug the program and found that when i click the list no lstselectevent
happened and only pendown and penupevent
"jason" <[EMAIL PROTECTED]> дÈëÏûÏ¢ÐÂÎÅ:[EMAIL PROTECTED]
>
> i click list ,but the lstSelectEvent not happen.
>
>
>
>
--
For information on using the Palm Developer Forums, or
I need to get up to speed on the memory management on the Palm.
Specifically, my app seams to have grown to a point that I'm running into
memory limitations on the device.
At the moment, I'd like to read up on what are the common pitfalls for
squandering memory and how to detect when memory is run
I am pretty sure that new throws bad_alloc if the allocation fails, so
try
{
SomeFunc();
}
catch( bad_alloc )
{
// die gracefully.
}
catch( ... )
{
// This will catch anything else thrown out of SomeFunc.
// Also, die gracefully, but for some unknown reason!
}
would work.
Brad
Which limit are you hitting? There are just so many.. Stack, Dynamic Heap,
Storage Heap, Segment... 8-)
Seriously though, can you be a bit more specific? What language is your
program written in?
Alan
"Richard Coutts" <[EMAIL PROTECTED]> wrote in message
news:105476@palm-dev-forum...
>
> I
(Adding wood to the impending fire...)
When you want to get into that level of abstraction, you should be looking
at C++, not C.
Alan
"Palm Developer" <[EMAIL PROTECTED]> wrote in message
news:105449@palm-dev-forum...
>
>
>
> On Tue, 17 Dec 2002, Chris Tutty wrote:
>
> > >
> > True, but if you fo
LoadField - Allocate Memory.
SaveField - Free Memory.
"Andy Arhelger" <[EMAIL PROTECTED]> wrote in message
news:105369@palm-dev-forum...
>
> Does anybody have some sample code for editing a number field in a table?
I
> am having some problems allocating and knowing when to free the memory for
> th
Hi,
Is there any third party tool/Evaluation tool for drawing grid
controls,Graphs in Palm.I want to draw some grid and graphs in my
form.I am using CodeWarrior, WIndows2000.
Thanks in advance,
Nalan
--
___
Get your free email from http://mail.indiainf
Jason, when this happens, it's almost always because:
1) Your FormHandler is returning handled for something it shouldn't be.
2) You've left out a break statement in your FormHandler switch statement.
3) In your event loop, when the AppHandleEvent call returns false, you are
not successfully passin
Could it be that you're missing the hidden "Resource Fork" directories?
(Does your backup software inculde hidden files???)
Alan
"Ben Combee" <[EMAIL PROTECTED]> wrote in message
news:105374@palm-dev-forum...
>
> At 04:17 2002-12-16 -0500, you wrote:
> >For my project PSRealtor, I deleted a direct
At the assembly level with PalmDebugger, there is a bizarre error such
that the second instruction following a JSR or TRAP is skipped over by
the debugger. The instruction is executed, but you can't single step
into or breakpoint on it. So single stepping has these holes in the
trace. What I'v
At 16:10 2002-12-17 +1100, you wrote:
Could it be that you're missing the hidden "Resource Fork" directories?
(Does your backup software inculde hidden files???)
He indicated he was working on Mac OS, which uses a file system with
embedded resource forks, rather than having them stored out-of-f
help:
i use this drawfunction to draw my list ,but i found that ,when then
parameter "UInt32 tem >100", my list can't response to my click .
static void DrawCheckInfoList(Int16 itemNum,RectangleType *bounds,char
**itemText)
{
UInt16 seekAmount = itemNum;
char *text;
StrIToA(text,tem); //
One problem off hand is that you are not creating a buffer to store the
result from StrIToA( text, tem );
You probably want to do something like the following.
char text[ maxStrIToALen ]; // char *text will cause memory violations.
StrIToA( text, temp );
DrawCharstToFitWidth( text, bounds );
T
> He indicated he was working on Mac OS, which uses a file system with
> embedded resource forks, rather than having them stored out-of-file.
Last time I looked at the macintosh filesystem (which, admittedly was a long
time ago) the HFS stores files in two "forks", a data fork (containing the
ba
At 10:54 PM -0800 12/16/02, Matthew Bevan wrote:
Last time I looked at the macintosh filesystem (which, admittedly was a long
time ago) the HFS stores files in two "forks", a data fork (containing the
bag-o-bits of the file) and a resource fork, containing the same style
resources as a Palm progra
77 matches
Mail list logo