Results 1 to 3 of 3

Thread: Question on returning data from ActiveX DLL (Resolved)

Threaded View

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Mar 2001
    Posts
    152

    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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width