Thank you, Florian
What happens if the YourDLL.dll has a dependency on a different DependencyDLL ? Where should the reference to the DepencedcyDLL.DLL be? In the PB App or in the YourDLL ? It am trying different combinations, but I keep getting error -3 when attempting to do a CreateNewObject.