alen@crash.cts.com (Alen Shapiro) (12/22/89)
I'm a C programmer with a little mac experience. I need a C function to sublaunch an application with a known document from my C-code. launch_and_wait(char *doc_path_name); I've read the apple tech note (sub-launch from high level lang) and have implemented same. It works, using sfgetfile to locate the application and does not wait for the application to finish before allowing the parent to continue. What I really need is a "locate an application from a given document's type, sublaunch the application, wait for completion before return" C-function. Since I imagine this has been solved hundreds of times out there in net-land any help/advice (nothing rude now) would be much appreciated. thanks in advance --alen the Lisa slayer (it's a long story) ...alen%shappy@crash.cts.com (a mac+ uupc host - what a concept)