Hi Team,
We have a requirement to modify the printer settings, earlier tried calling WIN API from powerbuilder but for some reason it got failed, so decided to create a C# dll and to call it.
The C# dll works as expected and tested using console app. I created the dll build and published, imported into powerbuilder (version PB2022 R3 Build 3356, Runtime: 22.2.0.3356) using .net dll importer also verified that option "Encapsulate a DotNetAssembly object in each DotNetObject object" is checked. But received an error message "Error Number 58. Object Instance does not exists..."
The following settings are selected in .csproj file
Target Framework: .NET Core 3.1
Output Type: Class library
COnfiguration: Release /Any CPU.
Advanced: Language Version: C# latest Major Version (default)
Please tell me what I'm missing here. Thankyou.
Thanks,
Subbiya