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
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,
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
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
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,
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
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
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
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'
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
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
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[]
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
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,
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
15 matches
Mail list logo