>>
>>My Run_with program (available in the download section under Win32 and Other APIs) has the ShellExecute declaration in it. Additionally, this function is in the FFC. The only thing different you have to do is specify "print" rather than "open". If you pass 0 as the show command, the window will be hidden during the print process. When print is specified, the application automatically closes.
>
>Cool! Thanks George!
>
>I'm doing it like below, but I still see the imaging window flash by. Am I missing a 0 in all the right places? :-)
>
>* main.prg
>DECLARE INTEGER ShellExecute IN "Shell32.dll" INTEGER, STRING, STRING, STRING, STRING, INTEGER
>
>* subroutine.prg
>=ShellExecute(0,"print",front_filename,"","",0)
I don't think so, Todd. Of course, I declare the string as being passed by reference, and I do pass all parameters. Try that and see if that helps.
George
Ubi caritas et amor, deus ibi est