I am a totally newbie in ASP / VB programming, I would like some help from
you guys if possible.
Below are the steps given which i followed,
Step 1: Create a MFC based .Exe with single file document option.
Step 2: Insert -> Add ATL object -> Select Simple object.
Step 3: Build the .Idl file with 2 dummy fuctions as Add, Dummy.
Step 4: Build the proxy DLL in a saperate project including the files
generated by .idl
Step 5: Register the exe.
Step 6: create object from ASP page.
Step 7: Call the function.
I have just pasted the sample code of my script being used, and the result
obtained when i run the code. Please let me know why Compilation Error :
'80070002' is obtained.
<HTML>
<TITLE>Multiplication</TITLE>
<BODY>
<%
Dim MulResult
Dim MulNum, result
Response.write (" before")
Set MulNum = CreateObject("mfcatl.math.1")
Response.write ("after")
result = MulNum.Add(2,8)
Response.write(result)
%>
</BODY>
</HTML>
RESULT obtained :
before after
Parse error in script
ASP scripting compilation error: '80070002'
Description:
In file: /multi.asp