1. william yau
  2. PowerBuilder
  3. Thursday, 9 September 2021 07:35 AM UTC

I migrated PB.7 to appeon 2019 . but I found funcky.dll have some function did not work .

 

for example . num to dollars function , it output unreadable characters. 

would you have any advice 

 

Willaim 

 public  subroutine  _num2dollars(ref string s,int m,ref string b) library "FUNCky32.DLL" alias for "_num2dollars"

 

Accepted Answer
Miguel Leeuwe Accepted Answer Pending Moderation
  1. Thursday, 9 September 2021 08:48 AM UTC
  2. PowerBuilder
  3. # Permalink

Hi,

Try declaring the external function using the ;ansi keyword, like this:

 public  subroutine  _num2dollars(ref string s,int m,ref string b) library "FUNCky32.DLL" alias for "_num2dollars;ansi"

From pb versions 10 and higher, pb is Unicode.

regards.

Comment
There are no comments made yet.
william yau Accepted Answer Pending Moderation
  1. Thursday, 9 September 2021 09:28 AM UTC
  2. PowerBuilder
  3. # 1
 

 problem fixed, thank for help

 

William 

 

Comment
  1. Miguel Leeuwe
  2. Thursday, 9 September 2021 10:21 AM UTC
Glad to hear that, you're welcome!
  1. Helpful
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.