We need to understand how to call a C# function from RealBasic 2012 that demonstrates how to pass back numeric values as parameters in the function as well as simple array values.
The project should have the following functions created in C# and use DLLExport that will allow unmanaged DLL calls from RealBasic:
1) Public Static Int32 Test1( sVal, iX, iY) //Where sVal, iX, iY will pass back to RB the values from C# function
1) Public Static Int32 Test2( uint[] aVal) //Where aVal will pass back to RB the array values from C# function
Both declarations above are probably incorrect and only included in this format to fully understand the sample code we are trying to achieve.
RealBasic variables and C# (unmanaged) variables could differ and this is what we are trying to understand from the sample projects delivered.
Deliverables: 1) C# solution as unmanaged DLL 2) RB 2012 sample code that will call DLL with the 2 functions above.