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