Converting C++ project into COM object
-
I have a working C++ project which I wish to have encapsulated into a COM dll and not being a C++ developer myself I was wondering how much effort would be involved in something like that (in general) Basically I just want to provide interfaces into the work being done so .Open(FileName) instead of clicking File-Open in the app --Tony Archer "I can build it good, fast and cheap. Pick any two."
-
I have a working C++ project which I wish to have encapsulated into a COM dll and not being a C++ developer myself I was wondering how much effort would be involved in something like that (in general) Basically I just want to provide interfaces into the work being done so .Open(FileName) instead of clicking File-Open in the app --Tony Archer "I can build it good, fast and cheap. Pick any two."
First of all create an ATL/COM project in vc. and in workspace viewer add an interface to it. then add a method to the interface. then write the code behind the method( you cane copy and paste the code from your C++ code!) It needs a bit hard work;) Kamyar Souri Booria CAD/CAM Systems www.booria.com