Using ARIA With Microsoft CLR
From MobileRobots Research and Academic Customer Support
Can I use ARIA in a project that uses "managed" C++, C#, Visual Basic, or another CLR language with Microsoft .NET?
With the addition of the following code to ariaTypedefs.h:
#ifdef _MANAGED // Compiling as Managed C++ for use with the CLR #using <mscorlib.dll> #endif
you can compile the ARIA with the /clr option in MSVC++ to create a CIL DLL that can be used with the CLR. (It is recommended that you create a new "Configuration" using the Configuration Manager, and use a different name for the DLL output (e.g. "AriaCLR.dll").
However, this DLL assembly is considered "unmanaged" code. It can be used from most Managed C++ programs. According to Microsoft documentation, it should also be possible to use it from C# or VB or another CLR language if you define PInvoke argument mappings for C++-specific argument types (see http://msdn2.microsoft.com/en-us/library/26thfadc(VS.80).aspx, for example).
Using ARIA with the CLR or .NET are not supported and not tested. You can discuss with other users on the aria-users mailing list, though, and we are working on finding the best approach to doing this.
