Greetings,
During late 2005, we established a DLL written in C# (Visual Studio 2003, .NET 1.1) to use as an integration point with our existing application written in Visualage 5.5. This integration was performed by exposing a set of COM interfaces in the .NET DLL. This component allowed our Visualage application to perform direct COM access as well as utilization of a COM event sink. At that time, we easily performed this integration by using the OLE Class wrapper generator feature of Visualage to generate wrapper classes for the COM exposed methods written in C#. The only precondition was that the .NET DLL was properly registered on the machine using the .NET Framework tool regasm with the /codebase switch.
Currently, we are updating the .NET DLL to utilize Visual Studio 2005, .NET 2.0. In addition, we are also enhancing the exposed capability in the DLL. This requires that we again use the OLE Class generation feature of Visualage, this time from VA6.0.2. However, with many variations of the .NET DLL COM exposure, we continue to have problems with its visibility in the OLE Class wrapper generator - keep getting the 'The selected object does not support OLE automation' error. Has anyone successfully performed OLE class wrapper generation using (correction: VA602 for ) a .NET 2.0 COM DLL? If so, was there anything specific that you found that you needed to do?
Thank you,
Fred & Prasad