Starting Solid Edge

 

    SolidEdgeFramework::ApplicationPtr pSEApp;

    HRESULT hr;

    hr=pSEApp.CreateInstance("SolidEdge.Application");

    pSEApp->Visible=VARIANT_TRUE;

    pSEApp->WindowState=2;

    if(hr==S_OK)

        MessageBox(pSEApp->GetVersion());

    else

        MessageBox("Failed!");

 

Posted by: assassin 007
Post date: 5/16/2010 7:33:43 PM