Hi.
Why are you looking for pbtheme190.dll and pbjson190.dll? Since PB 2019 R3, dll's do not contain anymore the version (190). Also you stated that you are using PB 2022 R2... Based on that, you should deploy those files from PB's 2022 R2 runtime you are using to build your application.
The easiest way to deploy the appropriate runtime is to create an installer using PB Runtime Packager (you can choose runtime version and runtime options you need to deploy).
After installing the runtime check your application xml that it points to the appropriate location (Runtime path should point to the location where you installed the runtime).
<?xml version="1.0" encoding="utf-8" ?>
<Application>
<RuntimePath>C:\Program Files (x86)\Appeon\Common\PowerBuilder\Runtime 22.2.0.3356</RuntimePath>
</Application>
Andreas.
FYI: if you like, please download my STD Framework's OrderEntry Demo App. This app works with all the PB IDE themes. There are projects for C/S deployment both 32 & 64 bit P-Code & M-Code variations with Theme support. Also included are projects for 32 / 64 bit PowerClient & PowerServer deployments with theme support as well.
There is also a "Deploy" folder showing you how the P-Code / M-Code EXE's & Themes are to be arranged for actual production deployment.
https://chrispollach.blogspot.com/2024/05/2024r2.html
HTH
Regards ... Chris
We've already explored the P-Code and M-Code variations, still no luck.