Weekly report for 14 June 2011 on Project "dotNET Interaction Mechanism for Scilab + Environment Abstraction Layer"
This week I introduced a working example of toolbox for calling .NET code from Scilab. It actually defines 2 functions:
- show_message_box(message) - show a .NET message box with a given message
- get_static_property(className, propertyName) - get a string representation of a static property of a given class.
For calling managed code from native C++ I used CCW for .NET classes (for example, see Calling Managed .NET C# COM Objects from Unmanaged C++ Code)
C# code is compiled using csc, signed, COM components registered, and assembly registered with gacutil.
Then this CCW objects are used from native C++.
Next week
Introduce an abstraction layer to be put in JIMS between calls in ScilabObjectsCPP.cpp and GIWS-generated wrappers. So, I plan to introduce some abstraction from Java in JIMS already next week.