dynamically calling assemblies
-
Hi folks, I'm working on a project using both clr and non clr-Modules. I try to load a C#-assembly dxnamically from a c++Module translated with the clr option. For that I'm using the .Net-Assembly class (System.Reflection.Assembly). In some cases I cannot call the function I'd like to. That depends on wheter some Objects are instantiated whithin it or not. Here the code of the function I try to call via Reflection: This works : ///////////////////////// public void Init() { //Doc.Document doc = new Doc.Document String txt = "hello"; } ///////////////////////// this doesn't ///////////////////////// public void Init() { Doc.Document doc = new Doc.Document; String txt = "hello"; } ///////////////////////// In case the critical line is there, I cannot even debug into the function, making it hard to find the error. Any Ideas ?