delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2002/07/06/15:08:24

Message-ID: <001e01c2251c$7503f1e0$f5064c40@pc1>
From: "=?iso-8859-1?Q?Sebasti=E1n_Tobar?=" <sebatobar AT freedom DOT net DOT ar>
To: djgpp AT delorie DOT com
Subject: spawnv problem
Date: Sat, 6 Jul 2002 15:39:23 -0300
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 5.00.2314.1300
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300
Reply-To: djgpp AT delorie DOT com

Please help me!
I write this simple program and can't make it work!
This is the problem:
The program works fine in a dos box (Win95), but from FreeDOS, OpenDOS
I get an:  Page Fault cr=2... in RMCB at eip=....
Invalid TSS in RMCB at eip=.....
If I start W95 in MS-DOS mode the program get me the same error.

Thanks.
Sorry about my english!!

void main()
{
     char *args[] = {
       "mpxplay",
       0
     };
     
     spawnv(P_WAIT, "mpxplay.exe", args);

}

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019