Move vc++ 6.0 application over to XPe

  • Thread starter Thread starter Greg Chu
  • Start date Start date
G

Greg Chu

Hi,
any one has done this?
I got a message mfc42d.dll is missing, which component on the XPe needed to
run MFC applications?
Thanks!
 
Greg Chu schrieb/wrote:
I got a message mfc42d.dll is missing,

Something's messed up with your application. "mfc42d.dll" is the Debug
version of the dynamic MFC library, and is never required for a Release
build (no redistribution licence either).
which component on the XPe
needed to run MFC applications?

Your application won't run on a freshly installed XP Professional, either.
 
Yes, I ran another one saying Microsoft Visual C++ Runtime library run time
error.
Anyway, I still need the answer how to port my app over.
Thanks!
 
In transferring your application to XPe there is no porting required, as XPe
is essentially just XP. The best thing you can do is using component
designer to create a component out of you application. You can find some
very good documents how to go about this on msdn.microsoft.com. Don't add
any of the microsoft related dlls in your own component, but instead find
the components that contain the files (using the component browser) and set
the components you found as dependencies in your own component. The next
step is to import your component into the database using the component
database manager. The last step is to include your own component into your
target designer configuration and build the image. The mfc and visual c++
runtime files will then be added automatically.

I am however not sure whether there are components for the debug version of
mfc etc so as the previous poster already suggested; make sure that you do
the above with the release version of your application.

Let me know if the above is not the answer you were looking for or if
anything is unclear.

Regards,
Hans de Vetten
 
Back
Top