1. Marc James
  2. PowerServer
  3. Thursday, 4 May 2023 13:38 PM UTC

Hi,

Looking to deploy a program to Powerserver but have two questions

1. Our program currently uses an OCX to access the serial port, will this still work onces it is deployed to the powerserver?

2. Can you access standard windows TCP sockets through powerserver?

 

Marc

mike S Accepted Answer Pending Moderation
  1. Thursday, 4 May 2023 14:06 PM UTC
  2. PowerServer
  3. # 1

PS 2022:  if it works in PB, it will work in powerserver.  the main diffferences now are the connection to the database since that is via web api.

add your ocx and any other files (such as dlls etc) to client app 'files preloaded' in the client app basic tab

Comment
There are no comments made yet.
Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Thursday, 4 May 2023 21:08 PM UTC
  2. PowerServer
  3. # 2

Hi Marc;

  The answer to both of your questions is YES.

   The reason is because PS 2022 Apps are "native cloud" Apps. That means that the client part of the App still runs like a compiled EXE. Just that it contains no SQL and it's delivered to the App User via a web server (HTTP request). However once downloaded from the WS (basically now a deployment platform) to the Client machine, the App is running natively on that machine and thus, has any normal privileges that your compiled PB App EXE would have today.   ;-)

FYI: http://chrispollach.blogspot.com/2023/04/socket.html

HTH

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.