Click to See Complete Forum and Search --> : Registering long DLL files in Windows Registry


Chicagoan
August 21st, 2001, 01:51 PM
Hello, all:

One of my clients is having problem in registering long DLL files.

I looked at his registry and noticed that most (not all) of his DLL file paths and names are truncated in the registry. The values of these DLLs in the registry appear like this:
@="C:\\DATA\\COMPILED\\ARCHPR~1\\ADOTRA~1.DLL"

He was using REGSVR32 to register DLL files and the machine is a Windows 95 udgraded to Windows 2000. All development applications (Visual Basic) are 32-bit. I don't understand why these entries are converted into legal short names in 8.3 format.

These truncated names are causing another application that we are using to fail.

Any thought on why this is happening or how to fix it would be greately appreciated.

Thanks!

-Eva

Biasha
November 9th, 2001, 11:23 AM
How is he using regsrv32? Is it setted up to register .dll automatically? There are several work arounds...

Chicagoan
November 9th, 2001, 01:08 PM
Well, it turned out that there is a setting in Windows that you can force the operating system NOT to convert the file names into 8.3 format:

HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\FileSystem\Ntfsdisable8dot3 = 1

Problem solved after the developer modified the registry setting.