Re: [sword-devel] Sword C# bindings for Windows

2014-10-08 Thread Jon Behrens
Font. On 10/7/2014 1:56 PM, Jon Behrens wrote: Hello again, There are some breaking differences between the Windows version of 'libsword' and the Linux version. When executing the same C# code I get different results depending on which OS I am running. Here is the code I'm running (the two

Re: [sword-devel] Sword C# bindings for Windows

2014-10-03 Thread David Haslam
Just added a couple of links and a category, etc. David -- View this message in context: http://sword-dev.350566.n4.nabble.com/OSIS-markup-for-gen-books-and-devotionals-tp4654106p4654206.html Sent from the SWORD Dev mailing list archive at Nabble.com. _

Re: [sword-devel] Sword C# bindings for Windows

2014-10-02 Thread Refdoc
It is a recurring query. So, please do link in all places which seem appropriate. It is a wiki after all. Someone will fix it if they think you made a mess. Peter On 2 Oct 2014 19:11, Jon Behrens wrote: > > I've set up the Wiki entry for the C# Windows Bindings tutorial here: > > http://cross

Re: [sword-devel] Sword C# bindings for Windows

2014-10-02 Thread Jon Behrens
I've set up the Wiki entry for the C# Windows Bindings tutorial here: http://crosswire.org/wiki/CSharp_Bindings_on_Windows I've not made any links to the page because I'm not sure whether it is of general interest or not. The search function should find it OK and I'll be happy to put a link t

Re: [sword-devel] Sword C# bindings for Windows

2014-09-26 Thread David Haslam
Hi Jon, I just accepted your request to join the developers' wiki. David Haslam -- View this message in context: http://sword-dev.350566.n4.nabble.com/OSIS-markup-for-gen-books-and-devotionals-tp4654106p4654202.html Sent from the SWORD Dev mailing list archive at Nabble.com.

Re: [sword-devel] Sword C# bindings for Windows

2014-09-25 Thread Jon Behrens
One other thing...The Sword module functions that work via cUrl don't function over a VPN...at least on Windows, haven't tried it on Linux. On 9/25/2014 5:32 PM, Jon Behrens wrote: Success. I've now got the C# bindings so they run without error on both Windows and Linux using the same source

Re: [sword-devel] Sword C# bindings for Windows

2014-09-25 Thread Jon Behrens
Success. I've now got the C# bindings so they run without error on both Windows and Linux using the same source code. This includes the LookupExample and all of the unit tests. The project files differ between the two OSs because of differences between MonoDevelop and VS2013, but symbolic li

Re: [sword-devel] Sword C# bindings for Windows

2014-09-23 Thread Jon Behrens
Hi Daniel It looks like moving the SWDLLEXPORT macro to the other side of the * or ** also works in Linux. The MS C++ compiler throws a syntax error for * SWDLLEXPORT but works fine for SWDLLEXPORT *. The Gnu compiler on Linux takes either one. I've not looked at the language spec to see who's

Re: [sword-devel] Sword C# bindings for Windows

2014-09-23 Thread Daniel Hughes
The changes you needed to make the c# bindings themselves need to make it back into the codebase. I'll submit a patch for CallingConvention = CallingConvention.Cdecl, this should be set on all the native method calls, not sure why it wasn't I would like to see your project files, regarding the nu

Re: [sword-devel] Sword C# bindings for Windows

2014-09-23 Thread David Haslam
Wiki editing New user account requests are now moderated. Anyone who has been a member for at least 4 days can edit a wiki once they have logged in. See foot of http://crosswire.org/wiki/Main_Page David Haslam -- View this message in context: http://sword-dev.350566.n4.nabble.com/OSIS-m

Re: [sword-devel] Sword C# bindings for Windows

2014-09-22 Thread Jon Behrens
Thank you Greg. As to icu-sword, the instructions on the wiki say to download it from site.icu-project.org. If there's a Sword specific version, perhaps the wiki could be updated to point there? Or if you can give me the URL, I'll include it in my write up. As to libcurl, I'm using VS2013 whi

Re: [sword-devel] Sword C# bindings for Windows

2014-09-22 Thread Greg Hellings
Jon, It most definitely would be wiki material. Are there any code changes you needed to make? Patch files? If so, you can submit those as well for inclusion. A few comments about the steps you're following: Changing out icu-sword for icu and the change to libcurl shouldn't be necessary. If you f