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
Freetype-devel@nongnu.org
https://lists.nongnu.org/mailman/listinfo/freetype-devel
--
Graham Asher
founder and CTO
CartoType Ltd
graham.as...@cartotype.com
+44 (0) 7718 895191
_______________________________________________
Freetype-devel mailing list
Freetype-devel@nongnu.org
https://lists.nongnu.org/mailman/listinfo/freetype-devel