when I compile this code:
------------------begin code--------------------------
#include <stdio.h>
#include <conio.h>
#include <process.h>
void main()
{
_spawnl( _P_OVERLAY, "baldor.exe", "baldor.exe", NULL);
return 0;
}
------------------end code--------------------------
using Microsoft Visual C++ 1.0
I get these errors:
Compiling...
warning C4013: '_spawnl' undefined; assuming extern returning int
warning C4098: 'main' : 'void' function returning a value
Linking...
error L2029: '__p_overlay' : unresolved external
error L2029: '__spawnl' : unresolved external
Can anyone help?
Thanks.