CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums
Results 1 to 2 of 2
  1. #1
    Join Date
    Jul 2010

    Question Custom dispatch ID

    I am trying my move my graphics engine to an MFC ActiveX project in VisualC++ 2005.

    Primary question:
    What range of dispatch ID's are safe to define in my own code? I will be using about 300 methods.

    Secondary question:
    Is there a good way to handle vectors (4 x float) and matrices (16 x float) in the ActiveX interface?

  2. #2
    Arjay's Avatar
    Arjay is offline Moderator / EX MS MVP Power Poster
    Join Date
    Aug 2004

    Re: Custom dispatch ID

    I can't answer your questions, but I can tell you that ActiveX in MFC is clunky at best.

    Instead take a look at doing your ActiveX control with ATL. You'll end up with a lightweight control w/no MFC dependencies.

Tags for this Thread

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