illustrate
Products            Buy            Support Forum            Registrations            Professional            About           
 

Visual C++, obtain .h file?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Boulli

    • Sep 2005
    • 3

    Visual C++, obtain .h file?

    Hi,

    I like to use dbPowerAmp from my Visual C++ project, I've found the readme about the usage in Borland C++ Build er. But this tool seems to create it's own .cpp and .h file from the library.


    How can I obtain the .h file for the dMCScripting.dll, to use it in Visual C++?

    It would be great if there is also a small example about how to use it in Visual C++ (even though it is the dark side, as I agree with).

    Thanks!!!
    Roel :smile2:
  • Spoon
    Administrator
    • Apr 2002
    • 44775

    #2
    Re: Visual C++, obtain .h file?

    Use 'OLE View' (comes with Visual Studio) and export a .h and .cpp, pretty standard COM + OLE stuff.
    Spoon
    www.dbpoweramp.com

    Comment

    • Boulli

      • Sep 2005
      • 3

      #3
      Re: Visual C++, obtain .h file?

      Hi!

      Thanks for your anwser. I tried to open save the .h file in OLE Viewer but I got the message: Error running MIDL.exe : 2 ? A bit strage.

      I can save the .IDL file obtained from the DLL.

      Can you maybe attach your .h file?

      Thanks,

      Roel

      Comment

      • Spoon
        Administrator
        • Apr 2002
        • 44775

        #4
        Re: Visual C++, obtain .h file?

        I don't have one (never have done it from VC), try installing the latest Microsoft Platform SDK, OLE view is included with that.
        Spoon
        www.dbpoweramp.com

        Comment

        Working...