10-22-2009 04:43 PM - edited 10-22-2009 04:51 PM
Hi all,
I am using a HP-iPAQ PDA running windows mobile 5. I use LabVIEW 8.6 mobile module to build a project. In my main VI I have a call to C DLL . I am able to build the application and deploy, but when i try running the solution i get a message saying
"Error- Unable to run the applictaion on the remote device.
CreateProcess failed with error code = 193
Possible reasons:
The application does not exist on the remote device.
Another application with the same name is already running.
The application is not compatible with the operating system of the device.
The remote device has timed out. Redeploy the application, and allow the application to run on the device"
If I try opening the applictaion after downloading from the PDA, i get a message saying
"The file "test_application" cannot be opened. Either it is not signed with a trusted certificate, or one of its components cannot be found. You might need to reinstall or restore this file. "
I get the same error messages when I try running the example code provided " Calling External Code - DLL Method.lvproj". But the error message says "CreateProcess failed witherror code = 126."
If I copy the dll into \ mobile device\Windows folder manually, I am amble to run the example program.
But this manual copying of dll does not work for the project I have created ![]()
10-23-2009 02:28 AM
10-23-2009 02:30 AM
10-23-2009 11:46 AM
I dont have those dlls (COREDLL, etc) mentioned. It should be there on the PDA right?
10-25-2009 03:20 PM
What DLL is this C DLL? A standard Windows DLL or a custom DLL from you or someone else?
Windows Mobile is an entirely different OS than the standard desktop OS and it runs on a different CPU architecture too. So if you have a C DLL that runs on your x86 architecture desktop Windows system it is entirely useless for a mobile project. You do need that DLL compiled specifically for the Windows Mobile system and for your target CPU architecture (either ARM version 4 compatible, MIPS or SH3) and to compile that DLL you need an according cross compile toolchain such as Microsoft Visual C Embedded.
10-26-2009 11:34 AM
It is a custom DLL built using visual studio 2008 for Windows Mobile 5.0 Pocket PC and ARMV4I machine.
I used embedded Visual C++ 4 to build the same DLL for Pocket PC 2003 Device ARMV4 architecture and this works.
Thanks ,
Vani
10-26-2009 11:41 AM - edited 10-26-2009 11:42 AM
vanishree wrote:It is a custom DLL built using visual studio 2008 for Windows Mobile 5.0 Pocket PC and ARMV4I machine.
I used embedded Visual C++ 4 to build the same DLL for Pocket PC 2003 Device ARMV4 architecture and this works.
Thanks ,
Vani
I assume you have built the according stub DLL for your desktop system so you can compile the entire thing on your LabVIEW system at all. Other than that it would seem something with the settings for your Visual Studio Project to be wrong.