Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Mobile Development
  3. Mobile
  4. Linker errors in Win CE enviornment

Linker errors in Win CE enviornment

Scheduled Pinned Locked Moved Mobile
helpcsharp
3 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • T Offline
    T Offline
    tony_Udz
    wrote on last edited by
    #1

    Hello, I am getting linker errors in Windows CE 'Smart Device Project'. I am trying to import detours.lib (which is being built using .Net 2005 compiler). These set of libraries and binaries are working with VC 8(.NET 2005) project. But when i use the same set of libraries with Windows CE 'Smart Device Project' it gives linker error. Can anybody help me with this. Thanx in Advance!!

    M 1 Reply Last reply
    0
    • T tony_Udz

      Hello, I am getting linker errors in Windows CE 'Smart Device Project'. I am trying to import detours.lib (which is being built using .Net 2005 compiler). These set of libraries and binaries are working with VC 8(.NET 2005) project. But when i use the same set of libraries with Windows CE 'Smart Device Project' it gives linker error. Can anybody help me with this. Thanx in Advance!!

      M Offline
      M Offline
      Mike Dimmick
      wrote on last edited by
      #2

      Import libraries are built for the processor architecture that the DLL is built for, as they contain call thunks in the appropriate machine language. Desktop computers use the x86 architecture. Many Windows CE devices and all Windows Mobile devices use the ARM architecture. A .lib file might also be a static library containing executable code for a given processor architecture. To prevent a problem from occurring where code for one processor is misinterpreted by another, the linker will not let you link object files for different architectures together. You will need to recompile detours for ARM on Windows CE. If it's this library[^] it will most likely need to be rewritten to inject the correct instructions for ARM as well.

      DoEvents: Generating unexpected recursion since 1991

      T 1 Reply Last reply
      0
      • M Mike Dimmick

        Import libraries are built for the processor architecture that the DLL is built for, as they contain call thunks in the appropriate machine language. Desktop computers use the x86 architecture. Many Windows CE devices and all Windows Mobile devices use the ARM architecture. A .lib file might also be a static library containing executable code for a given processor architecture. To prevent a problem from occurring where code for one processor is misinterpreted by another, the linker will not let you link object files for different architectures together. You will need to recompile detours for ARM on Windows CE. If it's this library[^] it will most likely need to be rewritten to inject the correct instructions for ARM as well.

        DoEvents: Generating unexpected recursion since 1991

        T Offline
        T Offline
        tony_Udz
        wrote on last edited by
        #3

        Thanks Mike for the reply. If it is so then my query is : Are detours compatible with Windows CE. Because to build the detours source code i need to recompile the whole thing in Windows CE. But unfortunately i am not able recompile detours code in Win CE enviornment. Can you please help me with this.

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups