Results 1 to 5 of 5

Thread: Passing ActiveX control to a DLL as parameter

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Aug 2000
    Posts
    18
    whenever I try to pass a treeview or other activeX control to a class method in an ActiveX DLL Project, I get an error message. What's the reason and what's the solution.

  2. #2
    Hyperactive Member
    Join Date
    Apr 2000
    Location
    Isle of Man
    Posts
    276
    Are you passing it ByRef or ByVal??


  3. #3

    Thread Starter
    Junior Member
    Join Date
    Aug 2000
    Posts
    18
    i'm passing it byref

  4. #4
    Hyperactive Member
    Join Date
    Apr 2000
    Location
    Isle of Man
    Posts
    276
    that blows my theory out of the water then!

    what's th error message?

  5. #5

    Thread Starter
    Junior Member
    Join Date
    Aug 2000
    Posts
    18
    message is:

    ----------
    Compiler Error:
    Private Object Modules cannot be used in public object modules as parameters or return types for public procedures as public data members or as fields of public user defined types.
    ----------

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