LBNL DLLs

Software/Versions Affected:

If you get a message saying "Trouble Loading Optics5.dll", make sure that these two files are in C:\Program Files\ LBNL\ LBNL Shared and are registered:

  • MultiPaneOptics.dll
  • SpectralAveraging.dll

To register the DLL or OCX files in MS Windows 7, do the following:

Click on the Start button and click All Programs

Under Accessories, right click on Command Prompt

Select the option "Run as administrator" — if you do not do this, the registration process will result in an error.

The Command Prompt window appears

Type the appropriate command (see below) after the prompt (make sure to surround the path in quotes because of the spaces the path)
(You can also copy the text from this webpage, and then in the Command Prompt window click the right mouse button and you will see a Paste option.)

regsvr32 "C:\Program Files (x86)\LBNL\LBNL Shared\<DLL Name>"

for example

regsvr32 "C:\Program Files (x86)\LBNL\LBNL Shared\MultiPaneOptics.dll"

Make sure that

  • the directory path is surrounded in quotation marks
  • you put a space between regsvr32 and the directory path

You should get a dialog box saying the registration was successful