slloyd has asked for the wisdom of the Perl Monks concerning the following question:

Has anyone had any success launching 16 bit apps with the Win32::API CreateProcess call?

For some reason, I keep getting NTVDM errors. I have tried setting the Separate_Wow_VDM flag but it did not seem to make a difference.

thanks

Replies are listed 'Best First'.
Re: Launching 16 bit apps with Win32::API
by Corion (Patriarch) on Mar 09, 2004 at 20:29 UTC

    I have no such problem, so I think that the problem is more with your 16-bit program. Maybe you could try setting up a .pif file and start that?

    Microsoft Windows 2000 [Version 5.00.2195] (C) Copyright 1985-2000 Microsoft Corp. C:\WINNT\system32>start command C:\WINNT\system32>perl -e "system 'command'" Microsoft(R) Windows DOS (C)Copyright Microsoft Corp 1990-1999. C:\WINNT\SYSTEM32>exit C:\WINNT\system32>