> I don't really know C++, so there is some generalization here. Since > you are returning a retained NSString, presumably inside your function > are you are doing something like: > > return [[NSString alloc] initWithCString:stringFromCPlusPlusMethod > encoding:someEncoding]; > > To return an autoreleased string, instead use: > > return [NSString stringWithCString:stringFromCPlusPlusMethod > encoding:someEncoding]; > > Thanks!
Now to the original topic - the window is still not displayed over the others. I tried NSTitledWindowMask instead of the borderless, but it's still the same. Any ideas? Vojtech _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com