Document toolboxDocument toolbox

How can I register or unregister dll files for GDSLAB or GDSLAB Reports?

A DLL is a library that contains code and data that can be used by more than one program at the same time. For example, in Windows operating systems, the Comdlg32 DLL performs common dialog box related functions. Therefore, each program can use the functionality that is contained in this DLL to implement an Open dialog box. This helps promote code reuse and efficient memory usage.

Make sure Windows is running the latest version of .NET Framework. You can find out which version is running on your computer, and which is the latest one, here: https://gdsinstruments.atlassian.net/wiki/spaces/GDSKB/pages/608927773

1. Scope

Both GDSLAB and GDSLAB Reports use this type of file. Occasionally we may give you a dll file to replace an existing one in your computer, to try out a new software change that has not been implemented in the final build of the application. The procedure to unregister the old file and register the new one will be different depending on code language used to create the dll file.

In both cases, you will need to copy the new dll file to the relevant software folder and overwrite the existing one.

For GDSLAB the folder is C:\GDSLAB\plug-ins\

For GDSLAB Reports the folder is C:\GDSLAB Reports\

Then run Windows Command Prompt in Administrator mode. Type cmd in Windows search, or press the Windows key to bring up the Start Menu and type cmd. In the search results shown you will see the Command Prompt app. Right-click it and select Run as Administrator.

2. Unregistering / Registering Visual Basic 6 dll files

Most dll files for GDSLAB are VB6

For GDSLAB type in the following in the command prompt to go into the software root folder.

CD C:\GDSLAB

 

For GDSLAB Reports type

CD C:\GDSLAB Reports\

 

Unregister the old dll (even if you have already replaced the file by the new one) then register the new one:

%systemroot%\SysWoW64\regsvr32.exe /u filename.dll %systemroot%\SysWoW64\regsvr32.exe filename.dll

 

3. Unregistering / Registering Visual C# dll files

For GDSLAB type in the following in the command prompt to go into the software root folder.

 

For GDSLAB Reports type

 

Unregister the old dll (even if you have already replaced the file by the new one) then register the new one: