I can't register two DLLs


Ro Wood

Member
Local time
3:00 AM
Posts
32
OS
Windows 11 Pro for Workstations
When trying to register the DLL libfdk-aac-2.dll and hb.dll in the sysWOW64 folder I get this error:

module c:\windows\syswow64\libfdk-aac-2.dll was loaded but the dllregisterserver entry point was not found

Make sure "c:\Windows\sysWOW64\libfdk-aac-2.dll" is a valid DLL or OCX file and try again.

The same with this other DLL hb.dll.
module c:\windows\syswow64\hb.dll was loaded but the dllregisterserver entry point was not found

Make sure "c:\Windows\sysWOW64\hb.dll" is a valid DLL or OCX file and try again.

Since the libfdk-aac-2.dll DLL has both x86 and x64 versions, the x86 version was successfully registered in system 32 but the 64 version was not.

I have tried all these alternatives without success.
 
Windows Build/Version
Windows 11 Pro for Workstatios Build 2263.1325

My Computer

System One

  • OS
    Windows 11 Pro for Workstations
    Computer type
    Laptop
    Manufacturer/Model
    Samsung Odyssey
    CPU
    Core I7
Some questions, why do you need to manually register these files, where did you get these files, what is the command you are using to register them, are you sure you have permission to register the files and finally are you sure they are actually .dll & .ocx files?
The more detail you can give the more chance someone might have an answer.
 

My Computer

System One

  • OS
    Windows 11 Pro 22H2, build: 22621.521
    Computer type
    PC/Desktop
    Manufacturer/Model
    Scan 3XS Custom 1700
    CPU
    Intel i7-12700K 3.6GHz Base (5.0GHz Turbo)
    Motherboard
    Asus ProArt Creator B660 D4
    Memory
    64GB DDR 3600Mhz
    Graphics Card(s)
    Asus Tuff RTX 3080 10GB OC
    Sound Card
    Onboard Realtek
    Monitor(s) Displays
    Gigabyte G32QC 32inch 16:9 curved @2560 x 1440p 165Hz Freesync Premium Pro/ Dell SE2422H 24inch 16:9 1920 x 1080p 75Hz Freesync
    Screen Resolution
    2560 x 1440p & 1920 x 1080p
    Hard Drives
    WD SN570 1TB NVME (Boot), Samsung 870QVO 1TB (SSD), SanDisk 3D Ultra 500Gb (SSD) x2, Seagate 3Tb Expansion Desk (Ext HDD), 2x Toshiba 1Tb P300 (Ext HDD)
    PSU
    Corsair RM1000X Modular
    Case
    Corsair 4000D Airflow Desktop
    Cooling
    Corsair Hydro H150i RGB Pro XT 360mm Liquid Cooler, 3 x 120mm fans, 1x Exhaust
    Keyboard
    Microsoft Ergonomic
    Mouse
    Logitech G402
    Internet Speed
    800Mbs
    Browser
    Edge Chromium
    Antivirus
    Defender, Malwarebytes
Probably .NET and need to be registered in the GAC with gacutil.
 

My Computers

