CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 4 of 4
  1. #1
    Join Date
    Jan 2004
    Posts
    81

    Works On XP, But Not 98

    I compiled my program on WIndows XP, and the executable works fine.
    But when I try to run the executable on a W98, the resulting error
    says something like the executable is linked to missing export
    mfc.DLL.688

    Do I have to compile my program on a W98 machine to yield a workable
    program on W98? Do I have to link .dll files?

    I'm just a newby, so if any linking is needed, I'd appreciate learning how to.

    Thanks,

    Matt

  2. #2
    Join Date
    May 2004
    Posts
    45

    Re: Works On XP, But Not 98

    Code:
    But when I try to run the executable on a W98, the resulting error
    says something like the executable is linked to missing export
    mfc.DLL.688
    You'll have to redistribute the correct version of mfc42.dll, or change the project options to statically link with MFC. I prefer the static link; it has much fewer problems than installing the newer version of mfc42.dll (that's 6.5.3014.0 in my machine, that runs Windows 2003 Server).

  3. #3
    Join Date
    Jan 2004
    Posts
    81

    Re: Works On XP, But Not 98

    Thanks for the feedback.

    I'm a newbie...how do I change the project options to statically link that .dll file with MFC? And does that greatly affect the size and/or speed of the executable?

    Thanks again.

  4. #4
    Join Date
    May 2004
    Location
    Wuhan, China
    Posts
    32

    Re: Works On XP, But Not 98

    Quote Originally Posted by hatflyer
    Thanks for the feedback.

    I'm a newbie...how do I change the project options to statically link that .dll file with MFC? And does that greatly affect the size and/or speed of the executable?

    Thanks again.
    In the Project Settings you can change the link type, it will add about 300k to your exe size.
    Time is a great teacher, but unfortunately it kills all its pupils.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured