dll file (please help me)

HI

I work with jbuilder9............

I writing program that use into from "Windows Tray Icon" package

for show icon in system tray of windows.

When i run program into jbuilder program right work but when that i

execute program (build .exe file) program not work!?

(I put .dll file into classpath)

(I put .dll file in current directory)

( Wonderful, i put .dll file into bin directory of jre directory

and program (.exe file) right work!!!! Why ?)

please help me

thank you...

[549 byte] By [persianshadowa] at [2007-9-30 23:41:24]
# 1

My guess is that loadLibrary() uses the operating system's path rather than the classpath. If this is correct, then the 'bin' directory is where you are launching the program. Most operating systems, by default, search the current directory before the PATH environment variable. (Yes, I know this can be changed).

- Saish

"My karma ran over your dogma." - Anon

Saisha at 2007-7-7 14:55:35 > top of Java-index,Administration Tools,Sun Connection...