I don't even have a variable called start in my application. Hence my
problem, I cannot figure out where this duplicate function problem comes
from. The first thing I did was to search my sourcefiles for start and
the word is only present in a comment block.
- Veronica
Subject: Re: error:
I've learned a few things in the last week about how carelessness in setting
selector trigger labels and form titles within your code can overwrite other
form resources producing bus errors, missing object not in form errors,
disappearing objects, or objects that stop working. The solution I know
I don't even have a variable called start in my application. Hence my
problem, I cannot figure out where this duplicate function problem comes
from. The first thing I did was to search my sourcefiles for start and
the word is only present in a comment block.
who owns this file then?
There is no usage of the symbol start in any case combination in my
sourcefile ppavotid.c not as a function or as a varaible or anything
else. This sourcefile is also the only sourcefile in my project.
The only thing that might have happened is that prc-tools creates this
function independently.
Try looking at the preprocessor output.
For example, suppose you define a function name void begin(void).
But suppose that some header somewhere has this line:
#define begin start
Then grep would not find start in your code, because indeed your code does
not say start. However by the time the
The fault was indeed in the makefile, as is often the case when one gets
simple error messages that are actually not correct. Thanks.
- Veronica
Subject: Re: error: crt0.c:35: multiple definition of 'start'
From: Chris Antos [EMAIL PROTECTED]
Date: Thu, 23 Jan 2003 01:10:10 -0800
To:
There is no usage of the symbol start in any case combination in my
sourcefile ppavotid.c not as a function or as a varaible or anything
else. This sourcefile is also the only sourcefile in my project.
The only thing that might have happened is that prc-tools creates this
function
The fault was indeed in the makefile, as is often the case when one gets
simple error messages that are actually not correct. Thanks.
so.. what was the fault? :) telling it here might aid others in the future.
---
Aaron Ardiri [EMAIL PROTECTED]
CEO - CTO
I am not sure what the exact fault was, it might have been the inclusion
of an extra argument (-o ). Alternatively it seems that I hade included
a double compilation of the sourcefile. Actually that would be my guess
apart from the fact that an example project with a similar make-file (the
one I
if (ceRecord.note != NULL)
{
}
When I drop into the debugger and look at what ceRecord.note is, it
is .
Why is my if statement failing?
Try taking the address of NULL, that should shake the grey cells a
bit ;-) There is a world of difference between NULL and , and indeed,
in your case a
Long shot... where is the -c option?? It seems you might be doing a
compile and link and then another link, hence the two clashing crt0
files.
Sean Charles.
--
For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
On Thu, Jan 23, 2003 at 10:34:59AM +0100, Veronica Loell wrote:
I am not sure what the exact fault was, it might have been the inclusion
of an extra argument (-o ). Alternatively it seems that I hade included
a double compilation of the sourcefile. Actually that would be my guess
apart from
On Thu, Jan 23, 2003 at 10:45:37AM +0100, Marco Pantaleoni wrote:
By the way, I'd bet my pants that using `start' in a program is
safe, since the `start' in crt0.o should be `_start' actually.
I guess I've losed my pants...
By doing:
$ pwd
/usr/local/palmos/m68k-palmos/lib
$
On Thu, 2003-01-23 at 09:56, Marco Pantaleoni wrote:
On Thu, Jan 23, 2003 at 10:45:37AM +0100, Marco Pantaleoni wrote:
By the way, I'd bet my pants that using `start' in a program is
safe, since the `start' in crt0.o should be `_start' actually.
I guess I've losed my pants...
So is
I am not sure what the exact fault was, it might have been the inclusion
of an extra argument (-o ). Alternatively it seems that I hade included
a double compilation of the sourcefile. Actually that would be my guess
apart from the fact that an example project with a similar make-file (the
Hi all,
i want to change the button color as well as the text color in a
standard button. anyone know how, plz mail me.
Thank u,
Pandiaraj
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/support/forums/
Hi,
Is it possible to change the UI colors without UIColorSetTableEntry
beacause i don't use WinPalette to set the palette but HwrDisplayPalette
(WinPalette is too slow) and UIColorSetTableEntry use the standard palette
to set colors.
Thanks
Chris
--
For information on using the Palm Developer
Eamon Kelly wrote:
hi,
does anyone know of a web browser which can access local native HTML files?
Preferable stored in the VFS, but I am happy to write an app to send the
files via the exchange manager.
The sample given with Palm's Web Browser 2.0 won't work for me because the
HTML files will
Hi,
On scouring the PalmOS Ref and Companion, I can't find any functions
that allow me to create a table dynamically (without a pre-existing
table resource).
Is there no way to do this?
If so, what am I missing?
Cheers
David
--
For information on using the Palm Developer Forums, or to
I keep getting an error when I attempt to set the owner of a structure to send with
AppCallWithCommand. Consider the following:
typedef struct{
char *StrOne;
char *StrTwo;
} MyParamsType;
I use MemPtrNew to allocate memory for the structure, then for the two strings. After
filling what ever
Anyone know how can I make the color changes that I make with
UIColorSetTableEntry stay after I exit my application?
Thanks,
Mike
__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com
--
For
[SOF]
/* pilrc generated file. Do not edit!*/
[EOF]
That's the contents of the resource .h file after applying V9.1 patch. (All
definitions have gone.)
I reported this error earlier and you said it's PilRC Designer fault. But
PilRC Designer was not running. (At least I did not launch it.)
This
At 01:40 2003-1-24 +1300, you wrote:
Hi,
On scouring the PalmOS Ref and Companion, I can't find any functions
that allow me to create a table dynamically (without a pre-existing
table resource).
Is there no way to do this?
Nope. Table creation isn't part of the Palm OS dynamic UI.
One
At 16:13 2003-1-23 +0100, you wrote:
[SOF]
/* pilrc generated file. Do not edit!*/
[EOF]
That's the contents of the resource .h file after applying V9.1 patch. (All
definitions have gone.)
Does you RCP file have a line that looks like
GENERATEHEADER resource.h
If so, every time the RCP file
You were correct, the window is being created off screen. I have a
multiple monitor machine (3 monitors), and I have the IDE running on the
left most monitor (the right most is my primary). When I open the debugger,
with the windows not maximized, the all in one window is created off screen
to
On Wed, 2003-01-22 at 19:32, Mike McCollister wrote:
Does anyone have an examples on how to create a popup list with the separator
lines in it like the colors list in the Palm OS 5 Simulator has?
Hi Mike,
Basically, you set up your draw function for the list, and anytime an
item in your list
Thanks for the help.
Mike
--- kcorey [EMAIL PROTECTED] wrote:
On Wed, 2003-01-22 at 19:32, Mike McCollister wrote:
Does anyone have an examples on how to create a popup list with the
separator
lines in it like the colors list in the Palm OS 5 Simulator has?
Hi Mike,
Basically, you
Thank you - it's that. I have both lines.
Jan Slodicka
- Original Message -
From: Ben Combee [EMAIL PROTECTED]
Does you RCP file have a line that looks like
GENERATEHEADER resource.h
If so, every time the RCP file is compiled, PilRC itself will generate a
new copy of the .h
When I create a new resource using DmNewResource, it creates it in the unsaved
preferences. Why does this happen? How can I get it to go to the saved
preferences section?
Thanks,
Mike
__
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable.
On Thu, 23 Jan 2003, Mike McCollister wrote:
When I create a new resource using DmNewResource, it creates it in the
unsaved preferences. Why does this happen? How can I get it to go to
the saved preferences section?
This begs the question... why are you using DmNewResource to put stuff in
I am at the LAST step of my application development :)
I have fully tested my app and am ready to make it
available in our company's web site for download.
What is the standard (if there is one) procedure for
downloading Palm Apps? I have one .prc file and 2 .pdb
files. Should I boundle these 3
On Thu, 23 Jan 2003, christy wrote:
What is the standard (if there is one) procedure for downloading Palm
Apps? I have one .prc file and 2 .pdb files. Should I boundle these 3
files into 1 zip file and that's it?
That's the simplest way, yes :-)
Do I need to write an unintall.prc?
No. If
Brian,
When I create a new resource using DmNewResource, it creates it in the
unsaved preferences. Why does this happen? How can I get it to go to
the saved preferences section?
This begs the question... why are you using DmNewResource to put stuff in
the preferences database(s)?
Is there a way to ENFORCE the downloader to include
the .pdb files? If they only download the .prc, they
will get an error (have to reset their handheld) when
they run the application.
--- Brian Smith [EMAIL PROTECTED] wrote:
On Thu, 23 Jan 2003, christy wrote:
What is the standard (if there
I think you may be running into the dynamic UI problems that existed before the 4.0
OS. Look in the archives for Dynamic UI to find the discussions.
Previous to OS 4, using dynamic form stuff was problematic as the OS would mangle some
internal structures when adding new objects to the forms
If you're going to insist that your user install .pdb files, why not
handle the situation where they forgot/ignored you/didn't read the
readme gracefully?
You have to open those databases, right? If they're not there, you
could handle that return code, and pop up a dialog box saying Hey
loser,
Hrm, without looking at the code, it's difficult to say, but the docs
say that DmNewResource creates a resource in a given database. The first
arguement is a database pointer. Isn't this the pointer in which the
resource is created?
In detail:
MemHandle DmNewResource(DmOpenRef dbP,DmResType
Sounds like a good idea.
Thanks.
--- kcorey [EMAIL PROTECTED] wrote:
If you're going to insist that your user install
.pdb files, why not handle the situation where they
forgot/ignored you/didn't read the readme gracefully?
You have to open those databases, right? If they're
not there, you
At 09:35 2003-1-23 -0700, you wrote:
You were correct, the window is being created off screen. I have a
multiple monitor machine (3 monitors), and I have the IDE running on the
left most monitor (the right most is my primary). When I open the debugger,
with the windows not maximized, the all
I currently have an application which displays data in multiple lists. I'd
like to implement a item lookup feature such as the one used in the address
application where the user writes the item he wants and the list highlights
the closest match.
However I want this functionality, if even if it
At 13:24 2003-1-23 -0500, you wrote:
I currently have an application which displays data in multiple lists. I'd
like to implement a item lookup feature such as the one used in the address
application where the user writes the item he wants and the list highlights
the closest match.
However I
Is there any way to get a m68k-palmos-gdb based on gdb 5.2? I would like to
used m68k-palmos-gdb with Eclipse and I understand 5.2 is required for that
to work.
--
Andy Arhelger
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
Do any of you know of a good tool to compare pdb files. It can run on
the PC or on the palm.
thanks
Eric Potter
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/support/forums/
I've used a regular PC Hex editor to compare files and see the differences.
HackMan comes to mind.
http://download.com.com/3000-2352-10163734.html?tag=lst-0-1
- Original Message -
From: Eric Potter [EMAIL PROTECTED]
Newsgroups: palm-dev-forum
To: Palm Developer Forum [EMAIL PROTECTED]
At 15:13 2003-1-23 -0500, you wrote:
Do any of you know of a good tool to compare pdb files. It can run on
the PC or on the palm.
Get par from http://www.djw.org/product/palm/par/ and use
par t file1.pdb out1
par t file2.pdb out2
then use a text diff tool to compare out1 and out2.
The only
Ben Combee [EMAIL PROTECTED] wrote on 1/23/03 4:28 pm:
par t file1.pdb out1
par t file2.pdb out2
then use a text diff tool to compare out1 and out2.
I use pilot-file's record dump in a similar manner.
--
/* Chris Faherty [EMAIL PROTECTED] */
--
For information on using the Palm
I have a list on a form (declared in the resources, not constructed at
runtime) and I need to know at runtime how tall it is.
LstGetVisibleItems only returns the number of active choices. No way to
tell if the list is full or not.
I wonder if I have to embed a constant that I would have to
LstGetVisibleItems only returns the number of active choices. No way to
tell if the list is full or not.
LstGetVisibleItems() * FntGetHeight()
or... get the bounds of the object (better)?
FrmGetObjectBounds()
I wonder if I have to embed a constant that I would have to remember to
change if
Thanks for the reply.
I thought about for a while more last night and then it finally dawned on
me. There are some things with C I still just don't get immediately.
Andy
On 1/23/03 4:23, in article 110224@palm-dev-forum, Sean Charles
[EMAIL PROTECTED] wrote:
if (ceRecord.note != NULL)
{
Thank You for answer. I would like to download it for emulator but I don't
have access to seeding area? where can I find the 4.1.2 rom? maybe someone
can sand it to me?
Kamil Brzeziski
- Original Message -
From: Alan Ingleby [EMAIL PROTECTED]
Newsgroups: palm-dev-forum
To: Palm Developer
Is there any way to create dynamic form objects (buttons)
with customized foreground or background colorization?
Thanks,
Ron Nicholson
HotPaw
http://www.hotpaw.com/rhn/hotpaw
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
On Fri, 2003-01-24 at 05:21, Ben Combee wrote:
One suggestion: if you use Object Library for Palm OS, there is a whole
reimplementation of tables called CCustomGrid, and objects of this type can
be created at runtime, since it uses POL's component architecture.
Details at
At 15:05 2003-1-23 -0800, you wrote:
Is there any way to create dynamic form objects (buttons)
with customized foreground or background colorization?
Create them as graphic (bitmap) buttons and draw the entire button yourself
in offscreen bitmaps.
--
Ben Combee [EMAIL PROTECTED]
CodeWarrior
Hello,
This is a two part question, I would like to know how to have my toolbar
application load at the bottom of any application that is running? I
have already adjusted the form to the correct size. If I do not want the
toolbar to load then to add a menu item in conjuction with what is
already
Use PrefOpenPreferenceDB() to open the preferences database.
It takes a boolean argument indicating whether to open the Saved or Unsaved
preferences.
Mike McCollister [EMAIL PROTECTED] wrote in message
news:110272@palm-dev-forum...
Brian,
When I create a new resource using DmNewResource,
Hi
Both the palms I've seen are M68k-based.
Are all PalmOS devices M68k-based?
Do their API functions have the same stack frame structure?
I ask because I'm about to write a low-level assembler routine to act as
a universal wrapper for the whole PalmOS API.
From C, the routine will look like:
Ben,
The check box is not set.
Brad
Brad, since you have multiple monitors, check and see if the Use
Debugging
Monitor checkbox is set uner Edit/Preferences/Debugger/Windowing. This
lets CW detect a second monitor and automatically put debugging windows on
that monitor. However, I
At 07:48 2003-1-21 -0800, you wrote:
Now that Graffiti 2 will be in all future OS versions, I have a
couple of
questions:
1) Is there a way to detect that Graffiti 2 is available or do I just
check the
OS version?
The answer's in the Compatibility Appendix of latest version of the
Palm OS
Cool.
That is what I needed.
Thanks,
Mike
--- Jean Ostrem [EMAIL PROTECTED] wrote:
At 07:48 2003-1-21 -0800, you wrote:
Now that Graffiti 2 will be in all future OS versions, I have a
couple of
questions:
1) Is there a way to detect that Graffiti 2 is available or do I just
Aaron,
If you have found a quick and easy solution for this I would appreciate knowing it. I
asked this question on the Sony forum a
while ago and received a nice reply and solution which works well (get a pointer to
the bitmap family and then move forward to
the HDD member), but it would be
I'm 99% done with my new Palm OS game. But this bug is
stalling me...
When I try to display an alert I see bits of bitmaps
in it that are from my application. It's almost as if
the system is drawing one of my bitmaps instead of the
correct alert icon. I also see the same problem when
the keyboard
We are looking for a contractor familiar with the html browser of Palm
5.0/5.1 to help us deliver a primitive html-based application on a Palm OS
device (Sony Clie). The application should be capable of handling relatively
simple html pages that are on the PDA, some Forms (the action is to go to
Ben Combee [EMAIL PROTECTED] writes:
At 15:05 2003-1-23 -0800, [[EMAIL PROTECTED]] wrote:
Is there any way to create dynamic form objects (buttons)
with customized foreground or background colorization?
Create them as graphic (bitmap) buttons and draw the entire button
yourself in offscreen
I have a list on a form (declared in the resources, not constructed
at runtime) and
I need to know at runtime how tall it is.
In pixels or items?
Pixels: get the objects bounds.
Items: min(# items, visible items)
Regards,
Steve Mann
--
For information on using the Palm Developer Forums, or to
At 17:50 2003-1-23 -0800, you wrote:
I'm 99% done with my new Palm OS game. But this bug is
stalling me...
When I try to display an alert I see bits of bitmaps
in it that are from my application. It's almost as if
the system is drawing one of my bitmaps instead of the
correct alert icon. I also
FYI - I moved CW back to my primary monitor and it fixes the problem.
Brad Figler [EMAIL PROTECTED] wrote in message
news:110332@palm-dev-forum...
Ben,
The check box is not set.
Brad
Brad, since you have multiple monitors, check and see if the Use
Debugging
Monitor checkbox is set
The blurb say that Palm OS Programming Bible, 2nd Ed.
covers OS 5 API's.
Has anyone read this? How does it compare to other
PalmOS programming books in usefulness and quality?
Thanks,
Ron N.
HotPaw Productions
--
For information on using the Palm Developer Forums, or to unsubscribe, please
Hi all
I am new to this Developer Forum. If anywhere I am
going wrong, please let me know.
Problem :- I have a popup list In which I am
displaying a code one of the field from my
Supplier table. and the end user supposed to select
the code from the List.
Total Number of visible items (List ) =
I find some multi-colors icon on palm desktop,but I can't do it.I only set
2 colors icon as application icon.Please help me.
I want to select a 256 colors bitmap for Graphic Push Button,and I have
the 256 colors bitmap.but how to add the 256 colors bitmap to file
Starter.rsrc?
Thanks.
--
--On Thursday, January 23, 2003 7:03 PM -0800 Steve Mann
[EMAIL PROTECTED] wrote:
I have a list on a form (declared in the resources, not constructed
at runtime) and
I need to know at runtime how tall it is.
In pixels or items?
Pixels: get the objects bounds.
Items: min(# items, visible
Hi all
I am new to this Developer Forum. If anywhere I am
going wrong, let me know.
Problem :- I have a popup list In which I am
displaying a code one of the field from my
Supplier table. and the end user supposed to select
the code from the List.
Total Number of visible items (List ) = 3.
You might want to take a look at Pilot Catapult. It will make you a Setup
file that includes all the necessary *.PRC's * PDB's. You can find it at:
http://www.beiks.com/palmzonebg/catapult.htm
Brian
christy [EMAIL PROTECTED] wrote in message
news:110269@palm-dev-forum...
I am at the LAST
72 matches
Mail list logo