Regarding the crash - there is a bug in
void *csSCF::CreateInstance (const char *iClassID, const char *iInterface, int iVersion)
in file CS/libs/csutil/scf.cpp
here:
instance = object->QueryInterface (GetInterfaceID (iInterface), iVersion);
object->DecRef ();
\'instance\' is not checked for NULL
(my assert says \"Assertion `instance!=__null\' failed.\")
In my case \'instance\' is null when calling with these arguments:
iClassID = \"iCelPlLayer\"
iInterface = \"4\"
iVersion = 1