Re: C# to Objective-C translator?
Re: C# to Objective-C translator?
- Subject: Re: C# to Objective-C translator?
- From: Greg Herlihy <email@hidden>
- Date: Mon, 17 Apr 2006 16:24:52 -0700
- Thread-topic: C# to Objective-C translator?
The Mono source code distribution does in fact have sample C source code (in
samples/embed) demonstrating how to call a C# binary using the Mono runtime.
And in fact the process is very much akin to using JNI to call a Java
binary.
Greg
On 4/17/06 3:36 PM, "Sherm Pendley" <email@hidden> wrote:
> On Apr 17, 2006, at 6:03 PM, BK wrote:
>
>> The reason I asked for a translator is because my company has a
>> library of C# routines, and I am attempting to write an objective-
>> C API based on these routines.
>
> Sorry, I thought you wanted to automagically transform a .NOT app
> that uses the MS GUI library (WinForms, is it?) into a Cocoa app.
> Every attempt I've seen at such things has produced very poor results
> - and Mac users are notoriously unforgiving of shoddy interfaces.
>
> Wrapping a library should be doable. I could write a Perl script that
> would create .h and skeleton .m files of your public API in a few
> hours at most. But that's just the skeleton; you'll still need to
> fill in the ObjC methods with code that would call their C#
> counterparts.
>
> Does Mono have an embedding API similar to JNI for Java? If so,
> that's what you'd need to use.
>
> sherm--
>
> Cocoa programming in Perl: http://camelbones.sourceforge.net
> Hire me! My resume: http://www.dot-app.org
>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden