Re: AfxIsValidAddress

2015-07-18 Thread Kyle Sluder
On Tue, Jul 14, 2015, at 12:09 PM, Wim Lewis wrote: > It checks whether a given address range is mapped (or equivalent > terminology on Windows). Windows has another function that programmers > like to use, IsBadReadPtr(), that does something similar. Raymond Chen (compatibility engineer at Micros

Re: Strange behavior of view based NSTableView with NSTextView

2015-07-18 Thread Jonathan Mitchell
> On 18 Jul 2015, at 14:37, Nick wrote: > > > here. Could you suggest me what am i doing wrong? > Thanks > > > if([[tableColumn identifier] isEqualToString:@"FirstColumn"]) { > > NSTableCellView *tableCellView = [tableView makeViewWithIdentifier: > @"FirstColumnCellView" owner:tableV

Re: XPC Services & non-Sandboxed Applications

2015-07-18 Thread Quincey Morris
On Jul 18, 2015, at 07:26 , SevenBits wrote: > > 1) Apple’s docs say that non-document based apps don’t get sandboxing support > automatically handled for them, requiring the manual use of the NSFile* APIs. I’m not sure what you mean by “sandboxing” here — and in your thread title, since you’r

Re: XPC Services & non-Sandboxed Applications

2015-07-18 Thread Kevin Meaney
Hi I would watch session Cocoa Interprocess Communication with XPC from WWDC 2012. https://developer.apple.com/videos/wwdc/2012/ I certainly found it very helpful. I’ve taken quite comprehensive notes from that session see: http://blog.yvs.eu.com

XPC Services & non-Sandboxed Applications

2015-07-18 Thread SevenBits
Hey all, I’m currently in the process of re-writing one of my old apps and I have decided to do so using modern Mac technology and APIs. The target is the Mac App Store and thus my app needs to be sandboxed. My app, for everyone's sake, is not document-based. The user can open files by draggin

Strange behavior of view based NSTableView with NSTextView

2015-07-18 Thread Nick
Hello I am trying to debug a problem in NSTableView but i can't figure out what is the cause. Basically I have a View-based NSTableView (the view is NSTextView), and I would like to be able to add and remove rows to the table using buttons, and also allow the user to edit the textview that is a cel