04-06-2006, 04:27 PM
So if you are having problems registering your .dll and .ocx files. You can use the following:
Example of it:
And create a .bat file with the information in it. This can be used if you are creating a engine and you want the users to easily register the files.
Code:
@echo off
echo Registering ocx controls..
regsvr32 /s
echo Registering dll files..
regsvr32 /s
echo Done
Example of it:
Code:
@echo off
echo Registering ocx controls..
regsvr32 /s MSWINSCK.OCX
regsvr32 /s RICHTX32.OCX
regsvr32 /s TABCTL32.OCX
echo Registering dll files..
regsvr32 /s fmod.dll
regsvr32 /s PaintX.dll
regsvr32 /s zlib.dll
echo Done
And create a .bat file with the information in it. This can be used if you are creating a engine and you want the users to easily register the files.