View previous topic :: View next topic |
Author |
Message |
tsigdz
Joined: 03 Nov 2006 Posts: 1
|
Posted: Fri Nov 03, 2006 7:52 pm Post subject: PDFsharp in C++ code |
|
|
Do you have a version of PDFsharp in C++ code?
If yes, where can I get it?
If no, how can I use C# vesion in VC++?
Thank you very much. |
|
Back to top |
|
 |
Stefan Lange

Joined: 12 Oct 2006 Posts: 47 Location: Cologne, Germany
|
Posted: Fri Nov 03, 2006 10:11 pm Post subject: |
|
|
>>Do you have a version of PDFsharp in C++ code?
No, because C# is compiled to managed code and can be used from any .NET language like VB.NET or C++/CLI.
>>If no, how can I use C# vesion in VC++?
You must compile your C++ project with the /clr switch to create managed code (instead of native assembler code). The syntax of C++ code that calls managed code depends on the version of Visual C++ you use.
Visual C++ 2005 includes new syntax for writing applications to target the common language runtime. The Microsoft documentation explains in great detail what to do.
Regards
Stefan Lange |
|
Back to top |
|
 |
|