Click here to Skip to main content
Click here to Skip to main content
Add your own
alternative version

Beginner's Tutorial: Calling Visual Basic ActiveX DLLs from Visual C++

, 18 Nov 1999
vb_from_vc.zip
TestVBCOM.dsp
vbTestCOM.exp
vbTestCOM.lib
vbTestCOM.tlb
vbTestCOM.vbp
vbTestCOM.vbw
clsVBTestClass.cls
// Generated .IDL file (by the OLE/COM Object Viewer)
// 
// typelib filename: vbTestCOM.dll

[
  uuid(52D2F0D6-4BEF-4E69-B370-5C94A389D916),
  version(1.0)
]
library vbTestCOM
{
    // TLib :     // TLib : OLE Automation : {00020430-0000-0000-C000-000000000046}
    importlib("stdole2.tlb");

    // Forward declare all types defined in this typelib
    interface _clsVBTestClass;

    [
      odl,
      uuid(C8771967-F992-447A-B4A0-083894E6326E),
      version(1.0),
      hidden,
      dual,
      nonextensible,
      oleautomation
    ]
    interface _clsVBTestClass : IDispatch {
        [id(0x60030000)]
        HRESULT CountStringLength(
                        [in] BSTR strValue, 
                        [out, retval] long* );
    };

    [
      uuid(46F6C251-C914-4353-A2D2-BF6AF058F454),
      version(1.0)
    ]
    coclass clsVBTestClass {
        [default] interface _clsVBTestClass;
    };
};

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here

Share

About the Author

C. Lung

United States United States
No Biography provided

| Advertise | Privacy | Terms of Use | Mobile
Web01 | 2.8.141220.1 | Last Updated 19 Nov 1999
Article Copyright 1999 by C. Lung
Everything else Copyright © CodeProject, 1999-2014
Layout: fixed | fluid