Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Using ActiveX Control Functions Without GUI (VC++)

  1. Jun 15, 2010 #1
    I need to use an ActiveX control (and call on it's functions) from within a Windows Visual C++ console application. I can do what I need to with a dialogue-based MFC Windows application with a gui, but can't find any information on loading a control/calling it's functions from a console application. If this is possible, it would be immensely helpful on my current project. I'm using Visual Studio 2010 Professional, by the way. Any ideas?
     
  2. jcsd
  3. Oct 9, 2010 #2
    BUMP! I'm still researching it but I have two projects that would benefit from this. I'll keep you updated with my progress if any.
     
  4. Oct 10, 2010 #3

    Mark44

    Staff: Mentor

    Without knowing what controls you're talking about, it's hard to say, but the ActiveX control might require that it be run in a Windows program rather than a console app.
     
  5. Oct 10, 2010 #4
    Yeah, I ended up working around it. I was going to interface with it directly and write my own driver wrapper, but because of Windows USB enumeration issues, I just gave up.

    So now I just built a simple mfc app, but slipped in all my code before it draws the window, so even if it's bloated and such, it works. I'm just going to go back at some point and port it all to linux.
     
  6. Oct 12, 2010 #5
    I'm looking into using Flash UI for editing things in a console app.
     
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook




Similar Discussions: Using ActiveX Control Functions Without GUI (VC++)
  1. Vb.net\ Gui (Replies: 5)

  2. Java GUI (Replies: 3)

Loading...