I can't register two DLLs


Ro Wood

Active member
Local time
4:57 PM
Posts
43
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 My Computer

At a glance

Windows 11 Pro for WorkstationsCore I7
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 My Computer

At a glance

Windows 11 Pro 22H2, build: 22621.521Intel i7-12700K 3.6GHz Base (5.0GHz Turbo)64GB DDR 3600MhzAsus Tuff RTX 3080 10GB OC
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 My Computers

  • At a glance

    All Branches but ReleaseAMD Ryzen 7 7735HS 3200-4500 Mhz 8 cores x 232 GB DDR5Radeon Graphic / NVIDIA GeForce RTX 4060 8 GB...
    OS
    All Branches but Release
    Computer type
    Laptop
    Manufacturer/Model
    Acer Nitro ANV15-51
    CPU
    AMD Ryzen 7 7735HS 3200-4500 Mhz 8 cores x 2
    Motherboard
    Sportage_RBH
    Memory
    32 GB DDR5
    Graphics Card(s)
    Radeon Graphic / NVIDIA GeForce RTX 4060 8 GB GDDR6
    Sound Card
    AMD/Realtek(R) Audio
    Monitor(s) Displays
    Integrated Monitor (15.3"vis)
    Screen Resolution
    FHD 1920X1080 16:9 144Hz
    Hard Drives
    KINGSTON OM8SEP4512Q-AA 1TB
    Western Digital 256GB
    PSU
    19V DC 6.32 A 120 W
    Cooling
    Dual Fans
    Mouse
    MS Bluetooth
    Internet Speed
    Fiber 1GB Cox -us & 1GB Orange-fr
    Browser
    Edge Canary- Firefox Nightly-Chrome Dev-Chrome Dev
    Antivirus
    Windows Defender
  • At a glance

    Windows 11 BetaAMD A9-94208 GB of DDR4AMD Radeon R5
    Operating System
    Windows 11 Beta
    Computer type
    Laptop
    Manufacturer/Model
    Asus X751BP
    CPU
    AMD A9-9420
    Memory
    8 GB of DDR4
    Graphics card(s)
    AMD Radeon R5
    Screen Resolution
    1600x900
    Hard Drives
    Seagate 1 TB
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 My Computer

At a glance

Windows 11 Pro for WorkstationsCore I7
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 My Computer

At a glance

Windows 11 Pro 22H2, build: 22621.521Intel i7-12700K 3.6GHz Base (5.0GHz Turbo)64GB DDR 3600MhzAsus Tuff RTX 3080 10GB OC
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 My Computer

At a glance

Windows 11
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 My Computer

At a glance

Windows 11 Pro for WorkstationsCore I7
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 My Computer

At a glance

Windows 7
OS
Windows 7

My Computer My Computer

At a glance

Windows 11 Pro for WorkstationsCore I7
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 My Computers

  • At a glance

    All Branches but ReleaseAMD Ryzen 7 7735HS 3200-4500 Mhz 8 cores x 232 GB DDR5Radeon Graphic / NVIDIA GeForce RTX 4060 8 GB...
    OS
    All Branches but Release
    Computer type
    Laptop
    Manufacturer/Model
    Acer Nitro ANV15-51
    CPU
    AMD Ryzen 7 7735HS 3200-4500 Mhz 8 cores x 2
    Motherboard
    Sportage_RBH
    Memory
    32 GB DDR5
    Graphics Card(s)
    Radeon Graphic / NVIDIA GeForce RTX 4060 8 GB GDDR6
    Sound Card
    AMD/Realtek(R) Audio
    Monitor(s) Displays
    Integrated Monitor (15.3"vis)
    Screen Resolution
    FHD 1920X1080 16:9 144Hz
    Hard Drives
    KINGSTON OM8SEP4512Q-AA 1TB
    Western Digital 256GB
    PSU
    19V DC 6.32 A 120 W
    Cooling
    Dual Fans
    Mouse
    MS Bluetooth
    Internet Speed
    Fiber 1GB Cox -us & 1GB Orange-fr
    Browser
    Edge Canary- Firefox Nightly-Chrome Dev-Chrome Dev
    Antivirus
    Windows Defender
  • At a glance

    Windows 11 BetaAMD A9-94208 GB of DDR4AMD Radeon R5
    Operating System
    Windows 11 Beta
    Computer type
    Laptop
    Manufacturer/Model
    Asus X751BP
    CPU
    AMD A9-9420
    Memory
    8 GB of DDR4
    Graphics card(s)
    AMD Radeon R5
    Screen Resolution
    1600x900
    Hard Drives
    Seagate 1 TB
Back
Top Bottom