Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Java API
Message
De
25/08/2000 18:05:51
 
 
À
25/08/2000 15:28:44
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Titre:
Divers
Thread ID:
00409389
Message ID:
00409470
Vues:
20
>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform