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. Register ocx in Windows7

Register ocx in Windows7

Scheduled Pinned Locked Moved C / C++ / MFC
help
5 Posts 4 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.
  • M Offline
    M Offline
    Max
    wrote on last edited by
    #1

    My software need to use MMC control and run on Windows7. but when I try to register MCI32.ocx by bat file that include the code "@echo off regsvr32 MCI32.ocx" I've got some error "The module "MCI32" was loaded but the call to DllRegisterServer failed with error code 0x8002801c" I have used in Windows XP and never seen this problem before. Please anybody help me to solve this problem.

    Richard Andrew x64R P M M 4 Replies Last reply
    0
    • M Max

      My software need to use MMC control and run on Windows7. but when I try to register MCI32.ocx by bat file that include the code "@echo off regsvr32 MCI32.ocx" I've got some error "The module "MCI32" was loaded but the call to DllRegisterServer failed with error code 0x8002801c" I have used in Windows XP and never seen this problem before. Please anybody help me to solve this problem.

      Richard Andrew x64R Offline
      Richard Andrew x64R Offline
      Richard Andrew x64
      wrote on last edited by
      #2

      I put "0x8002801c" into Google and a treasure trove of pages came up.

      The difficult we do right away... ...the impossible takes slightly longer.

      1 Reply Last reply
      0
      • M Max

        My software need to use MMC control and run on Windows7. but when I try to register MCI32.ocx by bat file that include the code "@echo off regsvr32 MCI32.ocx" I've got some error "The module "MCI32" was loaded but the call to DllRegisterServer failed with error code 0x8002801c" I have used in Windows XP and never seen this problem before. Please anybody help me to solve this problem.

        P Offline
        P Offline
        pandit84
        wrote on last edited by
        #3

        Please try to run the command prompt as "Run as Administrator" and then run the batch file.

        1 Reply Last reply
        0
        • M Max

          My software need to use MMC control and run on Windows7. but when I try to register MCI32.ocx by bat file that include the code "@echo off regsvr32 MCI32.ocx" I've got some error "The module "MCI32" was loaded but the call to DllRegisterServer failed with error code 0x8002801c" I have used in Windows XP and never seen this problem before. Please anybody help me to solve this problem.

          M Offline
          M Offline
          Malli_S
          wrote on last edited by
          #4

          This is regarding privilege to access Registry. The error code "0x8002801c" (Error accessing the OLE registry) says that you don't have write permission to the registry. You may have to run the bat file with high privilege, to do so run the bat file by right clicking on file and selecting 'Run as administrator' option.

          [Delegates]      [Virtual Desktop]      [Tray Me !]
          -Malli...! :rose:****

          1 Reply Last reply
          0
          • M Max

            My software need to use MMC control and run on Windows7. but when I try to register MCI32.ocx by bat file that include the code "@echo off regsvr32 MCI32.ocx" I've got some error "The module "MCI32" was loaded but the call to DllRegisterServer failed with error code 0x8002801c" I have used in Windows XP and never seen this problem before. Please anybody help me to solve this problem.

            M Offline
            M Offline
            Max
            wrote on last edited by
            #5

            Thanks a lot everybody

            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