🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.language
Article #17579

Native methods

#17579
From: Eyal Hirsch
Date: Wed, 21 Oct 1998 00:00
15 lines
937 bytes
Hi All,
  Can someone post a code snippet exaplaining how to use methods declared in
dlls
    ( under windows platform ) using JBuilder. As far as I've found one
should declare a
    native procedure and load the dll using System.loadLibrary at startup.
Is it true ?
  How do I specify the types these functions expects - how to write the
prototype of a
   native procedure that maps into a procedure in a dll which awaits, for
example, a
   pChar variable, what about pointer and other types ??

TIA,
  Eyal.
Technical Details
Message-ID: <70l2rm$icp1@forums.borland.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f74b3,f87fa0152d0c0d0b,start
X-Google-Attributes: gidf74b3,public
From: "Eyal Hirsch" <eyalhir@netvision.net.il>
Subject: Native methods
Date: 1998/10/21
Message-ID: <70l2rm$icp1@forums.borland.com>
X-Deja-AN: 403604358
Organization: NONE
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.2106.4
Newsgroups: borland.public.jbuilder.java.language