Hi Thomas, your executable calls - just like the original ExtApp does - berry::Starter::Run(...), right? This code lives in liborg_blueberry_osgi.dll, hence your executable has a link time dependency on it. This is why this plugin is special. Even before the CTK migration, BlueBerry applications had this dependency. However, the plug-in loading mechanism was different, so this might be the reason why it worked before.
Changing the PATH environment variable at runtime only affects delay loaded libraries. Note that link-time dependencies might also exist between plug-ins - this is the real reason why changing the PATH is necessary in the first place. Otherwise the call to LoadLibrary(...) could not resolve transitive dependencies. In the future, we will drop support for the legacy BlueBerry plug-in system. This will probably also allow us to remove the link time dependency of executables to liborg_blueberry_osgi.dll. Best, Sascha > Hi Sascha, > > thank you, ommitting the copy step helped. But i am rather puzzled, > because why should the app have a dependency to a delay loaded lib? Does > it use the microsoft delay load feature that uses the import lib under > Windows? In the code, i can see that the program relies on the qt > pluguin mechanism.. > > Or is this wrong for my ExtApp? > > Is there a reason for this dependency and/or a way to circumvent that > behaviour? Its the only reason in the complete build why we need the > batch files: to adjust the paths for debug and release. With the old > blueberry method, there was no dependency and we could deposit all > binaries in our /bin directory and thus work with the several project > configurations in Visual Studio seamlessly. You mentioned that the > plugin path direcotries are added during runtime, as qt does. Can't the > liborg_blueberry_osgi.dll also be found in the subdirectory? > > Regards, > Thomas ------------------------------------------------------------------------------ The demand for IT networking professionals continues to grow, and the demand for specialized networking skills is growing even more rapidly. Take a complimentary Learning@Cisco Self-Assessment and learn about Cisco certifications, training, and career opportunities. http://p.sf.net/sfu/cisco-dev2dev _______________________________________________ mitk-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mitk-users
