Check if you crossed 64k segment limit.
If not move files up and down in Link order and recompile. This is for CW.
Regards,
Sheshu Kumar Inguva
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of nitin baranwal
Sent: Friday, September 15, 2006 3:40 PM
To: Pa
Your application has gotten "too big". Time to start investigating how to
split it into multiple segments. How you go about that depends on what
development platform you are using (CW, GCC, etc)
Mitch Fawcett
Tapn'see Software
http://www.tapnsee.com
Home of SuperList2 and SuperList3
- Origi
A 16bit relative jump can only jump 32K of address space. You are probably
trying to call GetCountryName from a code outside that range. Put a call
island within range of the call and the callee.
Example:
// The call
far_GetCountryName(countryName);
// Less than 32K of co
Or if using CW, change the "Code Model:" to "Smart" instead of "Small".
This will tell the compiler to use 32 bit jumps where needed. It's a lot
easier to use than jump islands, but results in slightly bloated code.
Regards,
Alan Ingleby
Systems Developer
ProfitLink Consulting Pty Ltd
309 Burwo
"Rhoda BEROL" <[EMAIL PROTECTED]> wrote in message
news:55228@palm-dev-forum...
>
> Is anybody who understand this error?
> I converted my code from SDK 3.0 to SDK 4.0.
>
> Link Error : __RuntimeModule__: '__Startup__' referenced from
> '__DummyStartup__' is undefined.
It means that you need to
Tou didn't include the MSL Runtime PalmOS library into your workspace.
OR
You compiled PalmOS_
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Rhoda
BEROL
Sent: Tuesday, July 03, 2001 10:42 AM
To: Palm Developer Forum
Subject: Link error
Is anybody who
I'll reply again (I hate Microsoft).
You forgot MSL Runtime PalmOS.lib in your project
-OR-
You compiled PalmOS_Startup.c in C++ with out declaring __Start__ as extern
"C"
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Rhoda
BEROL
Sent: Tuesday, July
Thanks, I add the MSL Palm OS Runtime (2i).lib and everything works.
> It means that you need to link your project with the "MSL Palm OS
> Runtime (2i).lib" file instead of "StartupCode.lib", as you're either
> using C++ objects or multiple segments, which aren't supported by the
> basic statup c
http://oasis.palm.com/dev/kb/faq/1418.cfm
Most answers are already in the Knowledge Base.
- Original Message -
From: "Don Sherwood" <[EMAIL PROTECTED]>
Newsgroups: palm-dev-forum
To: "Palm Developer Forum" <[EMAIL PROTECTED]>
Sent: Monday, May 13, 2002 10:47 AM
Subject: Link Error
> I'm
In article <86146@palm-dev-forum>, [EMAIL PROTECTED]
says...
>
> I'm having trouble getting my application to link. I get the errors
> "Link Error : __RuntimeModule__: Near data segment is bigger than 64k."
> and
> "Link Error : PalmOS_Startup.c: '__LoadAndRelocate__' 16-bit data
> referenc
try move your cpp files to another segment (to first for example).
this error mean in your project placed overcrowded segment. you can
will comment code in different files until your link error is not
disappear. if you discover the problematically file then will move him
to another segment.
MC> Li
How can I tell which segment is overcrowded? I was
thinking it's probably the first segment, based on the
error message, but I've taken all my cpp files out of
there & reduced the starterapp.cpp file down as much
as I can.
--- "tut.by" <[EMAIL PROTECTED]> wrote:
> try move your cpp files to anot
Map file contains complete information.
Jan Slodicka
- Original Message -
From: "Mark Chauvin" <[EMAIL PROTECTED]>
To: "Palm Developer Forum" <[EMAIL PROTECTED]>
Sent: Thursday, November 18, 2004 3:31 PM
Subject: Re: Link error
> How can I tell w
Jan,
Having never seen a map file before this morning
(never needed to look), I'm no expert, but it doesn't
seem to show any overcrowded segments, assuming 68K is
the limit:
Segment 1 47518 bytes
Segment 2 19768 bytes
Segment 3 16678 bytes
Segment 4 10628 bytes
Segment 5 16786 bytes
Segment 6 298
Mark Chauvin wrote:
Jan,
Having never seen a map file before this morning
(never needed to look), I'm no expert, but it doesn't
seem to show any overcrowded segments, assuming 68K is
the limit:
Segment 1 47518 bytes
Segment 2 19768 bytes
Segment 3 16678 bytes
Segment 4 10628 bytes
Segment 5 16786 b
Robert,
Can I move any of these files out of segment 1?
Palm OS Runtime.mcp
PalmOS Runtime_21_A5.lib
MSL_C++_PalmOS_2i_DbA4A5.lib
POLD1.lib
Starter.cpp
StarterApp.cpp
POL Lib.mcp
I thought I read that you have to have some (or all)
of these in the first segment or it'll crash your Palm
when you
Sent: Thursday, November 18, 2004 6:25 PM
Subject: Re: Link error
> Robert,
>
> Can I move any of these files out of segment 1?
>
> Palm OS Runtime.mcp
> PalmOS Runtime_21_A5.lib
> MSL_C++_PalmOS_2i_DbA4A5.lib
> POLD1.lib
> Starter.cpp
> StarterApp.cpp
> POL Lib.mc
At 11:25 AM 11/18/2004, you wrote:
Can I move any of these files out of segment 1?
I thought I read that you have to have some (or all)
of these in the first segment or it'll crash your Palm
when you try to install the program.
- Palm OS Runtime.mcp
- POL Lib.mcp
The .mcp files don't contribute cod
Robert Moynihan wrote:
> Mark Chauvin wrote:
>
>> it doesn't
>> seem to show any overcrowded segments, assuming 68K is
>> the limit:
>>
>> Segment 1 47518 bytes
>> Segment 2 19768 bytes
>> Segment 3 16678 bytes
>> Segment 4 10628 bytes
>> Segment 5 16786 bytes
>> Segment 6 29814 bytes
>> Segment
At 12:03 PM 11/18/2004, you wrote:
I am not sure about the runtime, but POL should be ordinary application code
and as such should be movable. Try and see... Nothing worse than a crash can
happen. (More severe criteria are applied when the app is e.g. receiving
some data - in this case it is launch
> -Original Message-
> From: Dilek Özgü
>
>
> Hi.
> I use to print function (in Symbol SDK Support).
>
> extern "C" {
> #include "PtPrint.h"
> }
>
> When my program size increased , Its give me errors
> "
> Link Error : Starter.cpp : 'PrinterOpen()' 16-bit code reference to
> 'ptOp
Do you have both functions MainFormHandleEvent and
SecondFormHandleEvent? It's your task to write them.
Henk
[EMAIL PROTECTED] wrote:
> Hi.
>
> I'm new to CodeWarrior IDE. There are two forms (MainForm and
> SecondForm) and one header file (Starter.h). When doing the
> compilation:
>
> Lin
Yes. I do have the AppHandleEvent(EventType*) function in the
Starter.cpp(main cpp). Besides, the MainFormHandleEvent(EventType*)
and SecondFormHandleEvent(EventType*) are in MainForm.cpp and
SecondForm.cpp respectively (which forms do their functions at form
level).
I have declared the func
Hi Quennie,
Check out the following
1.The MainFormHandleEvent and SecondFormHandleEvent have a prototype defined
either in the same file or in some .h file.
2.I hope the Project Access Paths are set to appropriate values.
The same can be found under Edit->Debug/Build Settings
Do lemme know aftet c
At 02:19 PM 9/13/2002 +0800, you wrote:
>Hi.
>
>I'm new to CodeWarrior IDE. There are two forms (MainForm and
>SecondForm) and one header file (Starter.h). When doing the
>compilation:
>
>Link Error : Starter.cpp: 'MainFormHandleEvent(EventType*)'
>referenced from 'AppHandleEvent(EventType*)' is
See if this helps: http://oasis.palm.com/dev/kb/papers/1469.cfm
horace
"Chris APERS" <[EMAIL PROTECTED]> wrote in message
news:106302@palm-dev-forum...
Hi,
First thanks to all of you who help me these past days.
Now, I have a big problem when i try to compile a new version of my program,
i add
At 20:29 2002-12-23 +0100, you wrote:
Hi,
First thanks to all of you who help me these past days.
Now, I have a big problem when i try to compile a new version of my
program, i added some new stuff (.cpp files) and now i have these links
errors :
Link Error : saveslot.cpp: Near data segment
Is there a way to use very large data segement ?
I really need that
- Original Message -
From: "Ben Combee" <[EMAIL PROTECTED]>
To: "Palm Developer Forum" <[EMAIL PROTECTED]>
Sent: Tuesday, December 24, 2002 6:29 AM
Subject: Re: Link error
> At 20:29
At 12:51 2003-1-7 +0100, you wrote:
Is there a way to use very large data segement ?
I really need that
No, its just not supported by Palm OS -- when Palm OS starts your program,
it allocates a chunk of memory for your data segment, and the code in the
OS won't allocate more than 64K for this.
"Harl Clifford Duffey IV" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> My code compiled fine until I added a parameter to a function - now I get
> a link error:
>
> Link Error: '___Startup___' 16-bit code reference to 'PilotMain' is out of
> range
>
Have you tried moving your obje
Do you have one of the Palm OS Runtime libraries linked with your
project?
good luck,
Caspar
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Edward
P. Ross
Sent: Monday, January 05, 2004 2:28 AM
To: Palm Developer Forum
Subject: Link Error
On one of my
At 08:27 PM 1/4/2004, Edward P. Ross wrote:
On one of my targets I am getting a link error (see below). I tried
clearing out some of the temp folders/data but that did nothing. Any
ideas or do I need to delete and re-create it?
Link Error : __RuntimeModule__: '__Startup__' referenced from
'
You've placed too much code in the segment1? What to do:
1. Move some functions to other segment
2. Rearrange functions so that MultiSegOpen is "closer" to the top
3. Rearrange files in the "Segments" tab - place the one with this
function iside at the top
palm os wrote:
When I link Debug_Segmen
Don't use "activate C++" like that. It really means "compile .c files as C++". If
your file has a .cpp extension, the compiler will always build it as C++.
-Original Message-
From: Marcelo Henrique
Date: 2/4/04 10:54 am
To: Palm Developer Forum
Subj: Link Error???
Hello,
I have a
hi Ben,
I tried to rename the files to .cpp and including then
but it is not compiling then using c++
so i get error in the class declaration.
any clues?
thnx
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/support/forums/
At 06:19 AM 2/5/2004, you wrote:
hi Ben,
I tried to rename the files to .cpp and including then
but it is not compiling then using c++
so i get error in the class declaration.
any clues?
You're using the Light/Demo version. That might not support C++; I don't
remember about the limitations of som
I'm including then in both ways
usein #include and by adding the files to the project
if a mark the option use C++ compiler it compiles as C++ so i thiunk it
works on the Lite
but i need to use theis classes in the file in #includeing then...
thnx
Ben Combee wrote:
At 06:19 AM 2/5/2004, you wro
On 13/05/2008, at 1:28 PM, Vivian Chen wrote:
I've search from Google that -mno-cygwin mean to use mingw to
compile not cygwin. And -nostdlib means not to use standard library.
The second one is easily to be understood. But I'm quite confused
to the first one.
My library is compiled by gcc
发件人: Lincoln Ramsay
发送时间: 2008-05-13 22:48:00
收件人: Palm Developer Forum
抄送:
主题: Re: Link error
On 13/05/2008, at 1:28 PM, Vivian Chen wrote:
> I've search from Google that -mno-cygwin mean to use mingw to
> compile not cygwin. And -nostdlib means not to use standard library.
re also based on standard C library functions. Are they?
Does there have any limit?
2008-05-14
Vivian Chen
发件人: Lincoln Ramsay
发送时间: 2008-05-14 17:39:03
收件人: Palm Developer Forum
抄送:
主题: Re: Link error
On 14/05/2008, at 11:32 AM, Vivian Chen wrote:
> Thanks. I really know
On 14/05/2008, at 11:32 AM, Vivian Chen wrote:
Thanks. I really know very little about the cygwin.
How to link project to the cygwin? I think I have. Must I choose -
mno-cygwin? If I choose, I get a "undefined reference to" error.
-mno-cygwin means your app will not be linked to Cygwin. You s
On 14/05/2008, at 7:54 PM, Vivian Chen wrote:
Because my library has called some standard C library functions in
it. And when I debug the project, there's a crash.
As I've already said, without the actual error messages you're
getting from the computer we can only guess what the problem is.
if I have any question in future?
2008-05-15
Vivian Chen
发件人: Lincoln Ramsay
发送时间: 2008-05-14 19:53:42
收件人: Palm Developer Forum
抄送:
主题: Re: Link error
On 14/05/2008, at 7:54 PM, Vivian Chen wrote:
> Because my library has called some standard C library functions in
> it.
On 15/05/2008, at 1:15 PM, Vivian Chen wrote:
Would you help me if I have any question in future?
I'm on this list so post here and I'll help if I can.
--
Link
--
For information on using the ACCESS Developer Forums, or to unsubscribe, please
see http://www.access-company.com/developers/fo
ifin Corporation
636.239.7711 x243
**/
Lincoln Ramsay <[EMAIL PROTECTED]>
Sent by: [EMAIL PROTECTED]
05/15/2008 08:12 AM
Please respond to
"Palm Developer Forum"
To
"Palm Developer Forum"
cc
Subject
Re: Link error
On
Haagensen, Brandt,
On Wed, 12 Apr 2000 17:59:48 -0700, you said:
> Periodically I am getting an 'Unexpected Link Error # 32. Font index not
> found. Compilation halted. I am using VC6.
This seems to be a bug that started showing up a few months ago when
people moved to CW R6 from CW R5.
I t
e releasing a fix for this very soon.
--vivek
"D. DeVecchio" <[EMAIL PROTECTED]> on 04/13/2000 08:19:45 AM
Please respond to "Palm Developer Forum" <[EMAIL PROTECTED]>
Sent by: "D. DeVecchio" <[EMAIL PROTECTED]>
To: "Palm Develope
> From: Sam Charette [mailto:[EMAIL PROTECTED]]
> I am having some problems with a link error... I am trying to make an
> ESQL program using UltraLite, and when I link the application together
> (which is a horrendously basic application) I get the following error:
>
> Link Error : __RuntimeModul
As bad as I feel for saying it: A little from column "A" and a little from column "B"
:)
The app itself is mostly C, but I made a database class to encapsulate some of my
functions, so that part (just recently added) is
C++.
As for startup library, I think you are referring to the one called S
> From: Sam Charette [mailto:[EMAIL PROTECTED]]
> The app itself is mostly C, but I made a database class to
> encapsulate some of my functions, so that part (just recently
> added) is C++.
>
> As for startup library, I think you are referring to the one
> called StartupCode.lib in my project.
Well, I did this (only I used 4i, because I recall somewhere in the book I have that
UltraLite prefers 4-byte ints instead of
2-byte) and it gave me a different linker error, but this time with a function name
attatched - my destructor. Commented it out
(since it wasn't doing much anyways ;) an
Do you have any code or examples? Just my guess, you might want to check
that you did not call a function in another file that is declared as
'static'. This makes the function file scope only and inaccessible to
anything outside it.
Rgds,
Jun-Kiat Lam
Metrowerks Technical Support
-Original M
> Hi everyone,
>
> I am trying to develop a shared library which will contain a couple of C++
> classes.
>
> I can do the following:
>
> Classname classvar; // calls the default constructor.
>
> The above is fine, no problem.
>
> But if I try to do the following:
>
> Classname *classvar;
> classva
Philip Sheard <[EMAIL PROTECTED]> wrote in message
news:33152@palm-dev-forum...
>
> > Hi everyone,
> >
> > I am trying to develop a shared library which will contain a couple of
C++
> > classes.
> >
> > I can do the following:
> >
> > Classname classvar; // calls the default constructor.
> >
> > T
> The exact same code compiles and links fine if it is in a C++ application
> using PalmOS 3.5 stationary under CWr6, but does not work if it is in a
> shared library. How do you explain that?
>
> Has anyone used C++ with shared libraries before?
I would be very surprised if PalmOS did support C+
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> I try to divides the aplication in some
> modules, but I got the following message "
> Link Error : CobranzasUI.cpp: Global Object 'PPharm'
> was already declared in File: 'PharmUI.cpp'.
> Link Error : PedidosUI.cpp: Global Object 'PPhar
> Does anyone know what this error means and how do i rectify
> this. "Link Error: Unexpected error #32. DirectBits not supported. "
>
> I think the problem is with the bitmaps i had included in the
> rsrc file. The rsrc was created in constructor 1.6 in my
> friends machine but i use these in
> I'm using ANSI C sscanf( ) in my program, and stdio.h is included,
> but I got link error "sscanf referenced from 'my_func' is undefined".
> Could someone tell me how to solve this problem?
You shouldn't need to use this function and go outside of the API, but if
your must, then you need to cre
Well, I fixed it. Ben, I was able to move the C++
library to segment 4. I'd already moved all extra
code out of the CPalmApp object into a "utilities"
module instead. What made the biggest difference was
moving POLD1 to the bottom of segment 1 instead of the
top. That apparently made the jumps
George,
In CodeWarrior, go to Edit/Preferences/Debugger/Global Settings and
check the 'Auto Target Libraries' checkbox. It should fix the problem.
Anupam
- Original Message -
From: "George Bassili" <[EMAIL PROTECTED]>
To: "Palm Developer Forum" <[EMAIL PROTECTED]>
Sent: Tuesday, J
In article <90156@palm-dev-forum>, [EMAIL PROTECTED] says...
>
> Hi everyone,
> i just changed my app to a multi-segment app and i am getting a string of
> link errors that appear to indicate the floating point stuff is not being
> included.
> But i have included MSL Runtime Palm OS (2i).Lib.
>
Hi everyone (BEN),
>I replied to this same question on >pilot.programmer.codewarrior -- you
>need to change the 68K Processor setting for >Floating Point from
>"Library" to "Palm OS".
If you need to set this to "PALM OS" why does the multi segment stationary
set it to Library? Is there a reaso
In article <90239@palm-dev-forum>, [EMAIL PROTECTED] says...
>
> Hi everyone (BEN),
>
> >I replied to this same question on >pilot.programmer.codewarrior -- you
> >need to change the 68K Processor setting for >Floating Point from
> >"Library" to "Palm OS".
>
>
> If you need to set this to "PAL
With CW9 it's so easy to use segments, so just segment it up.
LionScribe
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Paul
Groschen
Sent: Thursday, September 04, 2003 2:20 PM
To: Palm Developer Forum
Subject: Link Error AppHandleEvent
I am getting the er
I'm new to segments. Are they in 64K blocks? Do you have an example or
literature I can read. I see the segment tab in my project but I'm not sure
what to do with it
Thanks
Paul
"LionScribe" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
>
> With CW9 it's so easy to use segments, so
,
must be in the first segment.
LionScribe
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Paul
Groschen
Sent: Thursday, September 04, 2003 8:45 PM
To: Palm Developer Forum
Subject: Re: Link Error AppHandleEvent
I'm new to segments. Are they in 64K block
I have noticed that if I choose a new C++ project,
CW adds a library to the project (about 12k) that is
not there for a C project. I guess you might need to
manually add that library to your project (I don't know
the name, so you might have to make a c++ temporary project
to see what library it a
Yes, if you're making a C++ app then you need the C++ runtime, which is different than
the C runtime:
C --> StartupCode.lib
C/C++ --> MSLRuntime[2|4]i.lib
The 2/4 is for 2 --OR-- 4 byte integers; you should include the one that matches your
project settings. You should be able to find this fil
"Wang Yan-FYA009" <[EMAIL PROTECTED]> wrote in message
news:39982@palm-dev-forum...
> I got a link error message from CodeWarrior 7 when do a make:
> Link Error : InkCollectorForm.c: '_FindIntersection' 16-bit code
reference
> to '__lmul__' is out of range.
This means that your FindIntersection
Thanks alot Danny! I move the module near to startup code and now is solved.
Thanks again!
Yan
> -Original Message-
> From: Danny Epstein [mailto:[EMAIL PROTECTED]]
> Sent: Friday, February 16, 2001 3:43 PM
> To: Palm Developer Forum
> Subject: Re: Link Error Messag
.
Please correct me if this is a bad idea.
Jacky
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Wang
Yan-FYA009
Sent: Saturday, February 17, 2001 1:23 PM
To: Palm Developer Forum
Subject: RE: Link Error Message
Thanks alot Danny! I move the module near
Your idea is commonly referred to as "jump islands" or "code islands". They
can be a pain to maintain, but are a valid solution to the problem.
Personally, I would switch to multiple segments before resorting to jump
islands, but there are cases were you need both. As mentioned in other
threads, t
Ed,
Just a guess, but could the English version be interpreting the (2-byte)
Unicode wide characters as (double the length) single byte characters?
Al
- Original Message -
From: "Edward P. Ross" <[EMAIL PROTECTED]>
To: "Palm Developer Forum" <[EMAIL PROTECTED]>
Sent: Saturday, August
When compiling an application I am getting the following error:
Link Error : PalmRez Error: Menu 1000 'ä¬ã´?ðíË' item
'ÉNÉâÉCÉAÉìÉg?EÉvÉ?ÉtÉB?[Éã' is wider than the screen.
Link Error : PalmRez Error: Total: 6 errors encountered. Compilation halted
This is a japanese language application comp
At 09:06 PM 8/9/2003, Edward P. Ross wrote:
When compiling an application I am getting the following error:
Link Error : PalmRez Error: Menu 1000 '«?Ýè' item
'NCAg?Ev?tB?[' is wider than the screen.
Link Error : PalmRez Error: Total: 6 errors encountered. Compilation halted
Al -
That's a good point - is there a setting in CW that could have been inadvertently set?
I can't see anything really obvious.
Ed
"Albert J. Franklin" wrote:
> Ed,
>
>Just a guess, but could the English version be interpreting the (2-byte)
> Unicode wide characters as (double the length
I usually like to provide solutions when I find the answer to a question I asked.
Here it goes.
I turned the PC off last night and when I woke up today I turned it back on. I
re-compiled, and it worked. No changes to
anything, no tweaks, no nothing.
Apparantly the computer just needed to ta
At 04:23 AM 10/3/2003, Chris Apers wrote:
Hi,
i have ported a project from v8.3 to v9.2 and now i have link errors :
Link Error : file.cpp: '__upper_mapC' referenced from
'File::fopenNoCase(const char*,const char*,const char*)' is undefined.
Link Error : file.cpp: '__lower_mapC' referenced fr
extern extern
yes yes
It works now, thanks a bunch
Jim
McMicken, Steven <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
>
> Make sure that function 'MainFormHandleEvent' is not declared as static.
> You should also put a function prototype in the header file (MainForm.h)
for
> the mo
Well, I think you should change your calling convention. (eg
Boolean MainFormHandleEvent(EventPtr eventP);
to
extern Boolean MainFormHandleEvent(EventPtr eventP);)
Also, include all your .c files into the project, as well
as all accompanying header files.
-Rus
>-Original Message-
>Fro
Jim Duffy <[EMAIL PROTECTED]> wrote:
> Starter.c 'MainFormHandleEvent' referred from 'AppHandleEvent is undefined.
[...]
> My roomate (an experienced windows programmer) could not figure this out, so
> I am wondering if it has something to do with Code Warrior itself.
Show your roomate your defin
Make sure that function 'MainFormHandleEvent' is not declared as static.
You should also put a function prototype in the header file (MainForm.h) for
the module (MainForm.c) that includes 'MainFormHandleEvent'. You must do
this for any function that you call from outside the module (.c file) that
extern extern
yes yes
It works now, thanks a bunch
Jim
McMicken, Steven <[EMAIL PROTECTED]> wrote in message
news:19861@palm-dev-forum...
>
> Make sure that function 'MainFormHandleEvent' is not declared as static.
> You should also put a function prototype in the header file (MainForm.h)
for
>
Hi
I assume AppHandleEvent is in starter, and you include MainForm.h in
starter. If so then in MainForm.h you need to have the function
prototype/definition for MainFormHandleEvent in the .h file ie.
Boolean MainFormHandleEvent(EventPtr eventP);
This is because otherwis
At 12:00am -0800 00-11-07, Palm Developer Forum digest wrote:
>Subject: link error with resource
>From: "Philip D. Wasson" <[EMAIL PROTECTED]>
>Date: Mon, 06 Nov 2000 15:35:19 -0500
>X-Message-Number: 53
>
>Can anyone tell me what this means:
>
>"Link Error: Form using resource tgbn ID=1050 which
Hi,
For using the basic C commands, try including the following Header in
your program.
#include
Include the header and check.
Thanks
Manikumar K
Developers' Nation DTS Engineer
Developers' Nation is the fastest, most reliable and affordable way to
resolve your technical issues.
Visit
Use the Palm SDK versions of as many C functions as possible. StrPrintF
replaces sprintf, for example. Be sure to look at the SDK documentation,
however, because the syntax isn't the same for all of these functions as
their "c" cousins.
If you really need to use a c function that has not Palm SDK
> For using the basic C commands, try including the following Header
> in your program. #include
> Developers' Nation is the fastest, most reliable and affordable way
> to resolve your technical issues.
May I suggest instead you review Chapter 1 of the Companion manual for its
explanatio
> From: manikumar
>
> For using the basic C commands, try including the following Header in
> your program.
>
> #include
>
> Include the header and check.
>
But it would be much better to not try to use stdio. The PalmOS contains
its own string functions (see the "String Manager" section of
>>Most standard C calls such as sprintf are not supported by the Palm OS.
The
>>Palm SDK has its own versions of most standard C functions. I would Read
>>over the SDK documentation (hint: look at the Str functions).
>>"Sandra Webb" <[EMAIL PROTECTED]> wrote in message
news:51511@palm-dev-forum..
The only problem with using palms string manager, and memory mangager is it makes
portability a real pain.
Philip Streck
Akron General Medical Center
Information Systems
>>> "Richard Burmeister" <[EMAIL PROTECTED]> 06/04/01 10:37AM >>>
> From: manikumar
>
> For using the basic C commands,
.
- Original Message -
From: "Sreenivas Reddy" <[EMAIL PROTECTED]>
Newsgroups: palm-dev-forum
To: "Palm Developer Forum" <[EMAIL PROTECTED]>
Sent: Monday, June 04, 2001 10:52 AM
Subject: Re: Link error: "sprintf" is undefined
>
> Hi all,
>
> Y
Dave Lippincott [mailto:[EMAIL PROTECTED]]
> Sent: Monday, June 04, 2001 10:07 AM
> To: Palm Developer Forum
> Subject: Re: Link error: "sprintf" is undefined
>
>
> But sprintf is not compatible with StrPrintF as Palm has
> written it. Even
> if the header redefines s
> I don't see why that advice would be confusing...
simply because StrPrintF does not handle the same format specifiers as
sprintf. If I had access to sprintf, I would expect it to handle the
standard C specifiers. Since the header just translates sprintf to
StrPrintF, an uninformed developer wo
Brian,
I thought that Dave was responding to Sreenivas' comments more than he was
responding to anyone else's. Sreenivas' comments make it sound like
StdIOPalm.h eliminates all your problems by defining sprintf as StrPrintF.
As nearly everyone else has pointed out, they are not exactly the same
"jay" <[EMAIL PROTECTED]> wrote in message
news:76583@palm-dev-forum...
>
> Dear Friends:
> In my effort to understand what goes in behind linking a hack I am
trying to
> rebuild the DemoHack (by Matthew Moss) from scratch in Codewarrior
7.0. I
> get the following error:
>
> Link Error : __Runt
I'm having a similar problem -- and I still can't get it resolved...
CW 7.0 compiles my app perfectly for the Debug version, but when I try to
build the Release target, the linker gives:
Link Error : __RuntimeModule__: '__Startup__' referenced from
'__DummyStartup__' is undefined.
I don't kno
"Jason Freund" <[EMAIL PROTECTED]> wrote in message
news:79770@palm-dev-forum...
>
> I'm having a similar problem -- and I still can't get it resolved...
>
> CW 7.0 compiles my app perfectly for the Debug version, but when I try
to
> build the Release target, the linker gives:
>
> Link Error :
Hi Ben:
Actually since my last post I never got this to work. I will try your new
suggestion. It makes a lot of sense since I do not remember including the
StartupCode.lib in any of the targets.
Thanks,
Jatin Sethi (jay).
"Ben Combee" <[EMAIL PROTECTED]> wrote in message
news:79816@palm-dev-forum
Thanks! That worked. In my Files tab of the project window, both the Debug
and Release targets list exactly the same set of files. StartupCode.lib was
listed in a "Palm OS Device" folder in the project window for both Debug and
Release.
But when I switched to the Segments tab, there was a fold
1 - 100 of 191 matches
Mail list logo