In order for this site to work correctly we need to store a small file (called a cookie) on your computer. Most every site in the world does this, however since the 25th of May 2011, by law we have to get your permission first. Please abandon the forum if you disagree.

Para que este foro funcione correctamente es necesario guardar un pequeño fichero (llamado cookie) en su ordenador. La mayoría de los sitios de Internet lo hacen, no obstante desde el 25 de Marzo de 2011 y por ley, necesitamos de su permiso con antelación. Abandone este foro si no está conforme.

Encrypt()/Decrypt() bug

Xailer professional forum in English
Responder
Ingo Junge-Herrmann
Mensajes: 339
Registrado: Lun Jul 02, 2007 7:17 pm

Encrypt()/Decrypt() bug

Mensaje por Ingo Junge-Herrmann »

Jose,
the bug is still existing.
Regards,
Ingo
Avatar de Usuario
jfgimenez
Site Admin
Mensajes: 5718
Registrado: Lun Abr 06, 2015 8:48 pm
Contactar:

Encrypt()/Decrypt() bug

Mensaje por jfgimenez »

Ingo,
> the bug is still existing.
Yes, we know. We've not reviewed those functions yet, sorry.
--
Regards,
Jose F. Gimenez
http://www.xailer.com
José F. Giménez
[Equipo de Xailer / Xailer team]
http://www.xailer.com
http://www.xailer.info
Avatar de Usuario
jfgimenez
Site Admin
Mensajes: 5718
Registrado: Lun Abr 06, 2015 8:48 pm
Contactar:

Encrypt()/Decrypt() bug

Mensaje por jfgimenez »

Ingo,
> the bug is still existing.
Yes, we know. We've not reviewed those functions yet, sorry.
--
Regards,
Jose F. Gimenez
http://www.xailer.com
José F. Giménez
[Equipo de Xailer / Xailer team]
http://www.xailer.com
http://www.xailer.info
jlalin
Mensajes: 926
Registrado: Sab Dic 25, 2010 11:10 pm

Encrypt()/Decrypt() bug

Mensaje por jlalin »

Ingo,
I just tested these functions and they work as expected.
Later I realized the problem was in your sample and found the problem:
you are linking the Crypt() function from the CT.Lib library, so you are
encrypting() with this function and decrypting() with the Xailer's one.
Just remove CT.Lib from the sample project bulk.zip and you will see it
working.
Regards,
José Lalí­n
jlalin
Mensajes: 926
Registrado: Sab Dic 25, 2010 11:10 pm

Encrypt()/Decrypt() bug

Mensaje por jlalin »

Ingo,
I just tested these functions and they work as expected.
Later I realized the problem was in your sample and found the problem:
you are linking the Crypt() function from the CT.Lib library, so you are
encrypting() with this function and decrypting() with the Xailer's one.
Just remove CT.Lib from the sample project bulk.zip and you will see it
working.
Regards,
José Lalí­n
Ingo Junge-Herrmann
Mensajes: 339
Registrado: Lun Jul 02, 2007 7:17 pm

Encrypt()/Decrypt() bug

Mensaje por Ingo Junge-Herrmann »

[PROJECT]
Type=exe
Description=bulk
Output=bulk.exe
Compiler=xHarbour
MainModule=Form1.prg
MultipleInstances=.T.
XPManifest=.T.
Icon=
Parameters=
OEM=.F.
Version=1.0
Release=0
Build=0
Company=MANDANTwin
CopyRight=
TradeMarks=
Comments=
[OPTIONS]
AutomaticMemvarDeclaration=.F.
DebugInfo=.F.
SuppressLineNumberInformation=.F.
SuppressShortcutting=.F.
WarnningLevel=1
MoreOptions=
MapFile=.F.
ConsoleMode=.F.
MoreLinkOpt=
[DIRECTORIES]
SourceDir=Source
IncludeDir=Include
ResourceDir=Resource
ObjDir=Obj
[FILES]
1=bulk.prg
2=Form1.prg
Ingo Junge-Herrmann
Mensajes: 339
Registrado: Lun Jul 02, 2007 7:17 pm

Encrypt()/Decrypt() bug

Mensaje por Ingo Junge-Herrmann »

