|
Control registration problem? This answer to a related Frequently Asked Question may help.
|
When redistributing the release Webster Pro Control as part of your product,
you also need to include the support DLLs listed below in your setup kit.
You can find copies of these DLLs in the REDIST32 and REDIST16 subdirectories
of your control installation directory.
From your setup program, you should install the redistributable
DLL files in the Windows SYSTEM directory on the end-user's machine.
Setup Toolkit and similar Setup program generators normally do this
automatically.
If you are writing your own setup code, you can obtain the name of
the Windows SYSTEM directory by calling the GetSystemDirectory Windows
API.
If any of the redistributable DLLs are already present on the end-user's
machine, compare their version resources against the copies you are
installing. Only re-install a file if your copy has the same or a higher version
number than the copy that is already installed.
|
Redistributing the 32-bit S-Type Control (WebPro3.OCX)
|
These redistributable files are required for the 32-bit Webster Pro Control S-Type.
- OLEPRO32.DLL *
- OLEAUT32.DLL *
- WEBPRO3.OCX *
Files marked with '*' require registration. Most setup program generators
support self-registration of DLLs, or you can register the control directly
using the LoadLibrary Windows API to load the OCX, then calling
GetProcAddress to obtain the address of the "DllRegisterServer"
function, and then calling that function.
You can also use REGSVR32.EXE to perform the necessary registration tasks.
Just pass the complete path and filename of the DLL or OCX as an argument
to REGSVR32.
|
Redistributing the 32-bit D-Type Control (WebPr332.OCX)
|
These redistributable files are required for the 32-bit Webster Pro Control D-Type.
- MFC42.DLL *
- MSVCRT.DLL
- OLEPRO32.DLL *
- OLEAUT32.DLL *
- WEBPR332.OCX *
Files marked with '*' require registration. Most setup program generators
support self-registration of DLLs, or you can register the control directly
using the LoadLibrary Windows API to load the OCX, then calling
GetProcAddress to obtain the address of the "DllRegisterServer"
function, and then calling that function.
You can also use REGSVR32.EXE to perform the necessary registration tasks.
Just pass the complete path and filename of the DLL or OCX as an argument
to REGSVR32.
Redistributing the 16-bit Control (WebPr316.OCX)
These files are required for the 16-bit Webster Control.
- COMPOBJ.DLL
- OLE2.DLL
- OLE2PROX.DLL
- OLE2DISP.DLL
- OLE2NLS.DLL
- OLE2CONV.DLL
- OLE2.REG **
- STDOLE.TLB
- STORAGE.DLL
- TYPELIB.DLL
- OC25.DLL *
- WEBPR316.OCX *
Files marked with '*' require registration. Most setup program generators
support self-registration of DLLs, or you can register the control directly
using the LoadLibrary Windows API to load the OCX, then calling
GetProcAddress to obtain the address of the "DllRegisterServer"
function, and then calling that function.
You can also use REGSVR.EXE to perform the necessary registration tasks.
Just pass the complete path and filename of the DLL or OCX as an argument
to REGSVR.
** OLE2.REG should be registered using the command line
"REGEDIT /S %SYS%\OLE2.REG", substituting the Windows SYSTEM directory
for %SYS%.