tags:

views:

18

answers:

0

Hello,

Having NSObjectFileImage object, is it possible to execute bundled application? I'm trying to load a application bundle from the memory. Using NSCreateObjectFileImageFromMemory on simple GUI application, I loaded the bundle from the memory, and then tried to NSLinkModule. Then, did the NSLookupSymbolInModule on _main function and called it. I see the main window application, but no menu and can't get the focus on it. Whatever I type in gets into first application window. I hope I'm not doing a nonsense here :) Please instruct me if there is a any other way to execute the application from the memory. I followed the sample from the following resource: http://developer.apple.com/mac/library/samplecode/MemoryBasedBundle/

regards, zoltan.