Skip to main content



      Home
Home » Eclipse Projects » Rich Client Platform (RCP) » system32 and DLLs
system32 and DLLs [message #449851] Mon, 22 May 2006 23:30 Go to next message
Eclipse UserFriend
A video capture library my RCP application is using, requires two DLLs to
be put into the DLL search path (such as system32) in order to run. Is
there any way to package these DLLs in my RCP applcation so the the video
library can find them?
Re: system32 and DLLs [message #449856 is a reply to message #449851] Tue, 23 May 2006 09:00 Go to previous message
Eclipse UserFriend
Yes, just put them in the root of the plugin when it's exported. You can then call System.loadLibrary() to bring them in. You have to be careful if one is dependent on the other one to load them in the right order.

The other approach is to list them in a Bundle-NativeCode: to let the OSGi framework do that automatically on your behalf. You can then specify extra flags to say which operating system they're valid on.

Alex.
Previous Topic:Problems with the themes extension-point/ API
Next Topic:Problem in PreferenceDialog
Goto Forum:
  


Current Time: Fri Aug 29 19:00:31 EDT 2025

Powered by FUDForum. Page generated in 0.03085 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top