ASP files as DLL files
When you create or use a complex ASP Web application, you must encounter a DLL that needs to be used. The DLL usually includes code, compiled in VB, C + +, or other Windows programming languages, for ASP applications.
Registering a DLL
Before you can start using code to reside in a DLL file, you must first register the DLL in the Windows Runtime Library. There are two ways to let Windows know about this new DLL.
Save the DLL to c:windows System32
Or
Manually register it to show RegSvr32 applications
The first choice is self-evident, but the second option requires a little more work. This is a quick how to register a DLL:
Find the location of your DLL. We will use C:inetpub wwwroot tizagasp MyDLL.dll in this example.
Click the Start menu and select Run
Enter Regsvr32.exe's "c:inetpub wwwroot tizagasp MyDLL.dll" (quoted)
You should confirm the message if successful, such as: "DllRegisterServer in C:inetpub wwwroot tizagasp myDLL.dll Success"
Use your DLL in ASP
Now that you have registered your DLL you need to know how to access features that are included in it. Let's assume that for this example the DLL file is called "MyDLL.dll" and the name and class are "MyClass".
To create an instance of this class you can use the Server.CreateObject method like this: