🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Pure Java driving ActiveX via JNI

#16112
From: Olivier TOUSSET
Date: Thu, 25 Mar 1999 00:00
19 lines
943 bytes
Hi,

I'm writing a "pure java application" but I need to use MSWord.
I have made a DLL with my functions (via JNI mechanism).
Those functions call the MSWord methods.
But I can't create an instance of MSWord.

Is it possible to start the OLE mechanism in a simple function called by
Java ?
Do I need to activate anuthing first ?

Sorry but I'm using VC++ and the MFC to do this.


Thank a lot.

TOUSSET Olivier

info@morren.com
Technical Details
Message-ID: <36FA8187.4DE3CFCD@morren.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,62a6f930435b9f40,start
X-Google-Attributes: gidf74b3,public
From: Olivier TOUSSET <info@morren.com>
Subject: Pure Java driving ActiveX via JNI
Date: 1999/03/25
Message-ID: <36FA8187.4DE3CFCD@morren.com>
X-Deja-AN: 459040815
Content-Transfer-Encoding: 7bit
Organization: Another Netscape Collabra Server User
Content-Type: text/plain; charset=us-ascii
Mime-Version: 1.0
Newsgroups: borland.public.jbuilder.java.language