System One System Two

  • OS
    Win11 All /Debian/Arch
    Computer type
    Laptop
    Manufacturer/Model
    ASUSTeK COMPUTER INC. TUF Gaming FX705GM
    CPU
    2.20 gigahertz Intel i7-8750H Hyper-threaded 12 cores
    Motherboard
    ASUSTeK COMPUTER INC. FX705GM 1.0
    Memory
    24428 Megabytes
    Graphics Card(s)
    Intel(R) UHD Graphics 630 / NVIDIA GeForce GTX 1060
    Sound Card
    Intel(R) Display Audio / Realtek(R) Audio
    Monitor(s) Displays
    Integrated Monitor (17.3"vis)
    Screen Resolution
    FHD 1920X1080 16:9
    Hard Drives
    2 SSD SATA/NVM Express 1.3
    WDS500G2B0A-00SM50 500.1 GB
    WDCSDAPNUW-1002 256 GB
    PSU
    19V DC 6.32 A 120 W
    Cooling
    Dual Fans
    Mouse
    MS Bluetooth
    Internet Speed
    Fiber 1GB Cox -us & ADSL Bouygues -fr
    Browser
    Edge Canary- Firefox Nightly
    Antivirus
    Windows Defender
    Other Info
    VMs of Windows 11 stable/Beta/Dev/Canary
    VM of XeroLinux- Arch based & Debian 12
  • Operating System
    Windows 11 Insider Canary
    Computer type
    Laptop
    Manufacturer/Model
    ASUS X751BP
    CPU
    AMD Dual Core A6-9220
    Motherboard
    ASUS
    Memory
    8 GB
    Graphics card(s)
    AMD Radeon R5 M420
    Sound Card
    Realtek
    Monitor(s) Displays
    17.3
    Screen Resolution
    1600X900 16:9
    Hard Drives
    1TB 5400RPM
Some questions, why do you need to manually register these files, where did you get these files, what is the command you are using to register them, are you sure you have permission to register the files and finally are you sure they are actually .dll & .ocx files?
The more detail you can give the more chance someone might have an answer.
c:\>regsvr32 "c:\Windows\system32\libfdk-aac-2.dll"

Success in registering this.

c:\>regsvr32 "c:\Windows\syswow64\libfdk-aac-2.dll"

c:\>regsvr32 "c:\Windows\syswow64\hb.dll"

Unsuccessful in registering these.

I am the only administrator of the machine I have the permissions.

I got them from these sources and am registering them manually as they don't have installers.

And yes they are really DLLs but I can't register in the sysWOW64 folder only in System32

Codecs.com

libfdk-aac for Windows binary builder
 

My Computer

System One

  • OS
    Windows 11 Pro for Workstations
    Computer type
    Laptop
    Manufacturer/Model
    Samsung Odyssey
    CPU
    Core I7
The error would suggest that the files are either not built correctly, as in missing the table required by the .dll register service or are not meant to be registered but rather held in an application's folder structure where they will be found with the application's path settings.
There is this utility from Nirsoft that show the relevant structure of a .dll file : DLL Export Viewer - view exported functions list in Windows DLL

Checking Stack Exchange and other programming related sites the most common causes of the error are; corrupt file, incorrectly built file, file is not meant to be registered.
You will need to determine which applies in this case and whether there is anything you can do to remedy the situation without sourcing the problem files from another location.
If you compiled the files yourself then check your build process to make sure you have included all dependencies necessary for the target architecture.
 

My Computer

System One

  • OS
    Windows 11 Pro 22H2, build: 22621.521
    Computer type
    PC/Desktop
    Manufacturer/Model
    Scan 3XS Custom 1700
    CPU
    Intel i7-12700K 3.6GHz Base (5.0GHz Turbo)
    Motherboard
    Asus ProArt Creator B660 D4
    Memory
    64GB DDR 3600Mhz
    Graphics Card(s)
    Asus Tuff RTX 3080 10GB OC
    Sound Card
    Onboard Realtek
    Monitor(s) Displays
    Gigabyte G32QC 32inch 16:9 curved @2560 x 1440p 165Hz Freesync Premium Pro/ Dell SE2422H 24inch 16:9 1920 x 1080p 75Hz Freesync
    Screen Resolution
    2560 x 1440p & 1920 x 1080p
    Hard Drives
    WD SN570 1TB NVME (Boot), Samsung 870QVO 1TB (SSD), SanDisk 3D Ultra 500Gb (SSD) x2, Seagate 3Tb Expansion Desk (Ext HDD), 2x Toshiba 1Tb P300 (Ext HDD)
    PSU
    Corsair RM1000X Modular
    Case
    Corsair 4000D Airflow Desktop
    Cooling
    Corsair Hydro H150i RGB Pro XT 360mm Liquid Cooler, 3 x 120mm fans, 1x Exhaust
    Keyboard
    Microsoft Ergonomic
    Mouse
    Logitech G402
    Internet Speed
    800Mbs
    Browser
    Edge Chromium
    Antivirus
    Defender, Malwarebytes
For the SysWOW64 .dlls, use the 32-bit regsvr32 that is in that foder. So...

c:\> c:\Windows\syswow64\regsvr32 "c:\Windows\syswow64\libfdk-aac-2.dll"


Or opening the Command Prompt from that folder...

C:\Windows\SysWOW64> regsvr32 "c:\Windows\syswow64\libfdk-aac-2.dll"
 

My Computer

System One

  • OS
    Windows 11
    Computer type
    PC/Desktop
For the SysWOW64 .dlls, use the 32-bit regsvr32 that is in that foder. So...

c:\> c:\Windows\syswow64\regsvr32 "c:\Windows\syswow64\libfdk-aac-2.dll"


Or opening the Command Prompt from that folder...

C:\Windows\SysWOW64> regsvr32 "c:\Windows\syswow64\libfdk-aac-2.dll"

I tried both suggested ways and the problem persists, same error message.
 

My Computer

System One

  • OS
    Windows 11 Pro for Workstations
    Computer type
    Laptop
    Manufacturer/Model
    Samsung Odyssey
    CPU
    Core I7
The error would suggest that the files are either not built correctly, as in missing the table required by the .dll register service or are not meant to be registered but rather held in an application's folder structure where they will be found with the application's path settings.

When you look on OSDN, the AAC_install.txt reads:
Install AAC libraries
Windows:
1. Download libfdk-aac-2.dll from this folder
2. Go to the installation directory of butt by typing %LOCALAPPDATA%/butt into the file explorer
3. Copy libfdk-aac-2.dll into the installation directory of butt
4. Restart butt
 

My Computer

System One

  • OS
    Windows 7

My Computer

System One

  • OS
    Windows 11 Pro for Workstations
    Computer type
    Laptop
    Manufacturer/Model
    Samsung Odyssey
    CPU
    Core I7
I read the file and this still doesn't explain why I can't register the DLLs in the sysWOW64 folder?
In order to be registered, a .dll needs an entry point.(header file .h in C/C++)
It is optional as far as code therefore not all .dll can be registered.
You want to register a .dll when its use is system wide, otherwise the app will look
in the folder defined by the installation process/ or system paths.

This resulted in what was called .dll hell at one point as many versions ended up overwriting each other.

In this case, the .dll will be found as it resides in %windir%/subfolders which is pathed.
cmd.exe type set (enter), look for Path.
 

My Computers

System One System Two

  • OS
    Win11 All /Debian/Arch
    Computer type
    Laptop
    Manufacturer/Model
    ASUSTeK COMPUTER INC. TUF Gaming FX705GM
    CPU
    2.20 gigahertz Intel i7-8750H Hyper-threaded 12 cores
    Motherboard
    ASUSTeK COMPUTER INC. FX705GM 1.0
    Memory
    24428 Megabytes
    Graphics Card(s)
    Intel(R) UHD Graphics 630 / NVIDIA GeForce GTX 1060
    Sound Card
    Intel(R) Display Audio / Realtek(R) Audio
    Monitor(s) Displays
    Integrated Monitor (17.3"vis)
    Screen Resolution
    FHD 1920X1080 16:9
    Hard Drives
    2 SSD SATA/NVM Express 1.3
    WDS500G2B0A-00SM50 500.1 GB
    WDCSDAPNUW-1002 256 GB
    PSU
    19V DC 6.32 A 120 W
    Cooling
    Dual Fans
    Mouse
    MS Bluetooth
    Internet Speed
    Fiber 1GB Cox -us & ADSL Bouygues -fr
    Browser
    Edge Canary- Firefox Nightly
    Antivirus
    Windows Defender
    Other Info
    VMs of Windows 11 stable/Beta/Dev/Canary
    VM of XeroLinux- Arch based & Debian 12
  • Operating System
    Windows 11 Insider Canary
    Computer type
    Laptop
    Manufacturer/Model
    ASUS X751BP
    CPU
    AMD Dual Core A6-9220
    Motherboard
    ASUS
    Memory
    8 GB
    Graphics card(s)
    AMD Radeon R5 M420
    Sound Card
    Realtek
    Monitor(s) Displays
    17.3
    Screen Resolution
    1600X900 16:9
    Hard Drives
    1TB 5400RPM
Back
Top Bottom