C++/CLI Loader Lock problem with Form

2013-04-04
2013-04-12
  • CorruptedFile
    CorruptedFile
    2013-04-04

    OK, so I am very new to C++ programming and I am trying to develop a plugin that we can use at work to compile our post processors that use a proprietary language. I would do this with the C# .Net demo plugin template, but our compiler for our processors is written in C++ so the interface to it's library is much easier for me in C++.

    The issue that I am having is in using a CLR form in the plugin. When I add the include and the namespace for my form I get the loader lock condition.

    What is the proper way to implement a Managed form in a C++ plug in? Any light you guys can shine on this for me would be greatly appreciated.

    Thanks.

     
  • CorruptedFile
    CorruptedFile
    2013-04-12

    Well, I never did get this figured out. I ended up creating a C# Plugin with a C++ Managed to Unmanaged wrapper.

    Someday I might figure this out, but for now, I'm making progress.