Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.programmer > #32330 > unrolled thread

Call JMatLink with eclipse

Started bycarmin <izawachizoukou@gmail.com>
First post2015-08-14 19:12 -0500
Last post2015-08-14 20:24 -0400
Articles 2 — 2 participants

Back to article view | Back to comp.lang.java.programmer


Contents

  Call JMatLink with eclipse carmin <izawachizoukou@gmail.com> - 2015-08-14 19:12 -0500
    Re: Call JMatLink with eclipse Arne Vajhøj <arne@vajhoej.dk> - 2015-08-14 20:24 -0400

#32330 — Call JMatLink with eclipse

Fromcarmin <izawachizoukou@gmail.com>
Date2015-08-14 19:12 -0500
SubjectCall JMatLink with eclipse
Message-ID<N-6dnRKQSNZ7HlPInZ2dnUU7-R-dnZ2d@giganews.com>
Hello,

I'm using JMatlik with a web project eclipse 
I added the JMatLink.dll to c:\windows\system32 also I changed the path with java -Djava.library.path=c:\windows\system32 and I added the folder of Jmatlink to the java build path in order to call import jmatlink.JMatLink but always I have the exception that says "Can't find dependent libraries" when I used regsvr32 JMatLink.dll on the comand window I have this message "Load Module failure of JMatLink.dll"

Thanks for your help 

--
carmin
http://compgroups.net/comp.lang.java.programmer/

[toc] | [next] | [standalone]


#32331

FromArne Vajhøj <arne@vajhoej.dk>
Date2015-08-14 20:24 -0400
Message-ID<55ce86a7$0$290$14726298@news.sunsite.dk>
In reply to#32330
On 8/14/2015 8:12 PM, carmin wrote:
> I'm using JMatlik with a web project eclipse I added the JMatLink.dll
> to c:\windows\system32 also I changed the path with java
> -Djava.library.path=c:\windows\system32 and I added the folder of
> Jmatlink to the java build path in order to call import
> jmatlink.JMatLink but always I have the exception that says "Can't
> find dependent libraries" when I used regsvr32 JMatLink.dll on the
> comand window I have this message "Load Module failure of
> JMatLink.dll"

There are tools to check dependencies of DLL files. Get one and use that.

But I am a bit confused.

JNI allows you to call Win32 DLL's using a JNI API.

RegSrv32 is for COM DLL's (which is Win32 DLL's using a COM API).

A given DLL is either for JNI or for COM (well - I guess a DLL
could do both, but I have never seen such a beast).

Arne

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.java.programmer


csiph-web