1. Marco Laroche
  2. PowerBuilder
  3. Thursday, 1 March 2018 18:47 PM UTC

Hi,

I use a simple Rowscopy() function. When i test it with Debug it does the job (return 1)

When i deploy it in 32 bits... The same statement return -1

Is it a runtime DLL issue?

Thank's.

Marco

I.e. : It's a old system from PB 12.5 convert to PowerBuilder 2017  build 1666

 

Govinda Lopez @Appeon Accepted Answer Pending Moderation
  1. Saturday, 3 March 2018 01:52 AM UTC
  2. PowerBuilder
  3. # 1

Hi Marco,

 

You can also try updating to the latest build of PowerBuilder 2017 (build 1681) or PowerBuilder 2017 R2 (build 1756). You can download them from your User Center at https://www.Appeon.com.

 

Regards,

Comment
There are no comments made yet.
Olan Knight Accepted Answer Pending Moderation
  1. Friday, 2 March 2018 21:19 PM UTC
  2. PowerBuilder
  3. # 2

I'm using PBv12.1 b7055, and I found that with PBv12.0 through PBv12.6, SOMETIMES the RowsCopy() function simply does not work.

I've no idea why it fails, but the symptoms I had mirror yours exactly. 

My workaround was to code a function that did the same thing and to use that function.

 

Good Luck,

Olan

Comment
There are no comments made yet.
Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Thursday, 1 March 2018 20:57 PM UTC
  2. PowerBuilder
  3. # 3

Hi Marco;

   The PB IDE run or Debug are both executing your App in 32 bit mode. If it works there - it should work in your Apps EXE. One thing that could create such a SNAFU is if somehow your DW Objects were not getting deployed properly. Say for example you forgot to check the PBD / DLL option in your Project Object that builds the EXE or you forgot to create and/or include DWO's in a PSR (LinkEdit) file.

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.