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 |
![]() |
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 |
![]() |
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 |
![]() |
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 |
![]() |