Results 1 to 2 of 2

Thread: Passing Objects from ASP to DLL ?!?

  1. #1

    Thread Starter
    Addicted Member ShIzO's Avatar
    Join Date
    Apr 1999
    Location
    Bartlett, IL
    Posts
    189

    Unhappy

    Hello,

    I am getting "Type Mismatch" when passing an objects from my ASP page to my DLL.

    my ASP code:

    Code:
    Set oTimeSheet = Server.CreateObject("TimeTrack.cTimeSheet")
    ....
    .... do something with object
    ....
    oTimeSheets.Additem oTimeSheet
    and my DLL code (receiving):

    Code:
    Public Function AddItem(vTimeSheet As cTimeSheet)

    What is wrong with this? Please help!!!!!
    www.HardFind.com -buy/sell/trade your used hardware.

  2. #2
    Frenzied Member Mark Sreeves's Avatar
    Join Date
    Nov 1999
    Location
    UK
    Posts
    1,845
    Just a guess here but your DLL functions should have parameters declared byVal





    Mark
    -------------------

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