×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Jun 2006
    Posts
    4

    Problem linking against a dll

    Hello,

    Im very new to carbide c++. I manage to create my first hello world application today and compiled it. Now Im trying currently to use the lbs.h library. However when I import lbs.h into my .cpp file or .h file, whenever I attempt to create an object of type RPositionServer(which is a class defined in

    Undefined symbol: 'int RPositionServer::Connect(void) ?Connect@RPositionServer@@QAEHXZ)' referenced from 'void CthirdAppUi::HandleCommandL(int) ?HandleCommandL@CthirdAppUi@@UAEXH@Z)' in thirdAppUi.cpp:146

    I read that to use this library we must link against the library: lbs.dll. I have a feeling that the linking could that be the source of the error. If so, how do we do this precisely link against a dll library in carbide.c++?

    Thanks in avance,
    Omar

  2. #2
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    28,693

    Re: Problem linking against a dll


Similar Threads

  1. Linking dll in S60 3rd edition - experts please help!
    By iulian_moldovan in forum Symbian Tools & SDKs
    Replies: 7
    Last Post: 2007-06-13, 18:41
  2. Dll deployment on device problem
    By iulian_moldovan in forum Symbian
    Replies: 6
    Last Post: 2006-02-14, 13:05
  3. Linking problem with CW (relocation truncated to fit: ARM_26)
    By jani.nurminen in forum Carbide.c++ IDE and plug-ins (Closed)
    Replies: 2
    Last Post: 2006-01-26, 11:23
  4. Linking Static DLL with another Static DLL
    By symbianfresher in forum Symbian
    Replies: 6
    Last Post: 2006-01-09, 04:23
  5. Linking problem using RDbNamedDatabase
    By paulrenn in forum Symbian
    Replies: 1
    Last Post: 2003-06-23, 08:01

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×