Results 1 to 6 of 6

Thread: Sub classing methods in a dll (Ithink?)

Threaded View

  1. #1

    Thread Starter
    Hyperactive Member Simon Caiger's Avatar
    Join Date
    Aug 2000
    Location
    Rugby, England
    Posts
    377

    Resolved Sub classing methods in a dll (Ithink?)

    Hi,
    I am writing a serial communications dll. Let's call it MyDll
    In the dll I have a class called CommsController which handles connection, disconnection via methods MyDll.CommsController.Connect etc.
    A number of actions must be performed by the dll so, in order to keep the CommsController class at a sensible length, I want to have a method called DoAction which then calls methods from another class called Actions.

    Let's say class actions has methods Sleep and Wake
    I don't know how to structure things such that the methods of class Actions are exposed via MyDll.CommsController.DoAction.

    I hope somebody understands what I am trying to do and can point me in the right direction.
    Last edited by Simon Caiger; Jan 25th, 2005 at 09:37 AM. Reason: Resolved
    Simon Caiger

    Documentation is like sex; when it's good, it's very, very good, and when it's bad, it's better than nothing.

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