Page 1 of 2

xbrowse

PostPosted: Fri Jul 07, 2023 1:38 pm
by Detlef
May be this is interesting for Antonio or Mr. Rao.
I have an ini file with entries about login values.
The password is encrypted using the function HB_Crypt().
It drove me crazy to list the ini file with xbrowse because it always crashed.
Finally I found out that the characters 0x12 and 0x19 in the encryptd string caused xbrowse to fail.

Here my test with FWH 22.11 and xharbour
Code: Select all  Expand view
#include "fivewin.ch"
#include "xbrowse.ch"

FUNCTION Main()
local aIni  := {;
                  "User=administrator",;
                  "Pwd=”¹J±¡óí´*+¾²ïI¡²w4|L[¿ƒ¸»[uÑÙº‚»E;0¾ü øÀ";
               }

   MsgInfo( len( aIni ) )

   xBrowser aIni
RETURN nil
 

Re: xbrowse

PostPosted: Sat Jul 08, 2023 4:07 am
by nageswaragunupudi
Image

Re: xbrowse

PostPosted: Sat Jul 08, 2023 8:33 am
by Detlef
Mr. Rao,
did you make this with FWH 22.11 and xHarbour?
I tried at least dozens of times and it always crashed.

Could anyone from this forum try if my sample runs without crash?

Re: xbrowse

PostPosted: Sat Jul 08, 2023 8:43 am
by nageswaragunupudi
Current FWH version.
I set
Code: Select all  Expand view
FW_SetUnicode( .t. )

Re: xbrowse

PostPosted: Sat Jul 08, 2023 8:54 am
by nageswaragunupudi
Now, I tried with FWH2210, both with xHarbour and Harbour without FW_SetUnicode()

Working well for me.

Re: xbrowse

PostPosted: Sat Jul 08, 2023 1:50 pm
by Detlef
Mr. Rao,
I don't want to trouble you.
But my test still fails all the time.
And it doesn't matter with FW_SetUnicode() or without.

Image
I don't know what to do.

Regards
Detlef

Re: xbrowse

PostPosted: Sun Jul 09, 2023 4:00 am
by nageswaragunupudi
Image

Code: Select all  Expand view
#include "fivewin.ch"

FUNCTION Main()
local aIni  := {;
                  "User=administrator",;
                  "Pwd=”¹J±¡óí´*+¾²ïI¡²w4|L[¿ƒ¸»[uÑÙº‚»E;0¾ü øÀ";
               }

//   FW_SetUnicode( .t. )

   MsgInfo( len( aIni ) )

   xBrowser aIni

RETURN nil


You are not troubling me at all.
I am just wondering why this is not working at your end.

Re: xbrowse

PostPosted: Sun Jul 09, 2023 8:13 am
by Detlef
My actual machine is a Dell with 64 bit Windows 11 Pro OS.
And on this PC my Programm crashes.
I copied my program to a PC with Windows 10 Home 64 Bit OS, compiled and linked my test and here it runs totally ok.

This is really strange.

Re: xbrowse

PostPosted: Sun Jul 09, 2023 8:52 am
by Antonio Linares
Dear Detlef,

When it crashes does it generate a hb_out.log file ?

If so, please post it here

Re: xbrowse

PostPosted: Sun Jul 09, 2023 11:20 am
by nageswaragunupudi
My actual machine is a Dell with 64 bit Windows 11 Pro OS.

Same as my PC

Re: xbrowse

PostPosted: Sun Jul 09, 2023 11:50 am
by Detlef
Antonio Linares wrote:Dear Detlef,

When it crashes does it generate a hb_out.log file ?

If so, please post it here

Sorry, Antonio.
there's no log file created.

Re: xbrowse

PostPosted: Sun Jul 09, 2023 12:06 pm
by Marc Venken
Tested the Detlef version and No error here. Result is the same as post 2 of Mr. Rao.

Latest version of FWH

Re: xbrowse

PostPosted: Sun Jul 09, 2023 1:21 pm
by Detlef
Thank you, Marc.
I'm still guessing and trying to find out what causes my error.

Regards, Detlef

Re: xbrowse

PostPosted: Sun Jul 09, 2023 1:35 pm
by Detlef
Strange enough that my FWH22 lib folder on both PCs are different.
Code: Select all  Expand view
Windows 10 runs ok                               |   Windows 11 fails
D:\entw\fwh22\lib                                |   C:\entw\fwh22\lib
                                                 |
