- Kari Paukku
- PowerBuilder
- Friday, 23 February 2024 02:48 PM UTC
Hi,
My starting point is that I have created a .DLL which I call from the application, running x64-bit mode.
In my development PC (Win11) everything works fine, when running the application either from the PB IDE or standalone from a separate folder.
But when I try to deploy the application to a clean x64 Win 11 pc, I get the error message "Bad runtime reference".
I have tried to resolve this issue for days without any noticeable success.
Things I have done are made sure that there are C++ runtime files installed on the empty PC, together with Net framework, etc.)
Initially I expected the issue to be in the C# part that is the DLL, but now I'm starting to think that maybe the PBNI (C++) part is the issue.
While the DLL part is compiled in Visual Studio to be x64 the PBNI part I have to compile as x32, because otherwise I can't make the PBX and PBD files.
Would anyone know or be willing to take a wild guess what is going wrong?
Thanks,
Kari
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.