Mirage Source
Need your help - Printable Version

+- Mirage Source (https://mirage-engine.uk/forums)
+-- Forum: Mirage Source (Nostalgia) (https://mirage-engine.uk/forums/forumdisplay.php?fid=61)
+--- Forum: Archive (2006-2011) (https://mirage-engine.uk/forums/forumdisplay.php?fid=18)
+---- Forum: General (https://mirage-engine.uk/forums/forumdisplay.php?fid=17)
+---- Thread: Need your help (/showthread.php?tid=327)



Need your help - Belier13 - 26-09-2006

Well, I started working on an engine,

one of the must is to obviously change server to IOCP !!


This done, working well, I have no problem.. The shit is that, everytime I want to send the server to someone, they don't have the .dll registered (which I left in the server folder)


Sooo, is there a way to make them register easily *? Or, to make the server load the .dll from it's main folder directly?


* = I allways have to explain them to register with windows/system32/regsvr32.exe, it works, but.. quite time consuming when you are talking to noobs


- Reece - 26-09-2006

William made an example in a forum you need a .bat file


- Belier13 - 26-09-2006

Great now my post is deleted I'm gonna cut myself


Maybe I should ask you "did you see my friend, he's wearing a shirt and he has 2 legs ?" you'd understand better mister E-Accuracy?


- William - 26-09-2006

I can send you a working bat file if you wish?

Anyway, there you have it. Just make a bat file and change the filenames.
Code:
@echo off
cls
echo.
echo Registering dllname...
rundll32 filename.dll, DllRegisterServer
echo.
echo Done!
echo.
echo [ Press any key to close this window ]
pause > nul



- Belier13 - 26-09-2006

Thank, it worked great

just a random question, I don't use Ms dos so, what does "cls" do?


- Misunderstood - 26-09-2006

I think its clear screen. VB forms and other containers have a similar function.


- Rian - 27-09-2006

I deleted your post cuz of the language. you can request more information without so much profanity. people usually respond better that way. Anyhow, hope you didn't take it personally.


- Reece - 27-09-2006

Yes cls is clear screen, it not realy needed in a .bat ive never used it Big Grin