HTTPClient fails with compiled version
- New
- How-to
-
Rinku Karda
- PowerBuilder
- Monday, 10 March 2025 08:39 PM UTC
I created the HttpClient and jsonpackage in Powerbuilder 2017, It is working perfectly well when i run it in the Powerbuilder 2017 R3 1880 build
application. But when I run the compiled version with the runtime dlls I get this error:" Unresovable external httpclient when linking reference at Line 75 in function f_post() The function is where I create the object like below: Line 75 is the Create.
////////////////////
jsonpackage lnv_pack1
HttpClient lnv_HttpClient
lnv_HttpClient = Create HttpClient
ll_rc = lnv_HttpClient.sendrequest(as_hmtd, url, arg_json, EncodingUTF8!)
lnv_HttpClient.getresponsebody( ls_returnjson, EncodingUTF8!)
I///////////////
I added pbjson170.dll, pbhttpclient170.dll and pbrestclient170.dll to my runtime dlls. What am I doing wrong? It works in PB2017 application but not the compiled version with the runtime dlls. Please suggest, as I want to run the compiled version of application (.exe). Please help.
I cannot go for Runtime package, as it does not support installations of .msi on user's system.
Thanks in advance!
Thanks,
Rinku
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.