Make ASP programs a lot of benefits, but one thing, the DLL must be registered to call in ASP. If it is your own server, it is okay, but if it is a virtual server, there is no way to use it.
How to register our DLL on the remote host? Use the shell on the server! ! !
Let's upload your DLL file upload to the server through FTP or HTTP, then make an ASP program, call wscript.shell to execute the regsvr32 command:
Set Oshell = CreateObject ("wscript.shell")
Oshell.Run "C: /Winnt/System32/REGSVR32.EXE / S D: /XXX.DLL", 0, FALSE
Of course, if the other party's server is very good, this code may not use it, but no matter what, learning is also good, :)
Here, you must remind those friends who rent space, whether your server limits the use of WScript.Shell? Still be careful
The full code is as follows, saved as .asp can be used: