PPC device problem w/ VS2005 application
hello all,
i have a program that i upgraded from eVC to VS2005 using the eVC++ upgrade wizard add on.
i was able to successfully upgrade the application (or at least i think i did), and it compiled correctly in VS2005.
when i transferred the app over to the PPC device (running PPC magneto) and tried to run it, i get the following error message:
"The file 'app name' 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'm thinking the problem has to do w/ the trusted certificate, but not 100% sure, as i've never dealt with one of these problems.
any idea?
thanks in advance,
greg
If you want to sign your app, run the SDKSamplePrivDeveloper.pfx (you can find it where you've installed the Smartphone/PocketPC SDK, under the Tools directory).
In VS2005, goto project->Properties->Authenticode Signing and set AuthentiCode Signature to 'yes'
Hi,
If in your projet evc you are using MFC, when you update to visual studio 2005.
You have to look at the different class in MFC 8.
In MFC 8, microsoft removed a lot of class. Don't understand the reason.
But if you still to want, you can see the source code of MFC in evc 4, after that
try to fix for using in MFC 8.
Hope that help.
Did you ever resolve this? I'm having the same problem. I've downloaded mfc80u.dll and msvcr80.dll to the same application directory and it didn't help.
Thanks.
Hello,
I am having the same problem. I have upgraded eVc to VS2005 using the eVC++ upgrade wizard add on.
The application builds in Release mode. I copied over the application to the handheld. When I try to run the exe, I get "The file 'app name' 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" error.
Is there a solution?
Thanks.
Can you look at how your application depends on ATL/MFC/CRT? It's likely that required files aren't being deployed with the application. You'll need to add them to the additional files list (you may have to search around for the syntax for this). Thanks,
Jeff
Since I am new at this, I am not sure if what I check is what you are talking about. I open project property page under Configuration Properites - General, Prodject Defaults. Use of MFC = Use MFC in a Shared DLL. Use of ATL = Not Using ATL.
Under C/C++, Code Generation. Runtime Library = Multi-threaded DLL (/MD)
I have 3 projects in my solution. I put 2 of the exe in the Windows directory and the third exe in the start up. I put the 4 dll that the program uses under the window directory.
The application runs fine when built in EVC, but not when I build it in VS2005.
Please help.
Barb
I got it to run. What I did was the following: copied dll for atl, crt, & mfc down to the handheld under the windows directory.
Thanks for you help.
Hi, could you tell me please what dll's did you copy down to the handheld? Where them located under the Visual Studio 8 directory?
I'm having exactly the same problem on my WM 5.0 handheld but still don't know how to fix it.
Best regards,
Daniel Alvarez
It's ok I founded them under:
C:\Program Files\Microsoft Visual Studio 8\VC\ce\Dll
Thanks anyway
Cheers,
Daniel Alvarez
I get this kind error to.
Can U tell me what DLL that I must to copy?
Where can I get the DLL?
And where must I put the DLL on device?
tanks,
Oslario
Preethi Mohan wrote: |
| In VS2005, goto project->Properties->Authenticode Signing and set AuthentiCode Signature to 'yes' | |
Should I put 'Yes' just for the app or for every project in my solution ?
I have a similar problem :
My projects are autogenerated (in Xml) and I first met this error and solved it by adding this line to Properties > Deployment > Additional Files
msvcr80d.dll|$(BINDIR)\$(INSTRUCTIONSET)\|%CSIDL_WINDOWS%|0;msvcr80.dll|$(BINDIR)\$(INSTRUCTIONSET)\|%CSIDL_WINDOWS%|0;
I worked in console just to make tests on the bases of my app.... I had the "not signed with a trusted certificate...." message but also the "Unable to start %CSIDL_Program_Files%\app\app.exe ....." when starting it from VS2005...
Now, with the same app, i developed UI and D3DM projects and get the same errors again when trying to run them....
Any help or explanations of this problem would be appreciated
Best regards,
Woods