>>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.
I'm really really new at this, what parameters are missing? I assume they go where the empty quotes are, but I really don't know what information I am supposed to provide.
"declare the strings as passed by reference" -- Don't understand. Passing by reference is done with the @ symbol, yes?
--Todd Sherman
-Wake Up! Smell the Coffee!