Photo ID viewer under Windows NT

Keith Ray keith at nullify.org
Fri May 31 07:52:01 CEST 2002


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I just tried the new method of calling the Photo ID viewer under
Windows.  Unfortunately, unlike system(), CreateProcess() does not get
interpretted through the system shell.  This means that only actual
executables can be run in CreateProcess(), not internal commands.  In
Windows 95/98/Me, "start" is actually start.exe.  Under Windows
NT/2k/XP, "start" is integrated into the shell and CreateProcess() fails
with "No such file or directory".  

You can still use CreateProcess() under NT, but you need to call:

cmd /c start /w %i

However, since 95 uses command.com instead of cmd.exe, this would fail
for those versions.

  -- Keith

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7a-nr1 (Windows 2000) - GPGshell v2.30

iD8DBQE89wGIBxrjkHkmmhIRAgckAJ0UrGhnSBGGEDXw12DHnkTKN07sKgCgidHE
Tu6W6+BlfQo4DoWHfV+YZ5I=
=vjL8
-----END PGP SIGNATURE-----




More information about the Gnupg-devel mailing list