I have received this error when there was a problem storing the resource
file. The documentation says that it could be a write error or disk full.
I have never found that to be the case. The problem tends to be that I have
another copy of one of my .rscs files on my disk in the parent folder of the
offending .rsrc and it is read only. The way I normally debug this is by
looking at the warnings in the link output. I follow the list of
successfull dup resource warnings until I get to the last one. Then I
compare that with my segment list and see what resource should have come
next. It is usually that resource that is causing the problem.
Mike
"Cecile McHugh" <[EMAIL PROTECTED]> wrote in message
news:14934@palm-dev-forum...
>
> I get a linker error when trying to build a multi-segmented 3.5 C++ app
> using CodeWarrior R6 for Windows. (I have)
>
> "Link Error Error while creating/copying resource fork"
>
> "Link Error Error while saving resources"
>
> I created this project using 3.5 stationery. I am aware that the first
> segment must contain the MSLRuntime Palm OS (2i or 41).lib, PilotMain, and
> any routines that PilotMain calls when it receives a
> sysAppLaunchCmdNormalLaunch. I assume that first segment need not also
> contain any routines called by any routines that PilotMain calls when it
> receives a sysAppLaunchCmdNormalLaunch, because if that were the case the
> whole app would/might need to be in the first segment.
>
> BTW, I have 7 segments less than 32K in length (I can also reproduce the
> error wth 3 segments between 32K and 64K in length). I am using the large
> memory model and far "everything": far data, far method tables, far string
> constants. At this point, I can sometimes get my project to build and
link
> but I can break it again by moving files between segments while not
> violating the above restrictions I know of for the first segment (contains
> pilotmain, etc.) without making any code changes.
>
> Does anyone know what the problem might be or know of any other
restrictions
> on the contents of the segments? I need to resolve this problem ASAP, so
> thanks for all replies!
>
>
>
>
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/