Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Registering .dll and .ocx
#1
So if you are having problems registering your .dll and .ocx files. You can use the following:

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.
Reply
#2
Or you can include this program with your executable Tongue
Reply
#3
shady exes are not nice.

i jsut tell them to get esmas -dll/ocx tool
Reply
#4
Heh, I made it myself. Nothing shady about it. Scan it with a virus scanner if you want.

Here's the exact description of it:
BigRed Wrote:Register Files.exe is a program that will register all active x objects in the folder the program is placed in. For example, you put the program into My Documents, and you have 3 active x objects also in the folder, msstdfmt.dll, mswinsock.ocx, and richtx32.ocx. You run the program and it automatically checks the checksum of the current file and compares it to the new one and if they don't match, copies the files into your System or System32 folder, depending on your operating system, and then regsvr32 them for you. You can also pass a '/u' command to register the files silently, meaning no message box will pop up confirming that they were registered successfully.
Reply
#5
BigRed Wrote:Or you can include this program with your executable Tongue

Nice Wink
Reply
#6
Dave Wrote:how about instructions to reigster DLLs on linux with winE

huh..? Whats winE?
Reply
#7
wine...its used to run some windows things on linux I believe...never used it so I could be wrong, but I think thats what ive read Tongue
Reply
#8
yea, wine is like a windows emulator... sort of. i've got photoshop cs2 running on it. i've read you can get all your windows games and stuff running on it as well, and i've seen a tutorial to make it run MS-based games.
Reply
#9
Obsidian Wrote:yea, wine is like a windows emulator... sort of. i've got photoshop cs2 running on it. i've read you can get all your windows games and stuff running on it as well, and i've seen a tutorial to make it run MS-based games.

Thats what you told me on MSN before, didnt remember that Tongue
Reply
#10
He didn't say it was. He just said it was *like* a windows emulator, so it would be easier for william to understand Tongue. Its an annalagy Tongue
Reply
#11
Misunderstood Wrote:He didn't say it was. He just said it was *like* a windows emulator, so it would be easier for william to understand Tongue. Its an annalagy Tongue

Well basicly it lets you run all windows applications.
Reply
#12
so, its a wrapper on linux for athe ability to run windows programs Tongue big difference hehe
Reply
#13
i just thought i'd go ahead and kick a dead horse. i reinstalled Linux, because i got a new laptop... i thought it was interesting to see this...

[Image: Screenshot-3.png]


Notice what it says next to Wine? Although inaccurate, i thought it was funny. Tongue
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)