Linker errors in Win CE enviornment
-
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!!
-
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!!
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
-
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
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.