зеркало из https://github.com/mono/mail-archives.git
96 строки
4.6 KiB
HTML
96 строки
4.6 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
|
|
<HTML>
|
|
<HEAD>
|
|
<TITLE> [Mono-osx] WinForms Cocoa Driver: nee help with strong name error & other issues
|
|
</TITLE>
|
|
<LINK REL="Index" HREF="index.html" >
|
|
<LINK REL="made" HREF="mailto:mono-osx%40lists.ximian.com?Subject=%5BMono-osx%5D%20WinForms%20Cocoa%20Driver%3A%20nee%20help%20with%20strong%20name%20error%20%26%0A%20other%20issues&In-Reply-To=">
|
|
<META NAME="robots" CONTENT="index,nofollow">
|
|
<META http-equiv="Content-Type" content="text/html; charset=us-ascii">
|
|
<LINK REL="Previous" HREF="004331.html">
|
|
<LINK REL="Next" HREF="004325.html">
|
|
</HEAD>
|
|
<BODY BGCOLOR="#ffffff">
|
|
<H1>[Mono-osx] WinForms Cocoa Driver: nee help with strong name error & other issues</H1>
|
|
<B>Lee V. Andrus</B>
|
|
<A HREF="mailto:mono-osx%40lists.ximian.com?Subject=%5BMono-osx%5D%20WinForms%20Cocoa%20Driver%3A%20nee%20help%20with%20strong%20name%20error%20%26%0A%20other%20issues&In-Reply-To="
|
|
TITLE="[Mono-osx] WinForms Cocoa Driver: nee help with strong name error & other issues">landrus2 at by-rite.net
|
|
</A><BR>
|
|
<I>Tue May 17 17:55:36 EDT 2011</I>
|
|
<P><UL>
|
|
<LI>Previous message: <A HREF="004331.html">[Mono-osx] Passing command line paramenters to a MonoMac app
|
|
</A></li>
|
|
<LI>Next message: <A HREF="004325.html">[Mono-osx] WinForms Cocoa Driver: nee help with strong name error & other issues
|
|
</A></li>
|
|
<LI> <B>Messages sorted by:</B>
|
|
<a href="date.html#4318">[ date ]</a>
|
|
<a href="thread.html#4318">[ thread ]</a>
|
|
<a href="subject.html#4318">[ subject ]</a>
|
|
<a href="author.html#4318">[ author ]</a>
|
|
</LI>
|
|
</UL>
|
|
<HR>
|
|
<!--beginarticle-->
|
|
<PRE>After getting very busy for several months, I am again working on my Cocoa
|
|
Driver for Mono's System.Windows.Forms. I have switched my bridge product
|
|
from MCocoa/MObjC to MonoMac. I had to paper over the lack of some methods
|
|
(surprisingly including the ubiquitous "description"). I have considered
|
|
adding these methods to MonoMac and submitting diffs, but the multi-pass
|
|
build process is confusing and I am not certain where to patch. There seems
|
|
to be an interface file and at least one class file for each class.
|
|
|
|
But my biggest problem is that the compiler insists that MonoMac have a
|
|
strong name. Can MonoMac be given a strong name? What is the best way to
|
|
get the encryption key to create a strong name? Should one copy the strong
|
|
name file from the WinForms source? Or can this requirement be set aside?
|
|
|
|
Can someone tell me how threads are implemented in Mono on the Mac?
|
|
Specifically, do they use fibers or a thread pool? Or is there a 1-to-1
|
|
correspondence between Mono threads and Mac threads? Is there a way to
|
|
determine which Mac NSThread corresponds to a Mono Thread object (not the
|
|
current or main thread) or vise versa?
|
|
|
|
Do Mac UI elements always belong to the main thread and are they unsafe to
|
|
access from other threads? I know that on MS-Windows, a controls can be
|
|
created on another thread and receives Windows messages on the thread that
|
|
created it. But everything I have seen on threading and UI on the Mac seems
|
|
to assume they are on the main thread.
|
|
|
|
Currently my Cocoa Driver (like the other drivers) is implemented within
|
|
System.Windows.Forms.dll. This raises some dependency issues with MonoMac,
|
|
especially the issue of whether MonoMac can build on non-Mac systems.
|
|
Moving the driver to a separate assembly could eliminate the dependency
|
|
issue--although probably not the strong name issue. Can anyone speak to how
|
|
advisable this would be?
|
|
|
|
--
|
|
View this message in context: <A HREF="http://mono.1490590.n4.nabble.com/WinForms-Cocoa-Driver-nee-help-with-strong-name-error-other-issues-tp3530865p3530865.html">http://mono.1490590.n4.nabble.com/WinForms-Cocoa-Driver-nee-help-with-strong-name-error-other-issues-tp3530865p3530865.html</A>
|
|
Sent from the Mono - OSX mailing list archive at Nabble.com.
|
|
</PRE>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!--endarticle-->
|
|
<HR>
|
|
<P><UL>
|
|
<!--threads-->
|
|
<LI>Previous message: <A HREF="004331.html">[Mono-osx] Passing command line paramenters to a MonoMac app
|
|
</A></li>
|
|
<LI>Next message: <A HREF="004325.html">[Mono-osx] WinForms Cocoa Driver: nee help with strong name error & other issues
|
|
</A></li>
|
|
<LI> <B>Messages sorted by:</B>
|
|
<a href="date.html#4318">[ date ]</a>
|
|
<a href="thread.html#4318">[ thread ]</a>
|
|
<a href="subject.html#4318">[ subject ]</a>
|
|
<a href="author.html#4318">[ author ]</a>
|
|
</LI>
|
|
</UL>
|
|
|
|
<hr>
|
|
<a href="http://lists.ximian.com/mailman/listinfo/mono-osx">More information about the Mono-osx
|
|
mailing list</a><br>
|
|
</body></html>
|