Results 1 to 14 of 14

Thread: impossible to install dll and ocx on system32

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Jan 2016
    Posts
    736

    impossible to install dll and ocx on system32

    Hello VbForums
    On one of my clients system (W10 professional) I was unable to install VB6 common controls on system 32.
    I tried to copy them manually but impossible to register them by means of regsvr32
    Is there a workaround please?
    I have already installed the application on more than 20 systems before.
    thank you

  2. #2
    PowerPoster
    Join Date
    Feb 2006
    Posts
    24,401

    Re: impossible to install dll and ocx on system32

    Are you using a Windows Installer package (.MSI)? An old fashioned PDW setup package? A No-No-Setup script?

    There isn't a lot to go on here. "Don't work, please help" isn't very descriptive.

    Why on Earth would Windows 10, Pro or otherwise, be a factor here?

  3. #3
    PowerPoster PlausiblyDamp's Avatar
    Join Date
    Dec 2016
    Location
    Pontypool, Wales
    Posts
    2,249

    Re: impossible to install dll and ocx on system32

    Quote Originally Posted by Mustaphi View Post
    Hello VbForums
    On one of my clients system (W10 professional) I was unable to install VB6 common controls on system 32.
    I tried to copy them manually but impossible to register them by means of regsvr32
    Is there a workaround please?
    I have already installed the application on more than 20 systems before.
    thank you
    Is it a 32bit or 64 bit version of Windows?

  4. #4

    Thread Starter
    Fanatic Member
    Join Date
    Jan 2016
    Posts
    736

    Re: impossible to install dll and ocx on system32

    Are you using a Windows Installer package (.MSI)? An old fashioned PDW setup package? A No-No-Setup script?
    I'm using Setup Factory installer

  5. #5

    Thread Starter
    Fanatic Member
    Join Date
    Jan 2016
    Posts
    736

    Re: impossible to install dll and ocx on system32

    Is it a 32bit or 64 bit version of Windows?
    I'm not sure but I think it is 64 bit

  6. #6
    PowerPoster
    Join Date
    Jul 2010
    Location
    NYC
    Posts
    4,515

    Re: impossible to install dll and ocx on system32

    If the ocx is 32bit, you have to register with the regsvr32 in SysWOW64 unless your windows install itself is 32bit (rare now, even people still using XP mostly use 64bit XP).

  7. #7
    Fanatic Member VanGoghGaming's Avatar
    Join Date
    Jan 2020
    Location
    Eve Online - Mining, Missions & Market Trading!
    Posts
    767

    Re: impossible to install dll and ocx on system32

    I've always just opened a command prompt window and typed regsvr32 without wondering what folder it was executed from and it always "just worked"...

  8. #8
    PowerPoster
    Join Date
    Jun 2013
    Posts
    6,946

    Re: impossible to install dll and ocx on system32

    Quote Originally Posted by VanGoghGaming View Post
    I've always just opened a command prompt window and typed regsvr32...
    And that command-prompt needs to be started "As Admin" of course...
    (since there's COMponents out there, which require registry-entries in HKLM)

    Olaf

  9. #9

    Thread Starter
    Fanatic Member
    Join Date
    Jan 2016
    Posts
    736

    Re: impossible to install dll and ocx on system32

    thank you all
    But still no one told me why these ocx and dlls refuse to be installed on this special machine.
    IS there a way to force windows to accept installing these dlls in system32 or
    SysWOW64?
    thank you

  10. #10
    PowerPoster jdc2000's Avatar
    Join Date
    Oct 2001
    Location
    Idaho Falls, Idaho USA
    Posts
    2,334

    Re: impossible to install dll and ocx on system32

    What messages, if any, are you getting when you try to register them? What anti-malware software is running on the system?

  11. #11
    PowerPoster
    Join Date
    Jan 2020
    Posts
    2,994

    Re: impossible to install dll and ocx on system32

    Yesterday how to try all can not restart also can not, today is good, can register DLL successfully, strange

  12. #12

    Thread Starter
    Fanatic Member
    Join Date
    Jan 2016
    Posts
    736

    Re: impossible to install dll and ocx on system32

    Quote Originally Posted by jdc2000 View Post
    What messages, if any, are you getting when you try to register them? What anti-malware software is running on the system?
    During the process of installing the application I get a message error like:
    impossible d'enregisrer l'objet com(ActiveX)
    C:\Windows\system32\MSCOMCTL.OXC
    echec dans Loadlibrary (126)

  13. #13
    PowerPoster
    Join Date
    Jun 2013
    Posts
    6,946

    Re: impossible to install dll and ocx on system32

    Quote Originally Posted by Mustaphi View Post
    During the process of installing the application I get a message error like:
    impossible d'enregisrer l'objet com(ActiveX)
    C:\Windows\system32\MSCOMCTL.OXC
    echec dans Loadlibrary (126)
    Your (32Bit) OCX-library was placed in the wrong directory -
    and is trying to load its "flat-dependency" (comctl32.dll) in a 64Bit-version (from within the same folder: \sytem32\).

    You can fix that, by placing your 32Bit-OCX in the right folder (where all other 32Bit-Dlls are located):
    \SysWow64\

    Olaf

  14. #14
    PowerPoster
    Join Date
    Jan 2020
    Posts
    2,994

    Re: impossible to install dll and ocx on system32

    It is useful to develop an administrator rights registration tool, such as set to handle all OCX,COM DLL default openers.
    Open will automatically register successfully, and display a window for 3 seconds, you can choose to uninstall, register 64-bit DLL, generate. NET DLL and TLB files, unregistered TLB files.
    Try unregistration and then load without registration if it succeeds.
    This will solve all the registration problems of DLL and OCX.
    Do not know 64 bit free registration loading DLL function to achieve?

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