php调用dll的实例操作动画与代码分享
程序员文章站
2023-12-05 14:26:16
动画中的原代码如下: 复制代码 代码如下: version 1.0 class begin multiuse = -1 'true persistable = 0 'not...
动画中的原代码如下:
复制代码 代码如下:
version 1.0 class
begin
multiuse = -1 'true
persistable = 0 'notpersistable
databindingbehavior = 0 'vbnone
datasourcebehavior = 0 'vbnone
mtstransactionmode = 0 'notanmtsobject
end
attribute vb_name = "tw"
attribute vb_globalnamespace = false
attribute vb_creatable = true
attribute vb_predeclaredid = false
attribute vb_exposed = true
option explicit
private myscriptingcontext as scriptingcontext
private myapplication as application
private myrequest as request
private myresponse as response
private myserver as server
private mysession as session
public sub onstartpage(passedscriptingcontext as scriptingcontext)
set myscriptingcontext = passedscriptingcontext
set myapplication = myscriptingcontext.application
set myrequest = myscriptingcontext.request
set myresponse = myscriptingcontext.response
set myserver = myscriptingcontext.server
set mysession = myscriptingcontext.session
end sub
public sub onendpage()
set myscriptingcontext = nothing
set myapplication = nothing
set myrequest = nothing
set myresponse = nothing
set myserver = nothing
set mysession = nothing
end sub
public function userout(user) as variant
userout = user
end function
上一篇: 分享一个PHP数据流应用的简单例子