Ben, can you elaborate on your points please?  By 'drag the project' do you
mean dragging the project file in explorer or in Codewarrior?   If you mean
in Codewarrior, what exactly do you drag?  I can drag the source files
accross, but I don't think this is what I want to do... (Or is it from
'Segments' or 'Targets').  If I drag a target from the library project into
the main project it gets added to the targets and the source files seam to
have been added also, maybe this is what you mean, although I can't see a
'link against' option anywhere.  Also if I do get this going, what control
do I have over which library target get used in the main project (as I have
several library targets).

--
Chris Percival
www.interaxis.co.uk

Ben Combee <[EMAIL PROTECTED]> wrote in message
news:40689@palm-dev-forum...
>
> "Chris Percival" <[EMAIL PROTECTED]> wrote in message
> news:40674@palm-dev-forum...
> >
> > I assume its a shared library.  Its just a .lib file that I include in
the
> > main project.  So:  I have a project, the output of which is a .lib
file.
> I
> > then copy that file and header file to the location of the main project.
> It
> > is added to the main project and built/linked.  When I step into a
> function
> > that is in the .lib file I only get assembler.  Can you explain what you
> > mean when you say 'link your static library project with your user
> project,
> > so you can get combined browser data'?
>
> .lib files are static libraries.  Shared libraries are separate PRC files
> that you download separately to Palm devices.
>
> In CodeWarrior, if you're building both your application and the static
> library, the easiest thing is to
>
> 1) Drag the project that builds the library into your application project.
> 2) In the "Targets" tab, choose your target, and turn on the "link
against"
> option for the new subproject (the one you just dragged)
>
> You now have given CodeWarrior the information it needs to know
>
> -- your project depends on that static library
> -- here is where the source for that static library lives
>
> You should be able to step into that code now.
>
> --
> Ben Combee
> Veriprise Wireless <http://www.veriprise.com>
>
>
>
>



-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/

Reply via email to