<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to Home</title><link>https://sourceforge.net/p/swig/wiki/Home/</link><description>Recent changes to Home</description><atom:link href="https://sourceforge.net/p/swig/wiki/Home/feed" rel="self"/><language>en</language><lastBuildDate>Fri, 07 Jul 2017 06:34:26 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/swig/wiki/Home/feed" rel="self" type="application/rss+xml"/><item><title>Discussion for Home page</title><link>https://sourceforge.net/p/swig/wiki/Home/?limit=250#289b</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;I have a old C\C++ unmanaged dll. we need to call it from C#. So, trying to generate files through SWIG so the I can call it from C# project - &lt;/p&gt;
&lt;p&gt;we have 7 headers, 9 .CPP files in c++ Code Base and it is in module structure, functions are directly written in the .CPP files no class is present , they are like -&lt;/p&gt;
&lt;p&gt;RESOURCE.H - Version Info for the DLL&lt;br/&gt;
XTYPE.H - This file contains all type definitions including structs used in the X dll&lt;br/&gt;
XMSG.H - This file contains the message constants&lt;br/&gt;
XCONS.H - This file contains all constant definitions used in the X project&lt;br/&gt;
CX.H - This file contains the function declarations for all functions using C structures which are exported from X.DLL&lt;br/&gt;
SX.H - This file contains the function declarations for all functions exported from X.DLL for use with SQLWindows applications.These functions use a list of variables as arguments.&lt;br/&gt;
XGLOB.H - This file contains the global variable declarations used by X. Also all the function signature present in all the respective header/source file.&lt;/p&gt;
&lt;p&gt;I am using below .i file - &lt;/p&gt;
&lt;p&gt;%module(directors="1") X&lt;/p&gt;
&lt;p&gt;%{&lt;br/&gt;
    #include "RESOURCE.H"&lt;br/&gt;
    #include "XTYPE.H"&lt;br/&gt;
    #include "XMSG.H"&lt;br/&gt;
    #include "XCONS.H"&lt;br/&gt;
    #include "CX.H"&lt;br/&gt;
    #include "SX.H"&lt;br/&gt;
    #include "XGLOB.H" &lt;br/&gt;
%}&lt;/p&gt;
&lt;p&gt;%include &amp;lt;windows.i&amp;gt;&lt;br/&gt;
%feature("director");&lt;br/&gt;
%include "RESOURCE.H"&lt;br/&gt;
%include "XYPE.H"&lt;br/&gt;
%include "XMSG.H"&lt;br/&gt;
%include "XCONS.H"&lt;br/&gt;
%include "CX.H" -&amp;gt; this header includes SX.H,XGLOB.H&lt;br/&gt;
%include "SX.H" -&amp;gt; this header includes XYPE.H&lt;br/&gt;
%include "XGLOB.H" -&amp;gt; this header includes RESOURCE.H,XTYPE.H,XMSG.H,XCONS.H&lt;/p&gt;
&lt;p&gt;there are functions where I am facing error while compiling the .i file through SWIG to generate files using Visual Studio 2015 - &lt;/p&gt;
&lt;p&gt;few of them are like - &lt;/p&gt;
&lt;p&gt;LONG CALLBACK XWndProc(HWND hWnd, UINT messg, WPARAM wParam, LPARAM lParam);    - throwing "Syntax error - possibly a missing semicolon." error&lt;br/&gt;
BOOLEAN __declspec(dllexport) WINAPI XGetCardPosition(GETCARDPOSITIONPARAM FAR * CardCoordinates); - throwing  "Syntax error in input(1)." error&lt;/p&gt;
&lt;p&gt;Please let me know, what should be my .i file so that these errors could be removed and can proceed with generating correct files to call from C# project. &lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">prabhat Ghosh</dc:creator><pubDate>Fri, 07 Jul 2017 06:34:26 -0000</pubDate><guid>https://sourceforge.net9f332d576dce451fd4e2cb0a8b1a5064ef07b9ee</guid></item><item><title>Discussion for Home page</title><link>https://sourceforge.net/p/swig/wiki/Home/?limit=25#974b</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;julia?&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">zhuzhenping</dc:creator><pubDate>Sun, 21 May 2017 08:21:26 -0000</pubDate><guid>https://sourceforge.net00936b7a4848275b69019076351112e27491a292</guid></item><item><title>WikiPage Home modified by William Fulton</title><link>https://sourceforge.net/p/swig/wiki/Home/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Welcome to your wiki!&lt;/p&gt;
&lt;p&gt;This is the default page, edit it as you see fit. To add a new page simply reference it within brackets, e.g.: &lt;a class="alink" href="../SamplePage"&gt;[SamplePage]&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;The wiki uses &lt;a class="" href="/p/swig/wiki/markdown_syntax/"&gt;Markdown&lt;/a&gt; syntax.&lt;/p&gt;
&lt;p&gt;&lt;a href="/u/beazley/"&gt;David M. Beazley&lt;/a&gt;&lt;br /&gt;&lt;a href="/u/wsfulton/"&gt;William Fulton&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;
&lt;span class="download-button-50d41c0fe88f3d22b56f5e70" style="margin-bottom: 1em; display: block;"&gt;&lt;/span&gt;&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">William Fulton</dc:creator><pubDate>Fri, 21 Dec 2012 08:22:18 -0000</pubDate><guid>https://sourceforge.neta4f8a4c5557e1a1a0665dacc83bb453a2eda8754</guid></item></channel></rss>