BUG: The Dynamic Link Library Mfcce20d.dll Could Not Be FoundID: Q187616
|
When you try to run a WCE MFC EXE project, you may get an error box, titled:
This is the message inside the error box:<Program>.exe - Unable To Locate DLL
If you're running a WCE MFC EXE with COM support, you may get an error box, titled:The dynamic link library mfcce20d.dll could not be found in the specified path...
This is the message inside the error box:Assertion Failed!
If you're building a WCE MFC ActiveX control or WCE MFC automation DLL, you may get the following error:<unknown application> : File dllole.cpp, Line 65
Failed : Registration of <control>.ocx. Error = 0000007E
All of the above problems occur because the run-time DLLs are not copied to the correct directories by the VCCE Toolkit Setup program.
Using Windows NT Explorer, copy the following files
MFCCE20.DLLfrom
MFCCE20D.DLL
OLECE20.DLL
OLECE20D.DLL
\Program Files\DevStudio\WCE\MFC\LIB\WCE200\X86EMto the following location:
\Program Files\Windows CE Platform SDK\wce\emul\hpc\windowsYou also need to copy the same files using Osviewer.exe (Object Store Viewer). The Osviewer.exe file is located in the \Program Files\Windows CE Platform SDK\wce\bin directory. When you run this program, it lists your C drive with the addition of Emulator Database and Emulator Files. Copy the Mfcce20.dll, Mfcce20d.dll, Olece20.dll, and Olece20d.dll files from
\Program Files\DevStudio\WCE\MFC\LIB\WCE200\X86EMto the following location:
\Emulator Files\WindowsNOTE: The above directories are the default directories when you install the VCCE Toolkit, and may be different on your machine.
Microsoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article. We are researching this bug and will post new information here in the Microsoft Knowledge Base as it becomes available.
The above case is for emulation. When targeting the actual CE device, the same DLLs must be copied to the Windows directory on the CE device. Use the "Mobile Devices" tool to do this. The DLLs are located in the "C:\Program Files\DevStudio\WCE\MFC\LIB\WCE200\WCESH" or C:\Program Files\DevStudio\WCE\MFC\LIB\WCE200\WCEMIPS" directory, depending on the type of chip on the CE device (SH3 or MIPS).
Additional query words: kbmfc200 kbnokeyword kbvc200bug kbwince200bug
Keywords :
Version :
Platform : WINDOWS
Issue type : kbbug
Last Reviewed: July 23, 1999