CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Dec 2003
    Location
    Simi Valley, CA
    Posts
    24

    Help with Automation Control

    I want to create an Automation Control in Visual C++ 6.0.
    1. I use the AppWizard to create a MFC DLL with Automation enabled.
    2. I create a New Class for my Automation Interface.
    3. I use the Class Wizard to create Methods and Properties.
    4. I load my Automation Control in another development tool.

    Everything works great until now!

    5. Now I add a resource to my project, nothing more, I don't even reference it!

    Now my Automation control fails with the error "Could not load the selected Type Library"

    Can anyone explain to me why this happens?

    Thanks,
    John

  2. #2
    Join Date
    Dec 2003
    Location
    Simi Valley, CA
    Posts
    24
    Does nobody create Automation Controls in C++??!
    I can't find anything on the web on how to do this. No tutorials or anything!

    Everybody probably uses VB I guess

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

Featured