зеркало из https://github.com/mono/mail-archives.git
76 строки
3.4 KiB
HTML
76 строки
3.4 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
|
|
<HTML>
|
|
<HEAD>
|
|
<TITLE> [Gtk-sharp-list] Strange Tree Model behavior (Multi-Threading)
|
|
</TITLE>
|
|
<LINK REL="Index" HREF="index.html" >
|
|
<LINK REL="made" HREF="mailto:gtk-sharp-list%40lists.ximian.com?Subject=%5BGtk-sharp-list%5D%20Strange%20Tree%20Model%20behavior%20%28Multi-Threading%29&In-Reply-To=OF87B7842C.46128A59-ON862572FA.004EDED8-862572FA.004F0D27%40mck.us.ray.com">
|
|
<META NAME="robots" CONTENT="index,nofollow">
|
|
<META http-equiv="Content-Type" content="text/html; charset=us-ascii">
|
|
<LINK REL="Previous" HREF="008101.html">
|
|
<LINK REL="Next" HREF="008096.html">
|
|
</HEAD>
|
|
<BODY BGCOLOR="#ffffff">
|
|
<H1>[Gtk-sharp-list] Strange Tree Model behavior (Multi-Threading)</H1>
|
|
<B>Jonathan Pryor</B>
|
|
<A HREF="mailto:gtk-sharp-list%40lists.ximian.com?Subject=%5BGtk-sharp-list%5D%20Strange%20Tree%20Model%20behavior%20%28Multi-Threading%29&In-Reply-To=OF87B7842C.46128A59-ON862572FA.004EDED8-862572FA.004F0D27%40mck.us.ray.com"
|
|
TITLE="[Gtk-sharp-list] Strange Tree Model behavior (Multi-Threading)">jonpryor at vt.edu
|
|
</A><BR>
|
|
<I>Fri Jun 15 06:46:29 EDT 2007</I>
|
|
<P><UL>
|
|
<LI>Previous message: <A HREF="008101.html">[Gtk-sharp-list] Strange Tree Model behavior (Multi-Threading)
|
|
</A></li>
|
|
<LI>Next message: <A HREF="008096.html">[Gtk-sharp-list] Problem with ScrolledWindow and default size
|
|
</A></li>
|
|
<LI> <B>Messages sorted by:</B>
|
|
<a href="date.html#8103">[ date ]</a>
|
|
<a href="thread.html#8103">[ thread ]</a>
|
|
<a href="subject.html#8103">[ subject ]</a>
|
|
<a href="author.html#8103">[ author ]</a>
|
|
</LI>
|
|
</UL>
|
|
<HR>
|
|
<!--beginarticle-->
|
|
<PRE>On Thu, 2007-06-14 at 09:23 -0500, Michael Fasolino wrote:
|
|
><i> .... In my code one of the first things that I did on the newly
|
|
</I>><i> spawned thread was to make some calls into the unmanaged environment.
|
|
</I>><i> The parameter lists of one of my dllExport/dllImport pairs were not
|
|
</I>><i> matching. For some reason the compiler did not catch this
|
|
</I>
|
|
The compiler CANNOT catch this. There are two different compilers in
|
|
use, the C compiler and the C# compiler, and they don't talk to each
|
|
other. :-)
|
|
|
|
You can work around this issue somewhat. Mono.Unix "solves" this
|
|
problem by using the create-native-map program (in the mono-tools svn
|
|
module), which reads the C# .dll file and generates a C header file for
|
|
all structs and [DllImport]-attributed methods to ensure some level of
|
|
consistency between what the C# code is calling and what the C code is
|
|
implementing. However, this does require some extra effort.
|
|
|
|
- Jon
|
|
|
|
|
|
</PRE>
|
|
|
|
<!--endarticle-->
|
|
<HR>
|
|
<P><UL>
|
|
<!--threads-->
|
|
<LI>Previous message: <A HREF="008101.html">[Gtk-sharp-list] Strange Tree Model behavior (Multi-Threading)
|
|
</A></li>
|
|
<LI>Next message: <A HREF="008096.html">[Gtk-sharp-list] Problem with ScrolledWindow and default size
|
|
</A></li>
|
|
<LI> <B>Messages sorted by:</B>
|
|
<a href="date.html#8103">[ date ]</a>
|
|
<a href="thread.html#8103">[ thread ]</a>
|
|
<a href="subject.html#8103">[ subject ]</a>
|
|
<a href="author.html#8103">[ author ]</a>
|
|
</LI>
|
|
</UL>
|
|
|
|
<hr>
|
|
<a href="http://lists.ximian.com/mailman/listinfo/gtk-sharp-list">More information about the Gtk-sharp-list
|
|
mailing list</a><br>
|
|
</body></html>
|