把APS程序写在DLL文件中,注册后如何在ASP网页中将DLL的内容调出显示在WEB页中?
工程名:DBDLL
类名:CONN
public function ShowMSG()
response.write"我的第一个WEB程序"
end function
ASP文件是这样写的:
set con = server.createobject("dbdll.conn")
con.ShowMSG()
set con = nothing
ASP文件代码:
set con=server.createobject("DBDLL.CONN")
con.ShowMSG
set con = nothing
但运行ASP文件代码是出现错误:
错误行是:con.ShowMSG
请各位朋友能帮助解答一下!