Linking errors in 3rd party libraries in Embedded VC

Posted on 2005-05-04
Last Modified: 2008-02-01
  Iam developing an application for PocketPC using  EVC-4.
  in my project iam using 3rd party static libraries, which r built on ARM machine. My project builds well in ARM mode.I want to see the out put on emulator & hence debug it . for this i have build it on X86 .this is  giving linking errors because the libraries are bulit on ARM machine.
  what shd i do??. is there any way to change those libraries to X86 ?.i dont have any source code of 'em,just those lib files.

Question by:mdtaqi
    LVL 16

    Expert Comment

    >is there any way to change those libraries to X86 ?.
    No, you just need them already built for X86. Try to get in contact with the libraries provider.
    LVL 55

    Expert Comment

    by:Jaime Olivares
    You can't use them with an X86 processor, but if you have the Pocket PC with you, will be safer to test original library with it, emulator doesn't always respond exactly as the real device.

    Author Comment

    >  emulator doesn't always respond exactly as the real device

     But how to debug the code ,its hard to take the files to PDA for every change & run it frm there.
    or is there any way that i can debug the project  by directly connecting to the pda ?

    thanX in advance
    LVL 16

    Accepted Solution

    >is there any way that i can debug the project  by directly connecting to the pda ?

    eVC++ 4.0 (with SP4).
    Choose 'Win32(WCE ARMV4) Debug' project configuration and make sure the PDA is connected to the computer. The debugger will start on PDA.

    Author Comment

    Hi nonubik,
      thanx again for helping me out.
      i have installed ppc 2003 sdk & also EVC sp 4. now the code is running on the devise & also iam able to debug it.
      cud u please tell me how to prepare the setup for PPC applications?. i read some where that the "make cab" option is there in EVC environment. i dont find any such thing in my EVC-4. give me some urls  which helps to know abt preparing deployment projs for PPC applications.

    ThanX for ur help.

    Author Comment

    hey..not again..
     The project is running fine on the devise in ARM4 because i installed the setup of this project (the setup was given by the people frm whom we bought the code) .now when i removed the setup ,the proj is building fine ,but at the time of execution its giving the following error.

    "Cannot launch remote executable.
    Error: The operation completed successfully.
    Win32 error code: 126"
    "plesae check the remote executable path and file name from your project seting"

    is it again because the 3rd party libs are built on ARM & they r not supporting ARM4 ?
    please respond to me.

    Author Comment

        sorry guys for bothering u somany times.
       i solved above posted error my self .it was because a needed dll was missing.
       thanX for ur help so far.
       please let me know abt creating setup for PPC applications.


    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Why You Should Analyze Threat Actor TTPs

    After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

    The following diagram presents a diamond class hierarchy: As depicted, diamond inheritance denotes when two classes (e.g., CDerived1 and CDerived2), separately extending a common base class (e.g., CBase), are sub classed simultaneously by a fourt…
    In Easy String Encryption Using CryptoAPI in C++ ( I described how to encrypt text and recommended that the encrypted text be stored as a series of hexadecimal digits -- because cyphertext may…
    In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
    Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

    761 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    7 Experts available now in Live!

    Get 1:1 Help Now