Skip to content
⌘ NSIS Forum Archive

RegDLL's bug?

4 posts

bluenet#edited

RegDLL's bug?

I want to regdll a MPEG-4 decoder that is 3ivx,and I try two instruct:

RegDLL "D:\Program Files\MyMPC DIY\Codecs\3ivxDSDecoder.ax"

Exec 'regsvr32 "D:\Program Files\MyMPC DIY\Codecs\3ivxDSDecoder.ax"'

The first said that: Could not load: D:\Program Files\MyMPC DIY\Codecs\3ivxDSDecoder.ax

And the other one return a dialogbox said that DllRegisterServer succeed.

I don't known what is only for me. So I upload a rar package to http://foobar.nease.net/temp/3ivx.rar [317 KB]

My System is Windows 2003 SimpleChinese, and NSIS v2.0
VegetaSan#
Well Iam making a installer with some video codecs myself.

and I dont need to registrate all DLL files ... but some

you may try this .. If this doesnt work .. then nothing can register it:

1. Start Notepad
2. Type this:

regsvr32 "3ivx.dll"

3. the you need to save the file as a .bat extention like:
register.txt <--- Wrong !!!!!!
register.bat <--- Good !

SAVE THE FILE AT THE SAME FOLDER WHERE 3ivx.dll IS !!!!

then let us know if that works
Joost Verburg#
He already said that regsvr32 works fine, there is no need to create a batch file.

Using regsvr32 is not a good idea because it does not always exist.

I think the DLL requires other files to load. Try to set the current directory (use SetOutPath) to the directory of the DLL.
bluenet#
Sorry, it is my wrong.I forgot SetOutPath before RegDLL.
Now It's OK.Thanks Joost Verburg 🙂