Imanta
Mar 28th, 2004, 02:26 AM
I have been looking at a lot of samples and I have some code working where I call a Function within my DLL from ASP and return something, but I would like to know how to get it to return multiple items under various properties.
For example, how can I do:
Set obj = Server.CreateObject("ServerTalk.clsGetInfo")
Set res = obj.ServerTalk(SomeItem)
Response.Write res.FirstName
Response.Write res.LastName
Response.Write res.City
Set obj = Nothing
Where FirstName, LastName, City are all variables inside my ActiveX DLL.
Essentially, I called a function in my DLL and it returns data, but I want to break it into separate properties a developer can call into.
Any ideas?
For example, how can I do:
Set obj = Server.CreateObject("ServerTalk.clsGetInfo")
Set res = obj.ServerTalk(SomeItem)
Response.Write res.FirstName
Response.Write res.LastName
Response.Write res.City
Set obj = Nothing
Where FirstName, LastName, City are all variables inside my ActiveX DLL.
Essentially, I called a function in my DLL and it returns data, but I want to break it into separate properties a developer can call into.
Any ideas?