Question on returning data from ActiveX DLL (Resolved)
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:
Code:
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?
Last edited by Imanta; Mar 31st, 2004 at 02:43 PM.