Hello All, In my cocoa application i am having two targets, each with associated classes and Nibs. I have a single main() for now. I want to run my one target from another target's code. i think i need two separate main() function for eg: App1Main() and main() for both the targets. but how can i call one App1main() function from main(). I guess i need to call NSApplicationMain but how ?? what arguments?? Please help. Thanks, Ruhi.