[EMAIL PROTECTED] error running PDFKitViewer example

2008-09-17 Thread Duane Wandless
The document PDFKitViewer.exe could not be opened. PDFKitViewer cannot open file in the EXE File format. I receive this popup message when I run the PDFKitViewer from the samples directory. I get the same error from my own executable.The Info.plist is essentially the problem but I do not

Re: [EMAIL PROTECTED] How to listen for notifications (NSDistributedNotificationCenter) ?

2008-10-09 Thread Duane Wandless
Hopefully this will help you. Sorry for the bad formatting... trying out Opera. [ObjectiveCMessage(init)] public override Id Init() { ObjectiveCRuntime.SendMessageSuperIntPtr(this, ControllerClass, init); NSNotificationCenter.DefaultCenter.AddObserverSelectorNameObject(this,

Re: [EMAIL PROTECTED] Data binding

2008-11-21 Thread Duane Wandless
mean by PostNotification ?) - If you embed the datasource methods in the c# class, isn't that like polluting the model with View methods ? Thanks for helping me out ! Mario *From:* Duane Wandless [mailto:[EMAIL PROTECTED] *Sent:* vrijdag 21 november 2008 16:51 *To:* users

Re: [us...@lists.monobjc.net] Issues with NSObject.dealloc and NSProxy.dealloc (perhaps dealloc wrappers in general)

2008-12-23 Thread Duane Wandless
Hard to say without seeing the code. Are you using the Cocoa garbage collector? This will have odd issues unless you ensure the ref count is set correctly. I use a GC enabled Cocoa app to embed my mono library... I had lots of random crashes (impossible to trace as the crash report was

Re: [us...@lists.monobjc.net] How to use Monobjc in Visual Studio or Monodevelop

2009-09-18 Thread Duane Wandless
It has been a few months since I used MonoObjc... but back then I developed in VM using Visual Studio... just compile use intellisense, etc.. Then would run a NANT script in OSX to actually run the app. I have not tried monovs but sounds interesting. Duane On Fri, Sep 18, 2009 at 2:02 PM,

[us...@lists.monobjc.net] external reference to a class

2009-10-22 Thread Duane Wandless
Hopefully someone can help with this. I am currently doing this. id myobj = objc_getClass(MyMonoClass); [myobj testTouch]; which works. MyMonoClass is not defined so I cannot do this: [MyMonoClass testTouch]; Because the compiler tries to resolve the class reference, of course. Is

Re: [us...@lists.monobjc.net] Re: [us...@lists.monobjc.net] Feeback Wanted on Snow Leopard

2009-10-27 Thread Duane Wandless
I can confirm as well that Laurent's patch fixes the issue seen in my application. And thank you very much for making the 2.6_M patch. To get mkbundle to work I edited /Library/Frameworks/Mono.framework/Versions/2.6_M/etc/mono/config to have this line: dllmap dll=MonoPosixHelper

[us...@lists.monobjc.net] NSManagedObject

2009-11-05 Thread Duane Wandless
Has anyone used NSMangedObjects and NSManagedObjectModel with monobjc. My limited understanding of NSMangedObjects is that when I subclass from NSManagedObjects and create an entity the object model should correctly call the accessors on the subclass. But this does not happen for me. Any

[us...@lists.monobjc.net] Re: [de...@lists.monobjc.net] Snow Leopard support: call for testing

2009-11-12 Thread Duane Wandless
Initial testing of the new Monobjc DLLs on Snow Leopard did NOT work for me. I moved the /Library/Frameworks/Mono.Framework/Versions/2.6_M directory out of the way so it could not be referenced. I ran my app first and received this error: Monobjc.ObjectiveCException: The 'libmonobjc.2.dylib'

[us...@lists.monobjc.net] Re: NSURLConnection

2009-11-15 Thread Duane Wandless
by NSURLConnection. But after those 3 no selectors are called on NSURLConnectionEventDispatcher. I even tried just returning true to respondsToSelector hoping to raise an error, but that did not. Any help would be greatly appreciated. Duane On Sat, Nov 14, 2009 at 11:09 AM, Duane Wandless du

Re: [us...@lists.monobjc.net] Snow Leopard support: call for testing (Take 2)

2009-12-03 Thread Duane Wandless
A quick update. I've only tested Snow Leopard with *success*. I have not seen the thread crashing issue. Using 2.4.2.3_M and 2.0.413.0. SL 10.6.2. I'm hoping to test Leopard later today or tomorrow. The UI is native Cocoa calling into an embedded mono runtime. The C# code is multithreaded

[us...@lists.monobjc.net] thread safe SendMessage

2009-12-09 Thread Duane Wandless
Laurent, I'm guessing this is a threading issue. I ran into this call stack: Unhandled Exception: System.ArgumentException: Duplicate type name within an assembly. at System.Reflection.Emit.ModuleBuilder.DefineType (System.String name, TypeAttributes attr, System.Type parent, System.Type[]

[us...@lists.monobjc.net] Re: [MonoDevelop] [Mono-osx] Debug embedded OSX app

2009-12-14 Thread Duane Wandless
14, 2009 at 8:55 AM, ptr ptrajku...@gmail.com wrote: On Sat, Dec 12, 2009 at 11:55 AM, Duane Wandless du...@wandless.netwrote: Here is my create process code. Is this the code in question? Process browser; var psi = new ProcessStartInfo (open, /Users/me/Src/sandbox

[us...@lists.monobjc.net] Re: [MonoDevelop] [Mono-osx] Debug embedded OSX app

2009-12-17 Thread Duane Wandless
I did just follow the Moonlight addin example. I'm just glad that it basically works. Some breakpoints are not being hit but that is a topic for another day. Great work on the debugger. Duane On Thu, Dec 17, 2009 at 3:55 PM, Michael Hutchinson m.j.hutchin...@gmail.com wrote: On Thu, Dec 17,

Re: [us...@lists.monobjc.net] dll.config paths in redistributable apps

2010-02-16 Thread Duane Wandless
I embed my app so your solution will most likely be different. I call: mono_config_parse ([configFile UTF8String]); Where configFile contains the full path to my target libfoo.dylib. You can also do this: MONO_LOG_LEVEL=debug MONO_LOG_MASK=dll mono MyProgram.exe Which will give lots of debug