site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com Hello all ... return 1; } Regards, John Falling You - exploring the beauty of voice and sound http://www.fallingyou.com _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.appl... I've what is likely a very simple question, hopefully someone here can answer it. I'm developing a browser plugin using NPAPI, and so far it's working well (in Safari anyway -- still have to get it working in Firefox). Anyway, the whole point of the plugin is just to start a special app that we've developed. This app runs in its' own process. As a quick test, I made sure that it could start the app by doing quick code like this (don't laugh -- i'm new to NPAPI and just wanted to do a proof of concept): int16 NPP_HandleEvent(NPP instance, void* event) { // if we didn't start the GDM, start it now ... if ( ! bAlreadyStartedGDM ) { bAlreadyStartedGDM = true; system( "open /Users/jmzorko/work/dna_client/trunk/gne_ps_dna/ client/src/wx_GDM/wx_GDM/taskbar.app" ); } ... now this works, but the system() command is _so_ inappropriate here I think. What would be the best way to do this? On Windows, I would probably use ShellExecuteEx() ... how do I do this on OSX? Carbon, Cocoa ... either is ok (though my C++ is strong and my ObjC is weak) ... This email sent to site_archiver@lists.apple.com
participants (1)
-
John Zorko