Start a new topic

Loading Plugins

Original Post by: Icewynd Mon May 24 16:31:38 2010


I know when loading a creator extension plugin to use the environment variable: MPI_CREATOR_PLUGIN_DIR


Does anyone know if this can only be one directory or if it can be semicolon deliminated to have multiple paths?


Thanks


Original Post by: SteveThompson Mon May 24 17:01:57 2010


The value can be only a single path.


If you set up your environment carefully, you should only need one folder...


If you are running a stand-alone app only, you should only need one location - just pick a folder, drop your extension DLL there and set the env var to that folder.


If you are running Creator only, the easiest way to do this is to drop your extension DLL into the Creator Plugin folder and don't bother setting the env var.


If you are running a stand-alone app AND Creator, the easiest way to do this is to drop your extension DLL into the Creator Plugin folder and then set MPI_CREATOR_PLUGIN_DIR to that folder so that when either Creator or your stand-alone app run, they both will find your extension correctly.

Original Post by: Icewynd Tue May 25 17:39:59 2010


Thanks that is all I needed to know.

Login to post a comment