|
| |||
| Failed to deploy a Pocket pc Application with a DLL. HI Folks, I have created an application using VS2005 which is a pocket pc 2003 mfc exe. I have also created a normal win32 dll (selectingwin32 smart device project). From my application I call a function exported in the DLL. When I run it it gives me the following error.It does not get deploys to the emulator. ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- "Unable to start program '%CSIDL_PROGRAM_FILES%\MYApp\MyApp.exe' An error occured that usually indicates a currupt installation(code 0x8007007e). If teh problem persists, repair your visual studio installation via 'Add or remove programs' in control panel. ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- I used the dependency walker and found out that some DLLs were not found in the system (Commctrl.dll,coredll.dll,MMVCR70.dll,MMVCP70.dll) . Is this causing the deploy error ??? I somehow managed to find the dlls but commctrl.dll which I found was a 16 bit one so dependency walker showed a warning sign. Another strange thing I observed was when I just place my EXE and dll in the wince 5.0 board my loadlibrary fails to get the handle to the module(could not find the module) and it just skips the next lines of code and exits the function. My question is is there anything which I need to do extra while creating/using a DLL in pocket pc ? Eagerly waiting for your valuable feedback. Regards, JustLIkeDat |
| |||
| Re: Failed to deploy a Pocket pc Application with a DLL. This question is getting answers in microsoft.public.pocketpc.developer, which is a far more appropriate newsgroup. On Tue, 20 May 2008 23:30:06 -0700 (PDT), ggurubasavaraja******.com wrote: >HI Folks, > > > >I have created an application using VS2005 which is a pocket pc 2003 >mfc exe. I have also created a normal win32 dll (selectingwin32 smart >device project). From my application I call a function exported in the >DLL. > >When I run it it gives me the following error.It does not get deploys >to the emulator. > >------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- > >"Unable to start program '%CSIDL_PROGRAM_FILES%\MYApp\MyApp.exe' > >An error occured that usually indicates a currupt installation(code >0x8007007e). If teh problem persists, repair your visual studio >installation via 'Add or remove programs' in control panel. > >------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- > > > >I used the dependency walker and found out that some DLLs were not >found in the system >(Commctrl.dll,coredll.dll,MMVCR70.dll,MMVCP70.dll ). Is this causing >the deploy error ??? > > > >I somehow managed to find the dlls but commctrl.dll which I found was >a 16 bit one so dependency walker showed a warning sign. > > > >Another strange thing I observed was when I just place my EXE and dll >in the wince 5.0 board my loadlibrary fails to get the handle to the >module(could not find the module) and it just skips the next lines of >code and exits the function. > > > >My question is is there anything which I need to do extra while >creating/using a DLL in pocket pc ? > >Eagerly waiting for your valuable feedback. > > > >Regards, > >JustLIkeDat ----------------------------------------- To reply to me, remove the underscores (_) from my email address (and please indicate which newsgroup and message). Robert E. Zaret, eMVP PenFact, Inc. 20 Park Plaza, Suite 478 Boston, MA 02116 www.penfact.com |
| Bookmarks |
| Thread Tools | |
| |
| | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| application failed to start | Korbit | Windows XP | 1 | 03-07-2008 05:20 AM |
| Pocket PC and web application | kineticabo@gmail.com | Pocket PC General | 0 | 10-12-2007 02:50 AM |
| Not a valid Pocket PC application | Anthony Smith | Pocket PC General | 3 | 05-15-2007 05:30 AM |
| "application has failed to start because the application configura | PinkGrace | Microsoft Office | 0 | 01-15-2007 06:45 PM |
| Failed install of Adobe Reader for Pocket PC 2.0 | Mike Coon | Pocket PC General | 1 | 01-15-2007 11:02 AM |
| New To Technology Questions? | Do You Need Help with Your Computer or Device? | Do You Need Help with this site? |