Hi,
besides PB runtime, PB WS client also requires expat###.dll, libeay32.dll, ssleay32.dll, xerces-c_2_6.dll, xerces-depdom_2_6.dll, EasySoap125.dll, pbnetwsruntime###.dll, pbsoapclient###.pbx, pbwsclient###.pbx, Sybase.PowerBuilder.WebService.Runtime.dll, Sybase.PowerBuilder.WebService.RuntimeRemoteLoader.dll, where ### relates to your PB version (125, 126, 170). Also, crosscheck that libeay32.dll comes from the right PB installation.
Cheers,
Marco
It continues without working. I have put all the libraries that you told me in the same executable folder and still give the same error "Bad runtime function reference ..". This happens only in compilation to 64 bits, if I compile to 32 bits I do not have that problem.