Kinook Software Forum

Go Back   Kinook Software Forum > Visual Build Professional > [VBP] General Discussion
FAQ Community Calendar Today's Posts Search

 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 06-30-2005, 10:08 AM
Stuart Stuart is online now
Registered User
 
Join Date: 06-30-2005
Location: San Diego
Posts: 3
Unhappy 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
Reply With Quote
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



All times are GMT -5. The time now is 09:33 PM.


Copyright © 1999-2023 Kinook Software, Inc.