• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 335
  • Last Modified:

Linking errors in 3rd party libraries in Embedded VC

Hi,
  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.

thanQ.
0
mdtaqi
Asked:
mdtaqi
  • 4
  • 2
1 Solution
 
nonubikCommented:
>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.
0
 
Jaime OlivaresCommented:
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.
0
 
mdtaqiAuthor Commented:
>  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
0
Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

 
nonubikCommented:
>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.
0
 
mdtaqiAuthor Commented:
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.
0
 
mdtaqiAuthor Commented:
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.
ThanQ.
0
 
mdtaqiAuthor Commented:
Hi,
    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.

Thanq.
0

Featured Post

Upgrade your Question Security!

Add Premium security features to your question to ensure its privacy or anonymity. Learn more about your ability to control Question Security today.

  • 4
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now