Results 1 to 4 of 4

Thread: calling a dll

  1. #1

    Thread Starter
    New Member
    Join Date
    Sep 2000
    Location
    Barcelona
    Posts
    1

    Wink

    I have a MDI application. It is possible call a dll that is at the same time a MDIChild?
    Thank's for your attention.

  2. #2
    Fanatic Member simonm's Avatar
    Join Date
    Sep 2000
    Location
    Devon, England
    Posts
    796

    Lightbulb Suggestion

    I don't think you can as you need an MDI parent in the same project as the child in order to display it.

    What I suggest though is to create a blank child form template in your main project and then pass in an object reference to a new instance of the child form to the DLL where it can control it's behaviour.
    I know it's not quite as good but it's the only way i can think of doing it.

    Simon.

  3. #3
    Lively Member
    Join Date
    Mar 2000
    Location
    Fort Lauderdale, FL USA
    Posts
    112
    Simonm is right. Here is the article describing the process.

    http://msdn.microsoft.com/library/pe...d99/da0399.htm

    Damonous

  4. #4
    Guest
    You would need a function to load the form too.

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