Try this on the GDI DLL
Regsvr32.exe allows you to register/un-register DLL and OCX files that are self-registerable. Regsvr32.exe provides rudimentary error codes as well as a silent install option.
Regsvr32.exe is installed with Microsoft Visual Basic and can be found in the System (or System32) directory.
When used, Regsvr32.exe attempts to load the component and call it's DLLSelfRegister function. If successful Regsvr32.exe displays a dialog indicating success. If the registration fails, Regsvr32.exe returns a basic error code.
To use the Regsvr32.exe utility to register a component perform the following steps:
Open an MS-DOS Command prompt or from the Windows Start menu, select Run.
Execute the following command line:
REGSVR32.EXE C:\WINDOWS\SYSTEM\COMPONENT.DLL
Component.dll is the DLL/OCX to register onto the system. The path to the component must be included in the command line.
Components can be unregistered using the /u command line parameter.
For additional information on Regsvr32.exe command line parameters, execute the following command from an MS-DOS command line:
REGSVR32.EXE /?