Introduction to C# PInvoke Interop SDK for C++ DLL
A C# .NET Managed Wrapper Generator for Wrapping Native C++ DLL Automatically – A tool capable of creating C# .NET managed wrappers for native C++ DLLs instantly We are so excited to announce...
View ArticleA C# .NET Wrapper Library for Standard C++ Classes
In order for our C# wrapper generator for C++ DLL to automatically generate C# source code for C++ DLL, we would have to have a C# wrapper library for the standard C++ run-time library first. Since we...
View ArticleCreating and Accessing Instantiated std::vector Template Class from .NET
C++ Vectors are sequence containers representing arrays of certain data type, which can change in size. It is widely used by lots of C++ application, if we did not include in our C# wrapper library for...
View ArticleMarshaling C++ string, a std::string or std::wstring in C#
Marshaling C++ std::string in C# is possible and doable and it is done Marshaling C++ std::string in C# is difficult, developers asked questions for help on the web everywhere for many years since .NET...
View ArticleC# vs C++/CLI vs PInvoke Performance – Part I
C++/CLI vs Explicit PInvoke Performance – Part I When I have a C++ DLL with a bunch of C++ classes and I would want to pinvoke those C++ classes from C#, I have two choices, either using C++/CLI to...
View ArticleC# vs C++/CLI vs PInvoke Performance – Part II
C++/CLI vs Explicit PInvoke Performance – Part II Today, I am going to continue the comparison of C++/CLI vs Explict PInvoke performance. It is the second part of the blog, you may want to read the...
View ArticleC# vs C++/CLI vs PInvoke Performance – Part III
I have demonstrated that C++/CLI vs P/Invoke Performance difference in Part I by using all different wrappers to pinvoke C++ method of sqrt of a native C++ DLL. Since I already included C# version of...
View ArticleNGenerator, A C# .NET Wrapper Generator for Native C++ DLL
Here are some screen shots of NGenerator, A C# .NET Wrapper Generator for Native C++ DLL. It is quite simple to use NGenerator which takes care of everything of generating a C# .NET wrapper for native...
View ArticleAnyOption Class, An Example of C# Wrapper Class of Native C++ Class
I have been blogging about the great amazing features of C# .NET PInvoke Interop SDK Tool, I have also shown the power of the C# .NET Library for the Standard C++ Library. It is time for me to present...
View ArticleDo you always marshal const char * to string in C# when calling native C++...
Do you always marshal “const char *” to string in C# when calling native C++ class method from C# ? Most of time, yes, we would simply marshal “const char *” to string in C#/.NET and it just works. but...
View ArticleGenerating SFML C# .NET Wrapper Libraries in 10 minutes – Part I
Introduction “SFML (Simple and Fast Multimedia Library) is a portable and easy-to-use API for multimedia programming. It is an object oriented alternative for the SDL. SFML provides 2D graphics that...
View ArticleWrapping the native C++ class with multiple inheritance in C#
Generating C# wrapper class for the native C++ class with multiple inheritance xInterop NGen++ fully supports wrapping the native C++ class with multiple inheritance by using C# .NET Explicit P/Invoke....
View ArticleHow is nested class in native C++ handled by xInterop NGen++ ?
How is inner class in C++ wrapped in C# by xInterop NGen++? In C++, an inner class or nested class is a class declared entirely within the body of another class, nesting class. Inner classes are...
View ArticleAdvanced technology to wrap native C++ template class in C# automatically
XInterop NGen++‘s amazing abilities of wrapping C++ class in C# .NET automatically The bridge between C++ and C# .NET world is getting much more advanced than ever. .NET P/Invoke technology has been...
View ArticlexInterop NGen++ 2.0 is released
We are pleased to announce the release of xInterop NGen++ 2.0, a C# wrapper generator for native C++ DLLs. xInterop NGen++ 2.0 is available to the public for evaluation. To anyone who is interested in...
View ArticleSupporting C style DLL exporting functions
The current version of xInterop NGen++ only supports generating C# wrapper for native C++ DLL exporting C++ class. Developers have been asking for supporting C style DLL and we have started working on...
View ArticleCreating C# Wrapper for Windows System DLL
We have been working on adding the feature of creating C# wrapper for C style DLLs for quite a while, and the current version of xInterop NGen++ works very well, xInterop NGen++ created whatever C...
View ArticlexInterop C++ .NET Bridge 3.0 is available now
xInterop C++ .NET Bridge 3.0 is available now We are pleased to announce the release of xInterop C++ .NET Bridge 3.0, a Code Generator for Creating Two-Ways Bridges between C++ Native World and .NET...
View ArticlexInterop C++ .NET Bridge 3.1 is available for free download now
xInterop C++ .NET Bridge 3.1 is available for free download We are pleased to announce the release of xInterop C++ .NET Bridge 3.1, a Code Generator for Creating Two-Ways Bridges between C++ Native...
View ArticlexInterop C++ .NET Bridge 3.3 is available now
xInterop C++ .NET Bridge 3.3 is available now We are pleased to announce the release of xInterop C++ .NET Bridge 3.3, a Code Generator for Creating Two-Ways Bridges between C++ Native World and .NET...
View Article