BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

running a PIF file for DOS application using CreateProcess

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> comp.lang.pascal.delphi.misc
View previous topic :: View next topic  
Author Message
Ran
Guest





PostPosted: Sat Feb 28, 2004 8:14 pm    Post subject: running a PIF file for DOS application using CreateProcess Reply with quote



Hello,

I am trying to find a way to use Allocconsole and open a DOS session
using the the extra parameters in a pif file like memory settings.

when I try to launch the PIF using create process I am getting an
error message

The NTVDM CPU has encountered an illegal instruction.
and get the Close Ignore buttons.

If I use CREATE_NEW_CONSOLE in the creation flags, ofcourse everything
works,
but it is open in a new window. in the allocated console window I
always get this GPF.

I can change _default.pif and just execute cmd.exe but I do not want
to be dependant on _default.pif because of multiple executions issue.
_default.pif is is hardcoded into ntvdm.exe.
How can I allocconsole, run CMD with PIF settings ? and no
_default.pif?

Help ?

Thanksfor your time,

Ran.
Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> comp.lang.pascal.delphi.misc All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.