Technology Questions

Go Back   Technology Questions > Hardware Questions > Electronics > Pocket PC General

Reply
 
LinkBack Thread Tools
  #1 (permalink)  
Old 05-20-2008, 11:40 PM
ggurubasavaraja@gmail.com
Newsgroup Contributor
 
Posts: n/a
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

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

 
Old 05-20-2008, 11:40 PM
  #2 (permalink)  
Old 05-21-2008, 01:20 PM
r_z_aret@pen_fact.com
Newsgroup Contributor
 
Posts: n/a
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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

Reply

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
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?

All times are GMT -8. The time now is 12:48 AM.


2003 - 2009 All Rights Reserved. Technology Questions

Search Engine Friendly URLs by vBSEO 3.3.0