Can someone direct me to a code sample of how to use libpurple from .NET?
Asked
Active
Viewed 1,244 times
2 Answers
3
libpurple is an unmanaged library - you'll need to either obtain a wrapper for it, or write your own. Quick Google search did not reveal any good .Net wrappers so writing your own might be your only option.
Here's a simple tutorial on writing a wrapper: Call Unmanaged Code. Part 1 - Simple DLLImport

Charlie Salts
- 13,109
- 7
- 49
- 78
-
Looks like it's non-trivial: http://www.nabble.com/Re:-Porting-libpurple-to-C--p17551207.html Somebody started a project but apparently never uploaded anything: http://code.google.com/p/libpurple-sharp/ – TrueWill Oct 07 '09 at 18:00
-
Yeah, I saw those. It's a shame too, as this would be a very useful wrapper. – Charlie Salts Oct 07 '09 at 18:09