Results 1 to 2 of 2

Thread: Using an ActiveX control from WITHIN an ActiveX DLL

  1. #1

    Thread Starter
    Lively Member Radar's Avatar
    Join Date
    Apr 2001
    Posts
    70

    Question Using an ActiveX control from WITHIN an ActiveX DLL

    Hi all....
    I'm not sure how to do this. How can I access the properties of an private activeX control which is contained within an activeX DLL? I need to access the usercontrol's AsyncRead property from a public property within the DLLs main class, so that when a user sets a property in the DLL, it passes the value to a property of the the "Hidden" usercontrol. The problem seems to be that the usercontrol is not recognized as an object from within the DLL. Any thoughts??

    Thx much & keep cool
    - Radar
    Aww screw it. I didn't really want to fool with it anymore anyhow.

  2. #2
    jim mcnamara
    Guest
    If I understand you correctly:
    - you cannot get to a private control because you can't instance the object. It's interface is exposed only internally - to the code running the COM object. Not the client - the code you're writing.

    If this is your code, you need to have the interface provide access to public methods or properties that allow you to fiddle with the control. If it is not your code, you're outta luck. Again, assuming I got your drift.

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