Hello, i'm not sure if this is the right place to put this (if not sorry!) or if this is a problem only i've encountered but this line of code
set_comment(mtl, ogf->shader().c_str(), 0, "default_object");
causes a _CtrlIsValidHeapPointer(pUserData) error.
Simply commenting it out fixes the issue. I'm using ms3d 1.8.4, and the plugin is compiled with vs 2008.
Just thought I should report this.