I'm new to PowerBuilder development. I started working on a legacy system, which was recently upgraded to PB 2017 and OS is window 10.
I can build / deploy / run EXE runs perfectly. However, when I run / debug in IDE then I got Error saying - Bad runtime function reference at line ** in function *****. this is throw at a function call which is in a C++ DLL.
DLL and EXE are in the same folder.
----- below is PowerBuilder source code -----------------
function int feGetDLLInfo( ... ) libarary "lc_felmi.dll" alias for "feGetDLLInfo:Ansi"
-------------------------------------------------------------------
I really want to know if anything can be done to enable the debug capability.
Thanks!
Thank you for looking into it!
You are right! I finally found out that working directory is specified in pb.ini and PB 2017 installation by default set it as WorkingDir=C:\Program Files (x86)\Appeon\PowerBuilder 17.0
I managed to change this setting in pb.ini and it is working.
Thank you so much!!!
Wei