Reputation: 508
I tried using this example to create a wrapper for the webkit library. But, when I try to use the method, in c#, from the compiled c++ dll, I get an "method inaccessible due to it's protection level" error.
The method I'm trying to get to is
CG_EXTERN CGColorSpaceRef CGColorSpaceCreateDeviceRGB(void) CG_AVAILABLE_STARTING(__MAC_10_0, __IPHONE_2_0);
as defined in the lib's header.
Upvotes: 0
Views: 864
Reputation: 4887
There is a project called WebKit.NET: http://webkitdotnet.sourceforge.net/ Why not use it instead of reinventing the wheel?
Upvotes: 1