1. Andres Slachevsky
  2. PowerBuilder
  3. Monday, 29 April 2019 12:20 PM

Hello All,

I need to redirect the Console Output to a PowerBuilder APP

in my production enviroment i am a code based in this sample

https://wiki.scn.sap.com/wiki/display/SYBPB/Redirect+Console+Output

it works perfect in 32 bits

now i need to make i work in a 64 bits Machine

i compiled the PB app in 64 bits. but it get an error calling CREATEPIPE external funciton (kernel32)
Any one have a working 64 bits sample or can help me

Thanks 

Roland Smith Accepted Answer Pending Moderation
  1. Monday, 29 April 2019 12:56 PM
  2. PowerBuilder
  3. # 1
0
Votes
Undo

Can you give a bit more detail about what you are actually trying to do? Are you running the console app from your PowerBuilder app or is it one that is already running? Is the console app written by your company?

 

 

Comment
We have a cyberark integration.

we call a exe that returns the database password of the connected user

it retruns it to the windows console

in a 32 bits enviroment with the sample i can call it an then read the value

but in the 64 bits enviromet we get an error in the CreatePipe Function of the kernel32.dll
  1. Andres Slachevsky
  2. Monday, 29 April 2019 14:08 PM
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.