How to start AREV32 and only use 1 user license (Arev32)
At 03 OCT 2008 10:49:53AM John Bouley wrote:
If I set AREV32_STANDALONE_FORM as the entry point it still leaves OInsight.exe running with presumably an in process Oengine thereby using two users.
I am aware of REVCMD but was wondering if the workstation can auto load Oengine.exe dynamically like AREV32_STANDALONE_FORM does when the CTO record field 1 contains a ".".
Thanks,
John
At 03 OCT 2008 11:34AM Bryan Shumsky wrote:
Hi, John. The problem is that AREV32_STANDALONE_FORM is an OpenInsight form, and in order for it to run, OpenInsight must be running. So, the _inside_ portion of the form can communicate directly with an OEngine, but the _outside_ portion of the form - the "frame" in which the actual AREV32 screen is embedded - relies on having OI, and thus we have 2 "users".
But perhaps I misunderstood your question - were you asking if Revcmd (the standalone, non-OI-form that allows access to the AREV32 screen) can also run using the "."? If so, the answer is yes; when you invoke Revcmd, you can specify a number of options, one of which is the location of the EngineServer, or Engine, you wish to communicate with. When running in EngineServer mode, this would be an IP address or machine name; if, however, you wish to run in "direct" mode, then this is the file path to where your OEngine.DLL resides.
For example,
REVCMD -e 127.0.0.1
will attempt to connect to an EngineServer running on the local machine (defaulting to the default port of 8088). You could also say:
REVCMD -e c:\revsoft\oi807
and REVCMD will connect directly to that engine, without requiring an EngineServer.
Hope that helps,
- Bryan Shumsky
Revelation Software
At 03 OCT 2008 11:47AM John Bouley wrote:
Bryan,
That is exactly what I was looking for. I used -e ..\ to load the Oengine.exe in the previous folder. This worked as expected.
One more question. Is there a way to force the window to be maximized without having to maximize it each session? The "maximize" option on the shortcut did not seem to matter.
Thank you,
John
At 03 OCT 2008 12:55PM Bryan Shumsky wrote:
Hi, John. Glad that worked for you. No, right now the standalone REVCMD doesn't remember your size or location settings from one invocation to the next. I'll see if I can change that and get it in for the 9.0 release…
Thanks,
- Bryan Shumsky
Revelation Software
At 05 OCT 2008 02:40PM Warren Auyong wrote:
Neat! For the heck of it I added -a APPNAME -u USERNAME -p
and it took the parameters. APP/USERNAME must be caps. I don't know about the password as there is none on the user/app I tried.
Now if I don't have to type in "AREV32" I'd be happy :)
At 05 OCT 2008 07:51PM Bryan Shumsky wrote:
Well, then, Warren, today is your lucky day
![]()
If you add in the parameter -r AREV32, this tells REVCMD what routine to run. So, your command line would be:
revcmd -e \path\to\oengine -a APPNAME -u USERNAME -p PWD -r AREV32
As an added bonus, if you wanted to run a specific command in AREV32 (for example, WHO), then your command line would be:
revcmd -e \path\to\oengine -a APPNAME -u USERNAME -p PWD -r "AREV23 WHO"
Once you exited from the selected screen (in this case, the WHO command), REVCMD will terminate.
Hope that helps,
- Bryan Shumsky
Revelation Software
At 06 OCT 2008 08:31AM John Bouley wrote:
Bryan,
There is one caveat to this approach where you can not call an OIPI printer or any OI routines. If we need this functionality then we must invest in two licenses per user. Correct?
Too bad AREV32_STANDALONE_FORM can not use the same OEngine as Oinsight.exe…
John
At 06 OCT 2008 11:29AM Bryan Shumsky wrote:
Hi, John. Yes, that's correct, any of the "Windows enhancements" such as OIPI and OI-style popups (which rely on the CTO or AREV32 form communicating with OpenInsight) are unavailable when run direct from REVCMD (as there is no OpenInsight for it to communicate with).
Thanks,
- Bryan Shumsky
Revelation Software