starting a new bentley map session

I have a problem creating a new microstation object from my current session ( that i should use to perform some file operations without closing current dgn )

the problem is that i need a bentley map session ( that is, to load a specific configuration file , "msgeo" ( should be enough, i think ) , while the object i create starts with last user configuration file that was used ( so that , sometimes, it loads without some functionalities i need and crashes )

that's how i'm creating the object :

Bentley::Interop::MicroStationDGN::ApplicationObjectConnector^ myMStationC = 

gcnew Bentley::Interop::MicroStationDGN::ApplicationObjectConnectorClass();

Bentley::Interop::MicroStationDGN::Application ^app = myMStationC->Application;

what should i add to load "msgeo" user configuration file ?

Parents Reply Children
No Data