Selecting the Runtime Environment

Using the CEWindowsAPI, you can still choose which Component Enabler runtime environment you want to use, those being the .NET Framework runtime environment, or the Java runtime environment, with a particular JVM.

This is controlled by the constructor used to create the LINCEnvironment object.

Choose one constructor from the following.

If you want to use the .NET Framework runtime environment, then your constructor line is:

Set mobjLinc = New CEWindowsAPI.LINCEnvironmentDotNET 

or

Set mobjLinc = New CEWindowsAPI.LINCEnvironment() 

If you want to use the Java runtime environment, then you need to further decide which JVM you have installed, and want to use.

For the JVM, use:

Set mobjLinc = New CEWindowsAPI.LINCEnvironmentJavaSUN 

For the Jintegra JVM, use:

Set mobjLinc = New CEWindowsAPI.LINCEnvironmentJavaJIntegra