how to setup a simple opencascade c++ programm without mfc

Hi,

I try to develop an COM plugin in which I want to use Open Cascade. In preparation for this, I build the MFC samples which are very helpful. But I dont need the whole MFC Application thing! I only want to do same topology operations (plane intersections). So I want to set up a very simple application or rather a dll in c++. Can anybody tell me how I can set up this project. I dont know where to start, which header and libs I need and so on...

Thanks for any assistance!

samscore's picture

Hi,

I have successfully compiled a mini console programm with this informations:
http://www.opencascade.org/org/forum/thread_16491/

But

// dump the topological structure to cout
BRepTools::Dump(aBox.Shape(),std::cout);

crashs the program...?