Re: How to run a MFC application exe on WinCE 5.0
- From: "Yannick Chamming's [eMVP]" <ychammings_nospam@xxxxxxxxxx>
- Date: Tue, 11 Oct 2005 17:47:58 +0200
Is your app built in retail ?
The MFC component of PB contains only retail version of mfc (mfcce300.dll),
not the debug one (mfcce300d.dll).
--
----------------------------------------------------------------
Yannick Chamming's (eMVP)
ADENEO (ADESET)
Windows Embedded Manager
ychammings AT adeset DOT com>
http://www.adeset.com
Tél : +33 (0)4.72.18.57.77
Fax : +33 (0)4.72.18.57.78
----------------------------------------------------------------
"Nithin U.K" <NithinUK@xxxxxxxxxxxxxxxxxxxxxxxxx> a écrit dans le message de
news: 58DE88A8-C079-4CE4-946E-30CF398FEB98@xxxxxxxxxxxxxxxx
> Hi,
> Iam using Platform Builder for WinCE 5.0.
>
> Trying to acheive: I have an MFC application (an executable) which I want
> to
> run on my CEPC OS image. It has no additional dll dependency but requires
> some registry settings.
>
> My approach :
> I incorporated the application exe into the CEPC OS image by doing the
> following steps -
> 1) I added the following line in the project.bib file in the FILES section
> App.exe D:\App.exe NK
> 2) I added the following lines in the project.dat file
> root:-Directory("\"):-Directory("Windows")
> Directory("\Windows"):-File("app.exe","\Windows\app.exe")
> 3) The application requires some registry entries to be made prior to
> running it, which I did by adding entries to the project.reg file
> 4) I added the MFC catalog item to the OS image.
>
> Then, I built the image and tried it on my CE device (a x86 PC). But I get
> this error when I run the Application exe in the Windows folder of target
> device.
>
> "Cannot find 'App' (or one of its components). make sure
> the path and filename are correct and that all the required libraries
> are available."
>
> The application has no other 'private' application-specific dll
> dependency.
> The registry setting is proper as required for the application (I verified
> using Remote Registry Editor tool). What else is the problem here?
>
> Secondly, I used CEfileWiz application and built the application exe as a
> Catalog item and then, I added the application cec (Catalog) to the OS. I
> rebuilt the image but I got these errors during Makeimg:
>
> Pass 1...
> Warning: Unable to do imports from GSIOCServer.exe to KERNEL32.dll - will
> late bind
> Warning: Unable to do imports from GSIOCServer.exe to USER32.dll - will
> late
> bind
> Warning: Unable to do imports from GSIOCServer.exe to GDI32.dll - will
> late
> bind
> Warning: Unable to do imports from GSIOCServer.exe to comdlg32.dll - will
> late bind
> Warning: Unable to do imports from GSIOCServer.exe to WINSPOOL.DRV - will
> late bind
> Warning: Unable to do imports from GSIOCServer.exe to ADVAPI32.dll - will
> late bind
> Warning: Unable to do imports from GSIOCServer.exe to SHELL32.dll - will
> late bind
> Warning: Unable to do imports from GSIOCServer.exe to COMCTL32.dll - will
> late bind
> Warning: Unable to do imports from GSIOCServer.exe to oledlg.dll - will
> late
> bind
> Error: Can't find import OleUninitialize in ole32.dll
> Error: Can't find import OleUninitialize hint 224 in ole32.dll
> Error: Fatal import error in GSIOCServer.exe
> Error: Can't find import OleInitialize in ole32.dll
> Error: Can't find import OleInitialize hint 201 in ole32.dll
> Error: Fatal import error in GSIOCServer.exe
> Error: Can't find import CreateILockBytesOnHGlobal in ole32.dll
> Error: Can't find import CreateILockBytesOnHGlobal hint 96 in ole32.dll
> Error: Fatal import error in GSIOCServer.exe
> Error: Can't find import OleFlushClipboard in ole32.dll
> Error: Can't find import OleFlushClipboard hint 196 in ole32.dll
> Error: Fatal import error in GSIOCServer.exe
> Error: Can't find import OleIsCurrentClipboard in ole32.dll
> Error: Can't find import OleIsCurrentClipboard hint 203 in ole32.dll
> Error: Fatal import error in GSIOCServer.exe
> Warning: Unable to do imports from GSIOCServer.exe to OLEPRO32.DLL - will
> late bind
> Fatal error hit, exiting...
> makeimg: FATAL ERROR: Command returned non-zero exit code 1 (dec).
> makeimg: FATAL ERROR: Command returned non-zero exit code 1 (dec).
>
> WINCE - 17 error(s), 16 warning(s)
>
> Can anybody tell me where Iam going wrong? Do I have to follow any other
> approach to run an MFC application on WinCE?
.
- Follow-Ups:
- Re: How to run a MFC application exe on WinCE 5.0
- From: Nithin U.K
- Re: How to run a MFC application exe on WinCE 5.0
- Prev by Date: Re: WCE vs PPC
- Next by Date: Re: how to debug eboot with sources on windows CE 5.0?
- Previous by thread: Re: I dont know how to make...
- Next by thread: Re: How to run a MFC application exe on WinCE 5.0
- Index(es):
Relevant Pages
|