i saw the c# code, i attached, from solid edge .net programer;s guide that is about starting Solid Edge.
of course, i works well... but i'd like to do that using c++.
actually i'm not familiar with com & atl... so i cannot get any solution finally though i try to find a way from addin sample code.
please help me...
maybe the simple c++ code is best for me.
thank you in advance.
Posted by: James ChoPost date: 4/5/2009 11:46:40 PM
you can use the AddinWizard from this site as starting point for add-in development, also in C++.
You found it under Downloads
Will be nice if other developers will add C++ examples in the WIKI.
Posted by: Massimo MagrisPost date: 4/13/2009 1:59:13 AM
You can start solid edge application using the following code.
int _tmain(int argc, TCHAR* argv, TCHAR* envp)
SolidEdgeFramework::ApplicationPtr pSEApp = NULL;
hres = CoInitialize(NULL);
// Dont have Solid Edge running. Create a new instance.
HRESULT hr = pSEApp.CreateInstance("SolidEdge.Application");
::MessageBox(0,"Failed to creat=e an instance of Solid Edge",0,0);
Posted by: Triad UserPost date: 5/4/2009 1:33:37 AM