#1
|
|||
|
|||
COM Automation and Visual C++ 6
Hello,
I am in the process of creating a C++ socket server to execute builds for our build system the problem that I am running into is that I can not create the builder COM Object. I have had no problem creating the Application COM object. I can create the builder com object in visual basic but would prefer to do it in my C++ instead of calling out to a Visual Basic COM Object I create. Here is some example code This code works for creating the application object Declaraion: VisBuildSvr::IApplicationPtr m_VisualBuild_AppPtr; HRESULT hr= pVisBuildApp.CreateInstance (__uuidof(VisBuildSvr::Application)); This code does not work for creating the builder object Declaration VisBuildSvr::IBuilderPtr m_BuilderPtr; HRESULT hr=pVisBuilderPtr.CreateInstance (__uuidof(VisBuildSvr::Builder)); Any help would be greatly appreciated Thank you in advance, Stuart |
Thread Tools | |
Display Modes | Rate This Thread |
|
|