Z
zwd2000
Unregistered / Unconfirmed
GUEST, unregistred user!
请问如何将ASP调用COM的程序改写成DELPHI的程序
ASP程序如下:
Set Session("obj" = CreateObject("ConfAdmin.ConfManager"
dim result
dim confdatas
result = session("obj".GetConfList(confdatas)
if isempty(confdatas) <> true then
conf_id = 0
while conf_id <=ubound(confdatas) //关键是这一行
Response.Write confdatas(conf_id)
Response.Write ","
conf_id = conf_id + 1
wend
end if
Set Session("obj" = nothing
ASP程序如下:
Set Session("obj" = CreateObject("ConfAdmin.ConfManager"
dim result
dim confdatas
result = session("obj".GetConfList(confdatas)
if isempty(confdatas) <> true then
conf_id = 0
while conf_id <=ubound(confdatas) //关键是这一行
Response.Write confdatas(conf_id)
Response.Write ","
conf_id = conf_id + 1
wend
end if
Set Session("obj" = nothing