Click here to get back home

Can't run WM5 application created with Visual Studio 5 on a WM5 device!

 HomeNewsGroups | Search
 microsoft.public.smartphone.developer    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
Can't run WM5 application created with Visual Studio 5 on a WM5 device! ppcinfo 07-14-2008
Posted by ppcinfo on July 14, 2008, 7:32 pm
Please log in for more thread options
I've finished an WM5 application (written in straight C, no MFC or
ATL) using Visual Studio 5. The app runs great using the WM5 and WM6
emulators on my Vista machine with no issues.

I tried to run the generated application exe file (WM5 compiled) on my
Moto Q phone (also WM5) and I get the following error:

"Can't find 'TestApp' (or one of its components). Make sure the path
and filename are correct and that all the required libraries are
available."

I've done a lot of searching on the net and have been pulling my hair
out about this one. I'm either missing required DLLs on my Moto Q
phone, or something is screwed up! Can anyone please help with some
advice?

I've been trying to statically link various libraries during the
compile and linking process in VS5, but I keep getting linker error
messages.

Your help is greatly appreciated!!

Thanks,

ppcinfo


Posted by mihamih on July 15, 2008, 9:19 am
Please log in for more thread options
Hi,

It could be a signing issue. I've heard that some devices delete executables
that are not signed. Look up SDK documentation on how to install dev certs
on device and sign with devcert if you don't have another cert. Other than
this, try to create a very simple app (one generated by the wizard and see
if that runs). If so, see exactly what libraries you are using, comment out
code that uses them and remove from project one at a time to see what
library exactly is causing the problem. Once you have problem library, it
will be much easier to figure out.

I hope this helps!
Mihaela


> I've finished an WM5 application (written in straight C, no MFC or
> ATL) using Visual Studio 5. The app runs great using the WM5 and WM6
> emulators on my Vista machine with no issues.
>
> I tried to run the generated application exe file (WM5 compiled) on my
> Moto Q phone (also WM5) and I get the following error:
>
> "Can't find 'TestApp' (or one of its components). Make sure the path
> and filename are correct and that all the required libraries are
> available."
>
> I've done a lot of searching on the net and have been pulling my hair
> out about this one. I'm either missing required DLLs on my Moto Q
> phone, or something is screwed up! Can anyone please help with some
> advice?
>
> I've been trying to statically link various libraries during the
> compile and linking process in VS5, but I keep getting linker error
> messages.
>
> Your help is greatly appreciated!!
>
> Thanks,
>
> ppcinfo
>



Similar ThreadsPosted
2005 Visual Studio August 9, 2005, 1:03 pm
Shipping Visual Studio 5.0? October 27, 2005, 8:12 am
DLL:s in Visual Studio 2005 November 28, 2005, 10:28 am
Visual Studio 2003 SxS May 16, 2007, 2:55 am
Visual Studio 320x240 September 28, 2007, 11:35 am
Install Emulator without Visual Studio August 26, 2005, 12:32 pm
Visual Studio 2005 debug May 18, 2006, 7:00 am
Visual Studio Tries Deploying Every Reference as a DLL February 13, 2007, 10:55 am
Upgrade Visual Studio 2008 August 5, 2008, 3:49 am
How to Uninstall application created files February 14, 2007, 5:20 am

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Driving a better car - Fuelzilla.com

Cabling site for homeowners and pros alike - Cabling-Design.com

Friends:

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap