<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[האם אפשר לייצר dll ב-C# ואח"כ להשתמש בו ב-flutter]]></title><description><![CDATA[<p dir="rtl">האם אפשר לייצר dll ב-C# ואח"כ להשתמש בן ב-flutter?<br />
אשמח לכל מידע בנושא</p>
]]></description><link>https://tchumim.com/topic/16447/האם-אפשר-לייצר-dll-ב-c-ואח-כ-להשתמש-בו-ב-flutter</link><generator>RSS for Node</generator><lastBuildDate>Wed, 14 Oct 2026 07:43:35 GMT</lastBuildDate><atom:link href="https://tchumim.com/topic/16447.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 14 Jul 2024 17:48:01 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to האם אפשר לייצר dll ב-C# ואח"כ להשתמש בו ב-flutter on Mon, 15 Jul 2024 08:28:38 GMT]]></title><description><![CDATA[<p dir="rtl">כהוספה למה ש <a class="plugin-mentions-user plugin-mentions-a" href="/user/%D7%97%D7%92%D7%99" aria-label="Profile: חגי">@<bdi>חגי</bdi></a> כתב, הקוד ב - #C צריך להיראות ככה:</p>
<pre><code class="language-csharp">public static class Export
{
    [UnmanagedCallersOnly(EntryPoint = "add")]
    public static int Add(int a, int b) =&gt; a + b;
}
</code></pre>
<p dir="rtl">ובקובץ הפרוייקט להוסיף את השורה:</p>
<pre><code>&lt;PublishAot&gt;true&lt;/PublishAot&gt;
</code></pre>
]]></description><link>https://tchumim.com/post/163156</link><guid isPermaLink="true">https://tchumim.com/post/163156</guid><dc:creator><![CDATA[קומפיונט]]></dc:creator><pubDate>Mon, 15 Jul 2024 08:28:38 GMT</pubDate></item><item><title><![CDATA[Reply to האם אפשר לייצר dll ב-C# ואח"כ להשתמש בו ב-flutter on Sun, 14 Jul 2024 18:56:21 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/pcinfogmach" aria-label="Profile: pcinfogmach">@<bdi>pcinfogmach</bdi></a><br />
אתה מתכוון להשתמש בDLL עם <code>dotnet run</code> או בתור פונקציות כמו שהיית משתמש בתוכנת C#?</p>
<p dir="rtl">בחיפוש מהיר בגוגל זה נראה שיש לפלאטר גשר לפונקציות נאטיביות, אז אם אתה מצליח לקמפל את הקוד C# לDLL בתורAOT, יש מצב שזה יעבוד, אני מניח שזה ידרוש מחקר מצידך.</p>
]]></description><link>https://tchumim.com/post/163145</link><guid isPermaLink="true">https://tchumim.com/post/163145</guid><dc:creator><![CDATA[חגי]]></dc:creator><pubDate>Sun, 14 Jul 2024 18:56:21 GMT</pubDate></item></channel></rss>