Re: Wrapping a C library.
- Posted by ghaberek (admin) Jan 16, 2012
- 2056 views
Wow Greg, that took you 5 hours.
Now go away and write me an wrapper, and a complete set of dlls and a manual for Luxinia
http://www.luxinia.de/index.php/Main/HomePage
I'll give you 24 hours for this one!
Actually it only took about an hour. 90% of it was already written, I just glued it all together. With all this recent discussion on wrapping C libraries, I think I'm going to start compiling a good how-to on the subject. I'm also thinking about writing an app that will assist with the process of wrapping a large library, which would be useful for Luxinia, or even wxEuphoria.
Wow, I just came here to ask a question and see that it's already been written.
thanks a million Greg!
It works just fine.
And thanks also to Matt. I think I'll try to write the wrapper myself anyway. Now I can read Greg's code if I get stuck.
It hadn't already been written, I built it somewhere in the time between your post and Matt's post.
This is actually a good example of a very simple wrapper. Unfortunately it's not always this easy.
-Greg