Re: linking issue



i havealready included the libs in Project Settings. but the issue is
my code (of which i have made my lib) consist of Functions which are
mapped into the WinCE API's. so while compiling my application with
this library it is giving me linking issues.

like if WInCE API ReleaseDC() which i have called through my function
say OSL_ReleaseDC()
then it is giving me linking issue like "unresolved external symbol
ReleaseDC() refered in OSL_ReleaseDC()".
i am not able to recognise what is this issue.is this any path issue
which i have to include while compiling or any flags issue.
Please do tell me all the paths and flags needed to compile code on
WinCE.

r_z_aret@xxxxxxxxxxxx wrote:
On 26 Jul 2006 03:50:12 -0700, "Surbhi" <cutiegoyal@xxxxxxxxx> wrote:

Hi
I have made library of my code and is linking one application with that
library. The problem which i am facing in this is that application is
linking with that library but functions used in that are not getting
linked.The functions used in my library are just WinCE API's.Could
anyone tell me what is the issue in this.Is this any compiler flag
issue which i have used while making that library.

Links to built in functions are not established until the application
is linked. I think you need to add to the list of .lib files in
Project->Settings->Link->Object/library modules.
in your _application_ project. Some (but definitely not all) function
descriptions in MSDN Library (AKA F1 Help) specify the required .lib
file.

-----------------------------------------
To reply to me, remove the underscores (_) from my email address (and please indicate which newsgroup and message).

Robert E. Zaret, eMVP
PenFact, Inc.
20 Park Plaza, Suite 478
Boston, MA 02116
www.penfact.com

.



Relevant Pages

  • Re: linking issue
    ... mapped into the WinCE API's. ... this library it is giving me linking issues. ... which i have to include while compiling or any flags issue. ... Please do tell me all the paths and flags needed to compile code on ...
    (microsoft.public.windowsce.embedded.vc)
  • Re: linking issue
    ... my code (of which i have made my lib) consist of Functions which are ... mapped into the WinCE API's. ... which i have to include while compiling or any flags issue. ... Please do tell me all the paths and flags needed to compile code on ...
    (microsoft.public.windowsce.embedded.vc)
  • Re: my libLIB.a is missing symbols, need soln
    ... Shea Martin wrote: ... > I created a lib which uses sockets. ... > linking takes place when compiling objects. ... When you say that "no linking takes place when compiling something", ...
    (comp.unix.programmer)
  • Re: directx samples
    ... > headers for compiling, libs for linking, src for the common files. ... I checked the paths and settings to see lib files already added. ... the same as the error for the newer PC with larger directx3D programs like ...
    (microsoft.public.win32.programmer.directx.graphics)
  • Re: Static link MAPI32 ?
    ... Loading the DLL at run time rather than linking the lib also allows the app ... If you have an app that *can* use MAPI, ...
    (microsoft.public.win32.programmer.messaging)

Loading