|Subject:||Re: [ft-devel] Freetype support C++/CLI|
|Date:||Fri, 16 May 2014 09:11:49 +0100|
|User-agent:||Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.5.0|
Some time ago I built FreeType as managed code for .NET and used it in a project that used a C++/CLI wrapper, so it is definitely possible. I had to make some internal changes, though. FreeType used the identifier 'generic', which conflicts with a keyword in C++/CLI, s I replaced it with '_generic' throughout; and (from memory - it was some years ago), I think I had to replace all uses of setjmp and longjmp with the use of error codes propagated up the call stack. And the system then worked perfectly.
I give this information merely to show that it's possible. I no longer have the code changes I made, and cannot give any support or further information. But knowing that something is possible can be encouraging.
- Graham Asher
On 16/05/2014 06:44, Werner LEMBERG wrote:
I'll use freetype support C++/CLI as .net wrapper and in C# project reference it, but not depend on native dll. (I want to get a wrapper through the freetype, and build a dll, but this operation can't depend on the native dll)Sorry, I neither use .net nor C#, so I can't help. Any takers? Werner _______________________________________________ Freetype-devel mailing list address@hidden https://lists.nongnu.org/mailman/listinfo/freetype-devel
founder and CTO
+44 (0) 7718 895191
|[Prev in Thread]||Current Thread||[Next in Thread]|