Article View: borland.public.jbuilder.java.language
Article #7621Re: jbuilder and DLL import help
From: Tor Iver Wilhelmsen
Date: Thu, 14 Jun 2001 11:11
Date: Thu, 14 Jun 2001 11:11
16 lines
1437 bytes
1437 bytes
"Guillaume" <grozan@esil.univ-mrs.fr> writes:
> /** @dll.import("activeds", ole) */
This is a directive for Microsoft's J/Direct technology which only
their tools support.
> it works fine under J++ 6.0, but not at all under jbuilder 4. My
> program compiles, but when i execute it i've got an error mesage,
> telling : "java.lang.UnsatisfiedLinkError: ADsGetObject"
Native code in a Sun VM will want to access the implementation using
JNI, not the Microsoft-specific RNI extensions that J/Direct uses. You
could try running it with jview.exe instead of java.exe, but I doubt
it would work, since the class files would have no hints to the VM
that RNI should be used instead of JNI.
Technical Details
Message-ID:
<ubsnrnwol.fsf@sds.no>Path:
arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!newsfeed.wirehub.nl!PeerFeed.KWeb.on.ca!dnewsReferences:
<3b27850d$1_1@dnews>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f74b3,550d56952e1c0ba9 X-Google-Attributes: gidf74b3,public X-Google-ArrivalTime: 2001-06-14 04:20:01 PST Sender: towi@SDSA1761 Newsgroups: borland.public.jbuilder.java.language Subject: Re: jbuilder and DLL import help References: <3b27850d$1_1@dnews> From: Tor Iver Wilhelmsen <tor.wilhelmsen@sds.no> Date: 14 Jun 2001 13:11:06 +0200 Message-ID: <ubsnrnwol.fsf@sds.no> Lines: 16 X-Newsreader: Gnus v5.5/Emacs 20.3 NNTP-Posting-Host: 139.105.4.252 X-Trace: dnews 992517067 139.105.4.252 (14 Jun 2001 04:11:07 -0700) Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!newsfeed.wirehub.nl!PeerFeed.KWeb.on.ca!dnews