Different behavior of " encrypt.dll " in PowerBuilder 8 and in Powerbuilder 10.2

Different  behavior of  " encrypt.dll " in PowerBuilder 8 and in
Powerbuilder 10.2





  1.. Will PB 10.2 support  encrypt.dll  ?
  2.. My code was working in PB 8  but in PB 10 it is not working I don't
know what is issue
Like if I give password in PB 8 "mike_" it is working fine but same password
I give in PB 10 then it is not working.



Is any issue with Unicode ?





code of declaration of external fn.



private function ulong n_cst_ssisecurity32_CPP_CONSTRUCTOR() library
'encrypt.dll'

private subroutine n_cst_ssisecurity32_CPP_DESTRUCTOR( ulong th ) library
'encrypt.dll'

public function string n_cst_ssisecurity32of_encryptpassword ( ulong
ThisHandle, string as_password ) library 'encrypt.dll' alias for
"n_cst_ssisecurity32of_encryptpassword;Ansi"





Calling script



return n_cst_ssisecurity32of_encryptpassword ( ThisHandle, as_password )





if is matching  password with database "mike_" in Pb 8 but it is not
matching password in PB 10



Please suggest ?



0
M
3/28/2006 12:51:00 PM
📁 sybase.powerbuilder.general
📃 62418 articles.
⭐ 19 followers.

💬 3 Replies
👁️‍🗨️ 1325 Views

 Yes, I would imagime that your problems now stems from the fact that PB
(and your application) is now Unicode. The String variable you are using is
expecting to be in Unicode format.



"M"  wrote in message news:[email protected]...
> Different  behavior of  " encrypt.dll " in PowerBuilder 8 and in
> Powerbuilder 10.2
>
>
>
>
>
>   1.. Will PB 10.2 support  encrypt.dll  ?
>   2.. My code was working in PB 8  but in PB 10 it is not working I don't
> know what is issue
> Like if I give password in PB 8 "mike_" it is working fine but same
password
> I give in PB 10 then it is not working.
>
>
>
> Is any issue with Unicode ?
>
>
>
>
>
> code of declaration of external fn.
>
>
>
> private function ulong n_cst_ssisecurity32_CPP_CONSTRUCTOR() library
> 'encrypt.dll'
>
> private subroutine n_cst_ssisecurity32_CPP_DESTRUCTOR( ulong th ) library
> 'encrypt.dll'
>
> public function string n_cst_ssisecurity32of_encryptpassword ( ulong
> ThisHandle, string as_password ) library 'encrypt.dll' alias for
> "n_cst_ssisecurity32of_encryptpassword;Ansi"
>
>
>
>
>
> Calling script
>
>
>
> return n_cst_ssisecurity32of_encryptpassword ( ThisHandle, as_password )
>
>
>
>
>
> if is matching  password with database "mike_" in Pb 8 but it is not
> matching password in PB 10
>
>
>
> Please suggest ?
>
>
>


0
Chris
3/28/2006 1:55:12 PM
So can any one, tell me what whold me solution for this problem  ?



"Chris Pollach"  wrote in message 
news:[email protected]...
>
> Yes, I would imagime that your problems now stems from the fact that PB
> (and your application) is now Unicode. The String variable you are using 
> is
> expecting to be in Unicode format.
>
>
>
> "M"  wrote in message news:[email protected]...
>> Different  behavior of  " encrypt.dll " in PowerBuilder 8 and in
>> Powerbuilder 10.2
>>
>>
>>
>>
>>
>>   1.. Will PB 10.2 support  encrypt.dll  ?
>>   2.. My code was working in PB 8  but in PB 10 it is not working I don't
>> know what is issue
>> Like if I give password in PB 8 "mike_" it is working fine but same
> password
>> I give in PB 10 then it is not working.
>>
>>
>>
>> Is any issue with Unicode ?
>>
>>
>>
>>
>>
>> code of declaration of external fn.
>>
>>
>>
>> private function ulong n_cst_ssisecurity32_CPP_CONSTRUCTOR() library
>> 'encrypt.dll'
>>
>> private subroutine n_cst_ssisecurity32_CPP_DESTRUCTOR( ulong th ) library
>> 'encrypt.dll'
>>
>> public function string n_cst_ssisecurity32of_encryptpassword ( ulong
>> ThisHandle, string as_password ) library 'encrypt.dll' alias for
>> "n_cst_ssisecurity32of_encryptpassword;Ansi"
>>
>>
>>
>>
>>
>> Calling script
>>
>>
>>
>> return n_cst_ssisecurity32of_encryptpassword ( ThisHandle, as_password )
>>
>>
>>
>>
>>
>> if is matching  password with database "mike_" in Pb 8 but it is not
>> matching password in PB 10
>>
>>
>>
>> Please suggest ?
>>
>>
>>
>
> 


0
M
3/28/2006 2:07:13 PM
PB Experts can help us.....




"M"  wrote in message news:[email protected]...
> Different  behavior of  " encrypt.dll " in PowerBuilder 8 and in
> Powerbuilder 10.2
>
>
>
>
>
>  1.. Will PB 10.2 support  encrypt.dll  ?
>  2.. My code was working in PB 8  but in PB 10 it is not working I don't
> know what is issue
> Like if I give password in PB 8 "mike_" it is working fine but same 
> password
> I give in PB 10 then it is not working.
>
>
>
> Is any issue with Unicode ?
>
>
>
>
>
> code of declaration of external fn.
>
>
>
> private function ulong n_cst_ssisecurity32_CPP_CONSTRUCTOR() library
> 'encrypt.dll'
>
> private subroutine n_cst_ssisecurity32_CPP_DESTRUCTOR( ulong th ) library
> 'encrypt.dll'
>
> public function string n_cst_ssisecurity32of_encryptpassword ( ulong
> ThisHandle, string as_password ) library 'encrypt.dll' alias for
> "n_cst_ssisecurity32of_encryptpassword;Ansi"
>
>
>
>
>
> Calling script
>
>
>
> return n_cst_ssisecurity32of_encryptpassword ( ThisHandle, as_password )
>
>
>
>
>
> if is matching  password with database "mike_" in Pb 8 but it is not
> matching password in PB 10
>
>
>
> Please suggest ?
>
>
> 


0
M
3/28/2006 4:32:31 PM