Re: [ft-devel] Freetype support C++/CLI

2014-05-16 Thread Graham Asher
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


[ft-devel] Freetype support C++/CLI

2014-05-15 Thread ????????~
Hello , Freetype team.First of all thank you for your work, which brings a 
great help for me. Thank you!
And I have some questions,
I need your help.
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 warpper through the 
freetype,and build a dll,but this operation can't depend on the native dll)


So, I know freetype already support C++/CLI , But i don't know how to use it.
I want know how to build the C++/CLI project step by step.


 Your reply will be very much appreciated.___
Freetype-devel mailing list
Freetype-devel@nongnu.org
https://lists.nongnu.org/mailman/listinfo/freetype-devel