How to start making a wrapper for WebKit in C#
I don't want to use WebKit .NET because it doesn't have some functionality that I need and I know WebKit has, and I don't need all the functionality that WebKit .NET has. So I want to make my own wrapper with only the functions I need, that are not m开发者_StackOverflow中文版any. But I have no idea how to get started. I've used a little bit of p/invoke and called some native Win32 functions, so that much I know. But I don't know if I should place all the WebKit Dlls in the Windows/System folder and just start invoking functions as I would invoke Win32 native functions, or if I need to register those dlls somehow.
I really don't need specific advice for the WebKit, but on general, how to get started making a wrapper for any dll that doesn't come with Windows.
Pinvoke.net is a great site with hundreds of examples of calling the win32 api. You can call any dll using DllImport to describe the function and the dll. There's a lot of work to be done for big project though, so I don't know why you wouldn't start with WebKit.NET as a base and just add the missing functionality that you need. The license is BSD so you can even integrate it into commercial products if you want...
精彩评论