CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    Aug 2001
    Location
    Chicago, IL
    Posts
    2

    Registering long DLL files in Windows Registry

    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




  2. #2
    Join Date
    Nov 2001
    Location
    USA, Florida
    Posts
    60

    Re: Registering long DLL files in Windows Registry

    How is he using regsrv32? Is it setted up to register .dll automatically? There are several work arounds...


  3. #3
    Join Date
    Aug 2001
    Location
    Chicago, IL
    Posts
    2

    Re: Registering long DLL files in Windows Registry

    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.


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

Featured