Passing startup parameters to session using proxygen class

Drammy

Member
Hi all,

I have a proxy-genned class that uses the RANDOM() function. I would like to ensure the RANDOM() function returns different values on each execution and understand I would normally use a startup parameter RAND -2.

Is it possible to pass this when instantiating the AppServer object (in .net) on the Open4GL proxy connection? I only want this setting for the duration of eecuting the proxy-genned class, so don't want to add it to the App Server's settings on the OE box...

Any ideas or examples appreciated...?


Thanks,
Drammy
 
The -rand 2 option is a startup parameter for the whole session. You cannot change it from call to call.

IMHO it should be the default. I'd have no qualms about changing the settings.
 
Thanks Tom.I agree it should be default.

There's a lot of hoops I'll have to jump through to change the start up parameters of the app server.

Do you know if one of the properties on the proxy connection object allows me to set this value for the life of the session? It sure would be useful and I would expect to be able to do so...
 
Better start practicing your hoop jumping skills ;)

So far as I know the only way to set it is at session startup via a command line option or in the properties file.
 
Back
Top