Calling .NET from PowerBuilder

To call .NET for PowerBuilder best option is to create Class Library in Visual Studio. Sign it. In project properties, Application, Assembly Information…, check “Make assembly COM-Visible”. Sign it class library (project properties, Signing…). In project properties, Application, Assembly Information…, check “Make assembly COM-Visible”. Optional, add these attributes to your class: [ComVisible(true)] [ClassInterface(ClassInterfaceType.AutoDual)] [ProgId(“ClassLibrary1.Class1”)] Register […]