[PROJECT]
Type=exe
Description=bulk
Output=bulk.exe
Compiler=xHarbour
MainModule=Form1.prg
MultipleInstances=.T.
XPManifest=.T.
Icon=
Parameters=
OEM=.F.
Version=1.0
Release=0
Build=0
Company=MANDANTwin
CopyRight=
TradeMarks=
Comments=
[OPTIONS]
AutomaticMemvarDeclaration=.F.
DebugInfo=.F.
SuppressLineNumberInformation=.F.
SuppressShortcutting=.F.
WarnningLevel=1
MoreOptions=
MapFile=.F.
ConsoleMode=.F.
MoreLinkOpt=
[DIRECTORIES]
SourceDir=Source
IncludeDir=Include
ResourceDir=Resource
ObjDir=Obj
[FILES]
1=bulk.prg
2=Form1.prg
zeasoftware
Mensajes: 1831
Registrado: Mar Oct 11, 2005 9:53 am

Encrypt()/Decrypt() bug

Mensaje por zeasoftware »

asi es no furulan, pero las de xHarbour si.
regards
--
Ramón Zea
ramonzea@yahoo.com
http://www.paginasprodigy.com/zeasoft/
zeasoftware
Mensajes: 1831
Registrado: Mar Oct 11, 2005 9:53 am

Encrypt()/Decrypt() bug

Mensaje por zeasoftware »

asi es no furulan, pero las de xHarbour si.
regards
--
Ramón Zea
ramonzea@yahoo.com
http://www.paginasprodigy.com/zeasoft/
jlalin
Mensajes: 926
Registrado: Sab Dic 25, 2010 11:10 pm

Encrypt()/Decrypt() bug

Mensaje por jlalin »


Ingo,
> with the release I'm using (RC1)it doesn't work correct.
The source code of these functions haven't changed since 2004-01-12, so
the problem is not there.
> Please try the sample.
See the attached image. It's from the sample you posted and I haven't
changed a single line.
Saludos,
José Lalí­n
--
jlalin
Mensajes: 926
Registrado: Sab Dic 25, 2010 11:10 pm

Encrypt()/Decrypt() bug

Mensaje por jlalin »


Ingo,
> with the release I'm using (RC1)it doesn't work correct.
The source code of these functions haven't changed since 2004-01-12, so
the problem is not there.
> Please try the sample.
See the attached image. It's from the sample you posted and I haven't
changed a single line.
Saludos,
José Lalí­n
--
Ingo Junge-Herrmann
Mensajes: 339
Registrado: Lun Jul 02, 2007 7:17 pm

Encrypt()/Decrypt() bug

Mensaje por Ingo Junge-Herrmann »


José,
here it looks like on the attached image.
But it doesn't matter then I'm using the functions of xHB.
Regards
Ingo
>
>See the attached image. It's from the sample you posted and I haven't
>changed a single line.
>
>Saludos,
>José Lalín
>
>
--

Attached files
Ingo Junge-Herrmann
Mensajes: 339
Registrado: Lun Jul 02, 2007 7:17 pm

Encrypt()/Decrypt() bug

Mensaje por Ingo Junge-Herrmann »


José,
here it looks like on the attached image.
But it doesn't matter then I'm using the functions of xHB.
Regards
Ingo
>
>See the attached image. It's from the sample you posted and I haven't
>changed a single line.
>
>Saludos,
>José Lalín
>
>
--

Attached files
jlalin
Mensajes: 926
Registrado: Sab Dic 25, 2010 11:10 pm

Encrypt()/Decrypt() bug

Mensaje por jlalin »

Ingo,
> here it looks like on the attached image.
> But it doesn't matter then I'm using the functions of xHB.
Yes, Jose F. noticed the different behavior between W98 and XP and now
it should be fixed.
Will be included in the incoming release. Many thanks for your help.
Regards,
José Lalí­n
jlalin
Mensajes: 926
Registrado: Sab Dic 25, 2010 11:10 pm

Encrypt()/Decrypt() bug

Mensaje por jlalin »

Ingo,
> here it looks like on the attached image.
> But it doesn't matter then I'm using the functions of xHB.
Yes, Jose F. noticed the different behavior between W98 and XP and now
it should be fixed.
Will be included in the incoming release. Many thanks for your help.
Regards,
José Lalí­n
Responder