Windows Mobile application Error:
Windows Mobile application Error:
-----------------------------------------------------
For some applications, I am getting the following error :
Error in VS2005:
--------------------------
---------------------------
Microsoft Visual Studio
---------------------------
Unable to start program '\My Documents\TestApp\TestApp.exe'.
An error occurred that usually indicates a corrupt installation (code 0x8007007e). If the problem persists, repair your Visual Studio installation via 'Add or Remove Programs' in Control Panel.
---------------------------
OK
---------------------------
Result:
This is due to missing of any dependency files.
Solution:
You can copy the dependency files and then check once again.
Sometimes, if msvcr80.dll or msvcr80d.dll is referenced as a dependency in our exe/dependency files,
then this error might occurs.
To resolve this error, Project->Properties->Deployment->Additional files->
add the following lines:
msvcr80.dll|$(BINDIR)\$(INSTRUCTIONSET)\|%CSIDL_WINDOWS%|0;
Additional Files property is to copy the dependency files at the time of deployment.
The above code will copy the msvcr80.dll from our system to the target device(Windows Mobile device)'s windows folder.
0 Comments:
Post a Comment
<< Home