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


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


I have successfully compiled a mini console programm with this informations:


// dump the topological structure to cout

crashs the program...?