Ola,
Sorry no hablo espanol... :)
There's an easy way to do that, first make your .Net assembly Com Visible in the project setting tab.
and write your code like that:
namespace MyDotNetAssembly
{
[ClassInterface(ClassInterfaceType.AutoDual)]
public class ReportHelper
{
public void CallDotNet(string parameter)
{
}
}
}
On the Clarion side:
CallDotNet routine
data
dotNetInterop long
code
dotNetInterop = CREATE(0, CREATE:OLE)
dotNetInterop{PROP:Create} = 'MyDotNetAssembly.ReportHelper'
dotNetInterop{'CallDotnet("report parameters")'}
You may have to play a bit with the GAC. That's it.
Buena suerte.
Valery.