Disabling EXE paging

Dear experts.

Is there any technique in user mode to put all executable image into memory?
I read about /SWAPRUN:CD linker options, but it works only on NT platforms.
I need this feature to let some programs running from CD normally perform CD
change. Also I noticed one thing that if the same EXE exists on both CDs,
then when I insert the 2nd CD (EXE is running from the 1st CD) Win2K
displays error box with something like “Wrong volume inserted” and asks for
the right disk. How can I handle this error in user mode?

And the second problem is that Win98/Me displays warning box with “Eject
request” when I try to change CDs (for example, during installation). How
can I prevent this message box?

Maybe some of you already faced with the above problems. Any advice will be
highly appreciated. Sorry for possible off-topic.

Konstantin Manurin
Programmer
Nival Interactive
mailto:xxxxx@nival.com

10a bld. 5, 1st Volokolamsky proezd
Moscow 123060 Russia
Tel: +7 (095) 363-9630
Fax: +7 (095) 363-9631
http://www.nival.com
http://www.etherlords.com
http://www.evil-islands.com

You could always copy the exes into %temp%, and run them from there.

-Jeff

-----Original Message-----
From: Konstantin Manurin [mailto:xxxxx@nival.com]
Sent: Tuesday, October 28, 2003 6:09 AM
To: Windows System Software Devs Interest List
Subject: [ntdev] Disabling EXE paging

Dear experts.

Is there any technique in user mode to put all executable image into memory?
I read about /SWAPRUN:CD linker options, but it works only on NT platforms.
I need this feature to let some programs running from CD normally perform CD
change. Also I noticed one thing that if the same EXE exists on both CDs,
then when I insert the 2nd CD (EXE is running from the 1st CD) Win2K
displays error box with something like “Wrong volume inserted” and asks for
the right disk. How can I handle this error in user mode?

And the second problem is that Win98/Me displays warning box with “Eject
request” when I try to change CDs (for example, during installation). How
can I prevent this message box?

Maybe some of you already faced with the above problems. Any advice will be
highly appreciated. Sorry for possible off-topic.

Konstantin Manurin
Programmer
Nival Interactive
mailto:xxxxx@nival.com

10a bld. 5, 1st Volokolamsky proezd
Moscow 123060 Russia
Tel: +7 (095) 363-9630
Fax: +7 (095) 363-9631
http://www.nival.com
http://www.etherlords.com
http://www.evil-islands.com


Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256

You are currently subscribed to ntdev as: xxxxx@concord.com To
unsubscribe send a blank email to xxxxx@lists.osr.com

**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.
This footnote also confirms that this email message has been swept by
the latest virus scan software available for the presence of computer
viruses.
**********************************************************************