Re: Saving photo of a key to a given filename

2005-03-16 Thread Johan Wevers
Thomas Zangl - Home wrote: >Does work from the command line but not from within my Delphi App. It >seems that "cmd" is not called at all Is your environment copied? Try the explicit call to C:\WINNT\cmd.exe instead of just calling cmd. -- ir. J.C.A. Wevers // Physics and science fictio

RE: Saving photo of a key to a given filename

2005-03-16 Thread Kiefer, Sascha
Well, i use a c++ program to do the same (using CreateProcess and redirecting STDIN, STDOUT, STDERR) My code is STARTUPINFO si; BOOL result; memset(&si, 0, sizeof(si)); si.cb = sizeof(si); si.dwFlags = STARTF_USESTDHANDLES | STARTF_USESHOWWINDOW; si.hStdInput = m_childstdinrd; si.hStdOutput =

Re: Saving photo of a key to a given filename

2005-03-16 Thread Sascha Kiefer
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 hi. you can use the photo-viewer option. example: - --photo-viewer \"cmd /c copy /Y \"%i\"filename.tmp\"\" will copy the picture-file to filename.tmp Have fun - --sk -BEGIN PGP SIGNATURE- Version: PGP 8.1 iQA/AwUBQjhHYAInDejiptdCEQJJ9ACguWmhoH6+