14. Adding Other Components to Your Application : 3GL Sample Application : How the 3GL Sample Application Works on Windows : How You Can Set Up the Run Environment
 
Share this page                  
How You Can Set Up the Run Environment
Ensure that OpenROAD can find samp3gl.dll. There are two ways to do this:
Set the environment variable II_LIBU3GL to point to the location of samp3gl.dll.
You may do this either by setting the Windows environment variable, II_LIBU3GL, or by using the ingsetenv command:
ingsetenv II_LIBU3GL %II_SYSTEM%\ingres\w4glsamp\3gl\samp3gl.dll
Whether you set the Windows environment variable or use ingsetenv, you must specify the full path if the directory where you placed the dll is not in the search path.
If you want to use a variable other than II_LIBU3GL, set that variable the same way you would set II_LIBU3GL, but remember you must run the application with the -m flag.
Ensure that samp3gl.dll is in a directory that is in your search path.
All the 3GL procedures in the test_3gl application are defined as being in samp3gl.dll. If the DLL is in the search path, OpenROAD will find it when you run the application.