Sign up on the Revelation Software website to have access to the most current content, and to be able to ask questions and get answers from the Revelation community

At 23 SEP 2002 08:01:21PM Warren wrote:

After fiddling around with the problem of giving EMS to ARev under Citrix Metaframe published application I've come up with a kludge solution.

The hint to this was the following [u][size=2]Microsoft knowledge base article Q99279[/size][/u]

The problem being is the whatever the first program to run in a "DOS" session on WinNT/2000 sets the memory allocation for that session. Thus if you run lhipxtsr first, EMS will not be available for that session.

To get around this in the batch file I first run AREV.EXE to a username that does not require a password and with the /XM4096 switch. It bombs because lhipxtsr is not loaded (Caveat: Make sure serveronly=1 is set in REVPARAM or you could be in a world of grief). I then load lhipxtsr /p, execute arev /xm4096 and all is well.

As of the moment I can't think of a readily available program that requires EMS that could be used instead of AREV.EXE to initialize EMS. Perhaps the good people at Sprezzatura could come up with a tiny program that does the trick or Revelation could modify the lhipxtsr with a /x switch that would accomplish the same thing.


At 24 SEP 2002 03:03AM [url=http://www.sprezzatura.com]The Sprezzatura Group[/url] wrote:

pkzip.exe has an option to use expanded memory. You could run a one-file archive ahead of your AREV session.

There is quite a bit of code (over 800 lines of assembler) to do what you require.

The Sprezzatura Group

World Leaders in all things RevSoft


At 24 SEP 2002 09:20AM Warren wrote:

Ok thanks for the suggestion. I'm sure just about every ARev site has PKZIP.

The following:

PKZIP null.zip -V ] nul

works fine. The -V switch is to view the list of files in the zip archive. If the file doesn't exist then it just complains but does not wait for input. Redirecting to the nul device suppresses output to the screen.

PKZIP/PKUNZIP uses EMS by default.


At 24 SEP 2002 10:21AM Warren wrote:

Oops, take it back. Pkzip is not recognizing EMS even when the pkzip.cfg file has EMS=ON.

Back to square one. I'll just create a non-passworded account/user that has "OFF" as the startup command.


At 24 SEP 2002 10:28AM [url=http://www.sprezzatura.com]The Sprezzatura Group[/url] wrote:

We'll test some options with our Citrix site here in Australia tomorrow and report back.

The Sprezzatura Group

World Leaders in all things RevSoft


At 24 SEP 2002 10:51AM Tony Marler@Prosolve Software (UK) wrote:

Warren

You don't need any kludge with pkzip etc. Just create a PIF for LHIPXTSR and then set the memory on that to have EMS. Then ensure that the published app calls the batch file and LHIPXTSR loads as the first line.

Works for us on Citrix 1.8 , Citrix XP and plain old W2K TS alone.

Tony


At 24 SEP 2002 12:53PM Warren wrote:

I was thinking that might work on the drive out to this client site. I'll give it a shot. Thanks.


At 24 SEP 2002 01:00PM Warren wrote:

That did the trick. Thanks!

View this thread on the forum...

  • third_party_content/community/commentary/forums_nonworks/3a15067a84095cc885256c3e00002002.txt
  • Last modified: 2023/12/28 07:40
  • by 127.0.0.1