Re: linking issue



On 1 Aug 2006 01:57:11 -0700, "Surbhi" <cutiegoyal@xxxxxxxxx> wrote:

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 looked at one of the map files I generated, so I believe ReleaseDC
is in coredll.lib. Are you sure this library is included in the list
for linking (Project->Settings->Link->Obj...) your executable project?

I _think_ you generate a static library in one project, and then link
that in another. If you are generating a DLL, the answer might be very
different.



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.

The answer depends on _your_ needs. The paths and flags I need are
likely to be very different from the ones you, or anyone else, needs.



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

-----------------------------------------
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. ... this library it is giving me linking issues. ... which i have to include while compiling or any flags issue. ...
    (microsoft.public.windowsce.embedded.vc)
  • 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: Did we ever get a solution to CE6 Slow Debug Message Flusing??
    ... I do some stuff in the WinCE command ... prompt and the debug messages might take an extra 15 seconds or so to flow ... Compiling a code change should be a lot faster than you ae experiencing. ... you're just developing one driver then try just doing a build by right ...
    (microsoft.public.windowsce.platbuilder)
  • Re: Did we ever get a solution to CE6 Slow Debug Message Flusing??
    ... standalone product to a plugin that integrated with Visual Studio. ... seen debug messages leak out for 5 mins after disconnecting the target ... I do some stuff in the WinCE ... Compiling a code change should be a lot faster than you ae ...
    (microsoft.public.windowsce.platbuilder)

Quantcast