Passing command line arguments to a carbon app

Lothar Scholz llothar at web.de
Mon Apr 16 23:43:33 PDT 2007


Hello MacOSX-Dev,

I'm starting porting the GUI of an app now and wonder if there is a
way to pass arguments to main. I tried it with "open my.app test1"
but the system tells me that "test1" is not a file (it is the name of
a test case) and if i pass a file i get something that is
-psn_0_14548993.

Any workaround available ?


-- 
Best regards,
 Lothar                          mailto:llothar at web.de



More information about the MacOSX-dev mailing list