| delorie.com/archives/browse.cgi | search |
| Date: | Sun, 7 Jul 2002 08:13:49 +0300 (IDT) |
| From: | Eli Zaretskii <eliz AT is DOT elta DOT co DOT il> |
| X-Sender: | eliz AT is |
| To: | =?iso-8859-1?Q?Sebasti=E1n_Tobar?= <sebatobar AT freedom DOT net DOT ar> |
| cc: | djgpp AT delorie DOT com |
| Subject: | Re: spawnv problem |
| In-Reply-To: | <001e01c2251c$7503f1e0$f5064c40@pc1> |
| Message-ID: | <Pine.SUN.3.91.1020707081211.21865C-100000@is> |
| MIME-Version: | 1.0 |
| Reply-To: | djgpp AT delorie DOT com |
| Errors-To: | nobody AT delorie DOT com |
| X-Mailing-List: | djgpp AT delorie DOT com |
| X-Unsubscribes-To: | listserv AT delorie DOT com |
On Sat, 6 Jul 2002, =?iso-8859-1?Q?Sebasti=E1n_Tobar?= wrote:
> 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
> };
This is wrong. Try this instead:
char *args[] = {
"mpxplay",
"mpxplay",
0
};
You need to mention "mpxplay" twice: once for spawnv to find the program,
the other time as argv[0] to be passed to the program.
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |