I would want to integrate a scanner interface to my MAC application, but as I am a noob with cocoa stuff, I looked on internet for an example. I found an application that nealy does what I want, but it's a xcode project implemented in objective-c and written as a standalone application (https://github.com/darcyliu/CocoaSample ... nerBrowser).
Now, I would want to integrate this code in my application, but not as a separate app, but directly within a wxDialog. But I am a bit confused on how to perform this. I first checked the main entry of the program, hoping to be able to call the same code from a wxDialog, but here is the content of this main function :
Code: Select all
int main(int argc, char *argv[])
{
return NSApplicationMain(argc, (const char **) argv);
}
Any idea on how to perform that ?
Regards,
Brice