A simple executable like:
#include <stdlib>
int main()
{
system( "notepad" );
}
works for me on VC++2005 and XP. If you open a command prompt as the same user you're running your C program as can you invoke notepad just by typing "notepad"?
Cheers,
Ash