asp_cdo thread: How to use DLL in ASP.
I have created an ActiveX Dll in Visual Basic 5.0 and now I want to use it
on a Windows NT 4.0 server running IIS 4.0 I successfully registered the
Dll on the NT system, with
regsvr32 KMailing.dll
The class module I created in the KMailing.vbp was KMail.cls and then I
selected Make KMailing.dll option from the File menu of the VB IDE. Then
VB compiled my project and generated desired KMailing.dll file.
Now when I use,
<%@ Language="VBScript" %>
<% Response.Buffer="True" %>
<%
Set myObj = Server.CreateObject("KMailing.Kmail")
myOjb.SendMail("abc@p...","Test Message")
%>
I get the error stating,
Server object error 'ASP 0177 : 80040113'
Server.CreateObject Failed
/abcfolder/be.asp, line 9
Invalid class string.
---------------------------------------------------------------------
I am not able to understand the nature of the problem, When I use the same
Dll in the standard Visual Basic project, my computer hangs and I get a
message, the "Required resource is busy. Please use Switch Task option to
switch to another task.".
Please give me a valuable suggestion and solution of this problem, thanks
in advance........
Regards,
Krishna K Khatri
zipcn046@i...
[I am using MAPI for the Messaging System. (i.e. Mapi32.dll / Mapi.dll) ]