- Anoop Chaurasia
- PowerBuilder
- Monday, 22 January 2024 11:01 AM UTC
Hi,
I am facing issue with self-contained .net DLL. in the documents it is mentioned that using self contained DLLs will not require .net runtime to be installed on the target system, but when i am running the application, it is expecting the runtime.
Below is my code.
anv_object = CREATE DotNetAssembly;
anv_controls = create DotNetObject
//attempt to connect to ole object
try
li_rc = anv_object.LoadWithDotNet(as_dll); if isnull(li_rc) then li_rc = 0
li_rc = anv_object.createInstance(as_class, anv_controls)
It is returning -1 in error.
Please assist with this.
Thank You,
Anoop
Find Questions by Tag
Helpful?
If a reply or comment is helpful for you, please don’t hesitate to click the Helpful button. This action is further confirmation of their invaluable contribution to the Appeon Community.