Progress
Open Client
Developer’s Guide


GUI ProxyGen

All ProxyGen startup options are in the proxygen.prm file located in the directory where you installed Progress. You can view and edit proxygen.prm with a text editor. If you edit this file, for example to modify the work directory, make sure you do not change the format of the file. All of the /d: lines must be kept together.

A copy of an installed proxygen.prm file is shown below:

-c @{JAVA\PROGRESSCP}
wjview.exe
/d:Install.Dir=@{Startup\DLC}
/d:ProxyGen.UseMidlFromC++=no
/d:Work.Dir=@{WorkPath}
/d:JavacCP=@{Java\JDKCP}
com.progress.open4gl.proxygen.gui.ProxyGen 

The registry references denoted by "@{...}" should not normally be changed. It is only appropriate that you customize the following lines in a ProxyGen Parameter file:

/d:ProxyGen.UseMidlFromC++=
/d:Work.Dir= 

A new line for a local preference file can also be added after the /d:Work.Dir= line. For example:

/d:Work.Dir= 
/d:PrefFile="c:\myfiles\proxygen.preferences" 

You can modify the parameters shown in Table 3–1.

Table 3–1: Customizing GUI ProxyGen Startup Parameters
Parameter
Description
/d:Work.Dir=path
Specifies the project work directory for ProxyGen. This is the default location for ProxyGen project files. (Defaults to the Progress work directory that you specify during installation of the Open Client Toolkit.)
/d:ProxyGen.UseMidlFromC++=yes
A yes value tells ProxyGen to use the MIDL compiler from a Visual C++ product on the system. A no value tells ProxyGen to use MIDL from Visual J++. (Defaults to no.) For more information, see Configuration and Deployment."
/d:PrefFile=filename
Specifies the file for ProxyGen generation preferences. (Defaults to Progress-Install-Directory\properties\ProxyGen.preferences.)


Copyright © 2004 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095