Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. Cannot run MFC-compiled application on Win98se

Cannot run MFC-compiled application on Win98se

Scheduled Pinned Locked Moved C / C++ / MFC
c++csharpvisual-studiojsonhelp
3 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • V Offline
    V Offline
    Valera241176
    wrote on last edited by
    #1

    :omg:I have rather wide experience, programming using MFC5 (MFC42.dll) with MS VC++ 6.0. Recently I obtained VS .NET. I've made MFC-application, link MFC as static library and run the app on Win98se. Here I was notified about absence of OLEACC.dll although I did not check to use Accessibility API in MFC app wizard. Then I have made a setup project for my app. It included OLEACC.dll and other required files. This time win98se said that it couldn’t run OLEACC.dll, and ask me to check for contents of this library. Someone ever met such a problem. Is there any way to build my MFC projects with .Net and run them on Win9x/NT/XP? Or I should use VC6 as before?

    PJ ArendsP A 2 Replies Last reply
    0
    • V Valera241176

      :omg:I have rather wide experience, programming using MFC5 (MFC42.dll) with MS VC++ 6.0. Recently I obtained VS .NET. I've made MFC-application, link MFC as static library and run the app on Win98se. Here I was notified about absence of OLEACC.dll although I did not check to use Accessibility API in MFC app wizard. Then I have made a setup project for my app. It included OLEACC.dll and other required files. This time win98se said that it couldn’t run OLEACC.dll, and ask me to check for contents of this library. Someone ever met such a problem. Is there any way to build my MFC projects with .Net and run them on Win9x/NT/XP? Or I should use VC6 as before?

      PJ ArendsP Offline
      PJ ArendsP Offline
      PJ Arends
      wrote on last edited by
      #2

      For some reason, VC7 apps seem to always link to oleacc.dll. The way around it is to delay loading it (have it load only if and when required). First you have to link to delayimp.lib.

      #pragma comment (lib, "delayimp.lib")

      Then set your app settings Project => Properties => Linker => Advanced => Delay loaded Dll => Support... Project => Properties => Linker => Input => Delay loaded DLLs => "oleacc.dll"


      Sonork 100.11743 Chicken Little "You're obviously a superstar." - Christian Graus about me - 12 Feb '03 Within you lies the power for good - Use it!

      Within you lies the power for good; Use it!

      1 Reply Last reply
      0
      • V Valera241176

        :omg:I have rather wide experience, programming using MFC5 (MFC42.dll) with MS VC++ 6.0. Recently I obtained VS .NET. I've made MFC-application, link MFC as static library and run the app on Win98se. Here I was notified about absence of OLEACC.dll although I did not check to use Accessibility API in MFC app wizard. Then I have made a setup project for my app. It included OLEACC.dll and other required files. This time win98se said that it couldn’t run OLEACC.dll, and ask me to check for contents of this library. Someone ever met such a problem. Is there any way to build my MFC projects with .Net and run them on Win9x/NT/XP? Or I should use VC6 as before?

        A Offline
        A Offline
        Anonymous
        wrote on last edited by
        #3

        I've never had this problem and I've built many programs with VC++7 MFC using VS.NET. All have worked on 98/ME/NT/2000/XP with one exception: A CFileDialog box didn't work properly on a 98 machine. Art

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups