Hello Iker,
this is the standard Windows error "CoInitialize has not been called.". As FreeMASTER plug-ins use the Microsoft COM+ technology, the caller thread needs to initialize it before opening the plug-ins.
Also, don't forget to call McbAttachThread() from each thread (other than the thread which has opened the port) before accessing any other Mcb methods.
Regards,
Michal