1. Andrew Davis
  2. PowerBuilder
  3. Tuesday, 13 February 2024 17:07 PM UTC

Hi, I am sure this is a simple quesiton and that i have just missed something with the new verions.

I have installed pb2022 r3 on my machine.

I have compiled my app on it, however when i run it on the machine that I created it on it comes up with a missing PBVM error.

What should i have installed as well to run it on this machine ? and what paths should it have ?

thanks

Andrew

 

 

Andrew Davis Accepted Answer Pending Moderation
  1. Tuesday, 13 February 2024 18:18 PM UTC
  2. PowerBuilder
  3. # 1

M-code 32 bit

regards

Andrew

 

Comment
  1. Chris Pollach @Appeon
  2. Tuesday, 13 February 2024 18:30 PM UTC
Hi Andrew;

That explains your issue as the M-Code compile does not generate or use an <App name>.XML file used to locate the PB runtime. Only P-Code compiles support that .XML feature.

In your case, you'll need to add the location of the PB runtime to your System Path, create a short-cut that includes the PB runtime location, create a BAT file that runs your App EXE & sets the location for the PB runtime or you could copy all the PB runtime DLLs to your PB App's exe folder.

HTH

Regards ... Chris
  1. Helpful
There are no comments made yet.
Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Tuesday, 13 February 2024 17:18 PM UTC
  2. PowerBuilder
  3. # 2

Hi Andrew;

  Did you compile your PB App into a P-Code or an M-Code based EXE?

Regards ..> Chris

Comment
There are no comments made yet.
  • Page :
  • 1


There are no replies made for this question yet.
However, you are not allowed to reply to this question.