Skip to main content



      Home
Home » Eclipse Projects » Eclipse Platform » How to distribute native DLLs with my pligin.
How to distribute native DLLs with my pligin. [message #147353] Tue, 21 October 2003 13:13 Go to next message
Eclipse UserFriend
Originally posted by: Gyorgy.Balogh.vanderbilt.edu

I have a plugin and I have some native DLLs which are needed to run the
plugin. Where shoud I put them. How to load them if thay at not in the path.
Thanks
Gyorgy
Re: How to distribute native DLLs with my pligin. [message #147695 is a reply to message #147353] Wed, 22 October 2003 09:36 Go to previous messageGo to next message
Eclipse UserFriend
See the following post on 10/7:
http://dev.eclipse.org/newslists/news.eclipse.platform/msg07 643.html
(I am about to try to do the same thing. I currently have the DLL in my PATH
for win32,
but if I update the version info of the plug-in, then the PATH must change
because the directory
name of the plug-in changes to include the new version info, so I would
really like to make this
work, and not even require PATH setting in the first place.)

"Gyorgy Balogh" <Gyorgy.Balogh@vanderbilt.edu> wrote in message
news:bn3lik$v9o$1@eclipse.org...
> I have a plugin and I have some native DLLs which are needed to run the
> plugin. Where shoud I put them. How to load them if thay at not in the
path.
> Thanks
> Gyorgy
>
>
Re: How to distribute native DLLs with my pligin. [message #148721 is a reply to message #147353] Thu, 23 October 2003 15:43 Go to previous messageGo to next message
Eclipse UserFriend
Well I have successfully run my plug-in on win32, using a DLL, by putting
the DLL
in a directory: os/win32 under my plugin project root directory.
From the runtime-workspace all works well. (The DLL is no longer in my
PATH)

But when I build to deploy (ant build + export zip) and unzip in my
test-deployed-version
of eclipse, it doesn't seem to find the DLL. Yes the os/win32 directory +
DLL gets
built in the zip via bin.includes specified in the build.properties.

Does something different tell eclipse-on-win32 to use os/win32 dir in its
PATH
in a runtime-workspace as opposed to a deployed version of my plugin?

Beth Tibbitts
Re: How to distribute native DLLs with my pligin. [message #148735 is a reply to message #148721] Thu, 23 October 2003 16:00 Go to previous message
Eclipse UserFriend
Never mind, it was a logic problem - I'm no longer using env. vars
to find things but the logic was still looking for them... and exiting if
not found.
My DLL is loaded from deployed plugin as well as runtime plugin
by placing in os/win32!!
....Beth

"Beth Tibbitts" <tibbitts@us.ibm.com> wrote in message
news:bn9b01$3bh$1@eclipse.org...
> Well I have successfully run my plug-in on win32, using a DLL, by putting
> the DLL
> in a directory: os/win32 under my plugin project root directory.
> From the runtime-workspace all works well. (The DLL is no longer in my
> PATH)
>
> But when I build to deploy (ant build + export zip) and unzip in my
> test-deployed-version
> of eclipse, it doesn't seem to find the DLL. Yes the os/win32 directory +
> DLL gets
> built in the zip via bin.includes specified in the build.properties.
>
> Does something different tell eclipse-on-win32 to use os/win32 dir in its
> PATH
> in a runtime-workspace as opposed to a deployed version of my plugin?
>
> Beth Tibbitts
>
>
Previous Topic:Newbie Question: Cant find .classpath files
Next Topic:PDE: Preferences: default values not available
Goto Forum:
  


Current Time: Sat Jul 19 10:10:40 EDT 2025

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

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

Back to the top