10.04.2022  08:13     107.008 dolphin.lib        |   02.11.2022  08:11     107.008 dolphin.lib
10.04.2022  08:18   4.829.696 FiveH.lib          |   02.11.2022  13:40   4.907.008 FiveH.lib
10.04.2022  08:18   7.384.082 FiveH32.lib        |   02.11.2022  13:40   7.500.158 FiveH32.lib
10.04.2022  09:54     840.192 FiveHC.lib         |   02.11.2022  08:21     844.800 FiveHC.lib
10.04.2022  09:54   1.454.990 FiveHC32.lib       |   02.11.2022  08:21   1.470.298 FiveHC32.lib
10.04.2022  09:54   1.322.570 FiveHCM.lib        |   02.11.2022  08:21   1.329.932 FiveHCM.lib
10.04.2022  08:32   6.287.784 FiveHG.lib         |   02.11.2022  12:25   6.379.850 FiveHG.lib
10.04.2022  09:54   1.639.806 FiveHGC.lib        |   02.11.2022  12:27   1.648.218 FiveHGC.lib
10.04.2022  08:18   7.226.164 FiveHM.lib         |   02.11.2022  13:23   7.328.342 FiveHM.lib
10.04.2022  08:24   7.519.278 FiveHMX.lib        |   02.11.2022  11:34   7.621.422 FiveHMX.lib
10.04.2022  08:24   4.900.352 FiveHX.lib         |   02.11.2022  11:34   4.972.544 FiveHX.lib
10.04.2022  08:13     219.638 hbhpdf32.lib       |   02.11.2022  08:11     219.638 hbhpdf32.lib
10.04.2022  08:13      43.520 hbpgsql.lib        |   02.11.2022  08:11      43.520 hbpgsql.lib
10.04.2022  08:13       7.680 libcurl.lib        |   02.11.2022  08:11       7.680 libcurl.lib
10.04.2022  08:13   1.350.602 libhpdf32.lib      |   02.11.2022  08:11   1.350.602 libhpdf32.lib
10.04.2022  08:13      27.648 libmariadb.lib     |   02.11.2022  08:11      27.648 libmariadb.lib
10.04.2022  08:13      53.612 libmariadb32.lib   |   02.11.2022  08:11      53.612 libmariadb32.lib
10.04.2022  08:13      17.592 libmariadb64.a     |   02.11.2022  08:11      17.592 libmariadb64.a
10.04.2022  08:13      50.318 libmariadb64.lib   |   02.11.2022  08:11      50.318 libmariadb64.lib
10.04.2022  08:13      25.590 libmysql.a         |   02.11.2022  08:11      25.590 libmysql.a
10.04.2022  08:13      12.800 libmysql.lib       |   02.11.2022  08:11      12.800 libmysql.lib
10.04.2022  08:13      25.590 libmysql32.lib     |   02.11.2022  08:11      25.590 libmysql32.lib
10.04.2022  08:13       9.570 libmysql64.a       |   02.11.2022  08:11       9.570 libmysql64.a
10.04.2022  08:13      26.832 libmysql64.lib     |   02.11.2022  08:11      26.832 libmysql64.lib
10.04.2022  08:13      13.824 libmysqld.lib      |   02.11.2022  08:11      13.824 libmysqld.lib
10.04.2022  08:13      25.856 libmysqld32.lib    |   02.11.2022  08:11      25.856 libmysqld32.lib
10.04.2022  08:13      18.432 libpq.lib          |   02.11.2022  08:11      18.432 libpq.lib
10.04.2022  08:13  19.198.580 mysqlclient.lib    |   02.11.2022  08:11  19.198.580 mysqlclient.lib
10.04.2022  08:13      37.888 pgsql.lib          |   02.11.2022  08:11      37.888 pgsql.lib
10.04.2022  08:13         829 readme.txt         |   02.11.2022  08:11         829 readme.txt
10.04.2022  08:13       4.318 xfw.lib            |   02.11.2022  08:11       4.522 xfw.lib
16.05.2022  09:25 <DIR>      xhb                 |   10.01.2023  19:40 <DIR>          xhb

But I didn't touch the lib files.

Re: xbrowse

PostPosted: Sun Jul 09, 2023 6:13 pm
by Antonio Linares
maybe a virus ?