From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,d64f05c7c9260fb5 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-08-20 04:32:31 PST Path: archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!news.tele.dk!small.news.tele.dk!212.74.64.35!colt.net!newspeer.highwayone.net!newsfeed1.telenordia.se!algonet!uab.ericsson.se!erix.ericsson.se!newstoo.ericsson.se!not-for-mail From: Mattias Sjosvard Newsgroups: comp.lang.ada Subject: Re: Ada creating JVM in NT vs. in Linux Date: Mon, 20 Aug 2001 13:31:37 +0200 Organization: =?iso-8859-1?Q?Syr=E9n?= Software Systems AB Message-ID: <3B80F519.A8839253@syrensoftware.se> References: <86772402.0108190333.1c81edc7@posting.google.com> NNTP-Posting-Host: findus1.aom.ericsson.se Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Mailer: Mozilla 4.73 [en] (X11; I; SunOS 5.7 sun4m) X-Accept-Language: en Xref: archiver1.google.com comp.lang.ada:12116 Date: 2001-08-20T13:31:37+02:00 List-Id: Shooting from the hip and judging your naming conventions, it doesn't look as if you pass the last argument as an access type (it should be an 'access JDK1_1InitArgs'). This may or may not work depending on what the interfacing pragma says and how the local C compiler handles the passing of structures (I don't have the RM at my side now). Hope this helps /Seasword Lin wrote: > > function My_JNI_CreateJavaVM ( > jvm : in access_JavaVM; > jenv : in access_JNIEnv; > VMInitArgs : in JDK1_1InitArgs) return jint; > pragma Import (C, My_JNI_CreateJavaVM);