Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Java API
Message
From
25/08/2000 18:05:51
 
 
To
25/08/2000 15:28:44
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Title:
Miscellaneous
Thread ID:
00409389
Message ID:
00409470
Views:
19
>I want to call Java API from VFP. Is it possible? Thanks in Advance

VFP supports a C-style DLL interface and COM; if your Java publishes either type of interface, VFP can work with it, otherwise, no, at least not simply.

You can run Jscript through the Wscript or CScript engine as external applications, or as COM components when compiled with the Script compiler and registered on the system. JScript offers run-time evaluation and execution services. A number of Java compilers offer the option of creating COM components, and some allow the creation of C-style DLLs. VFP can't directly call the Java engine AFAIK. You might want to start at http://www.microsoft.com/java/resource/vm.htm and wander around from there; I suspect that you could construct COM components or JNI/RNI services which could be used to leverage the VM from inside VFP, but I have no idea what would be involved.
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Previous
Reply
Map
View

Click here to load this message in the networking platform