Thanks, >From what I can tell, the "only" way to create the bindings in C# is to make a c++ managed code wrapper that will call the unmanaged libsword.dll. That is basically doing all the heavy lifting that swig was doing for you, except that I could never get swig to compile. I don't want to do that, otherwise I just as well try and get swig to work.
I am all in favor of trying what I haven't tried, or step aside to someone who knows what they are doing in creating the bindings. My experience is in C# and vb.net. My dilemma is that I want to use the SWORD Library and cannot in my language that I am comfortable writing in. I can read C++, and I have made modifications in C++ programs, but I am outside my comfort zone. I am willing to write the native C# library, and not scared off with compression, block size, or encryption. That is right up my alley. I just need to understand the structure of the ztext module so I can return the raw text. From there we can add the different filters that convert it to the different formats that make sense. I don't mind using bindings to the libsword.dll, but I have not been able to get swig to work. Someone who knows what they are doing needs to do that. Thanks, Wade -----Original Message----- From: Wolfgang Schultz [mailto:woschu...@googlemail.com] Sent: Wednesday, May 19, 2010 2:10 PM To: SWORD Developers' Collaboration Forum Subject: Re: [sword-devel] ztext file format... 2010/5/19 Wade Balzer <wbal...@newjerusalem.org>: [[..] > Anyway, if you or someone can write a sample c# program that calls the > libsword.dll to display Jn.3.16, I will be greatly helped. > > I agree that we don't need to provide every single implementation of every > method, but currently we have nothing that works in the .Net world. ----[...] Hello Wade, this link may help... http://codeguru.earthweb.com/cpp/cpp/cpp_managed/interop/article.php/c6867/ wolfgang http://bibleworkplace.sourceforge.net/ubapidoc/ _______________________________________________ sword-devel mailing list: sword-devel@crosswire.org http://www.crosswire.org/mailman/listinfo/sword-devel Instructions to unsubscribe/change your settings at above page _______________________________________________ sword-devel mailing list: sword-devel@crosswire.org http://www.crosswire.org/mailman/listinfo/sword-devel Instructions to unsubscribe/change your settings at above page