Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

_spawnl on Win98 vs NT

Status
Not open for further replies.

lewisp

Programmer
Aug 5, 2001
1,238
GB
I have created a small exe to enable me to execute programs in sequence on either Win98 or NT boxes. I have used the _spawnl(_P_WAIT,....) command and this works fine in Win98. However, when I run the same program on NT I get access violation (0xc0000005), Address 0x0040210c.

I compile the code on a Win98 box. Do I need to set 'NT Compatability' or somesuch to allow the code to work on NT?

I'm new to VC++ so treat me gentle! ;)
 
Can anyone help please? I'm beginning to get a bit desperate!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top