Inheriting from native C++ in C# and passing the inherit class backward to c++
How to inherit from a native C++ class in C# and then use the class in native C++? To answer this question, what we need to do from C# is to achieve the following 3 things, Subclass/inherit C++ classes...
View Article12 New Features of xInterop C++ .NET Bridge with Native C++ to .NET Bridge
We have been busying working on lots of new features of xInterop C++ .NET Bridge for more than a year and I have not been able to find time to write technical article for too long, and I found the last...
View ArticleUsing PdfSharp, a .NET Library for Processing PDF from Native C++
PDFsharp is the Open Source .NET library that easily creates and processes PDF documents on the fly from any .NET language. The same drawing routines can be used to create PDF documents, draw on the...
View ArticleEnhanced SEHException Handling
The problem with SEHException There is indeed a problem with SEHException handling. Let’s see the definition of SEHException from the official online document. The SEHException class handles SEH errors...
View ArticleUsing PdfSharp for Processing PDF from Native C++ : Hello World Sample
The whole package of PdfSharp comes with lots of sample applications, one of them is the obligatory hello world sample which shows how to create a PDF document with one page and the text “Hello,...
View ArticleUsing PdfSharp for Processing PDF from Native C++ : Watermark Sample
The whole package of PdfSharp comes with lots of sample applications, one of them is watermark sample which shows three variations how to add a watermark to an existing PDF file. You can see the...
View ArticleCalling .NET from Native C++: How to receive C# event
There are a few other technologies we can use to call .NET from native C++ as shown in Introduction to Native C++ to .NET Bridge, such as C++/CLI, COM, Reverse P/Invoke, Unmanaged DllExport, but none...
View ArticleUltimate Guide to Call .NET Assembly from Native C/C++ Using Unmanaged Exports
I have been mentioning Unmanaged Exports in a few of my articles, which is a very basic technique allowing us to export managed methods from .NET world to native C and C++. The resulting assembly is a...
View ArticlexInterop C++ .NET Bridge 4.0 is available now
xInterop C++ .NET Bridge 4.0 is available nowWe are pleased to announce the release of xInterop C++ .NET Bridge 4.0, a Code Generator for Creating Two-Ways Bridges between C++ Native World and .NET...
View ArticleStatus Change
I had been working on xInterop C++ .NET Bridge during my spare time for 6 years before I finally gave up a few months ago due to the lack of sales. I no longer offer trial any more, the download link...
View Article