xbrowse

xbrowse

Postby Detlef » Fri Jul 07, 2023 1:38 pm

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
 
User avatar
Detlef
 
Posts: 207
Joined: Mon Feb 07, 2022 9:54 pm

Re: xbrowse

Postby nageswaragunupudi » Sat Jul 08, 2023 4:07 am

Image
Regards

G. N. Rao.
Hyderabad, India
User avatar
nageswaragunupudi
 
Posts: 10620
Joined: Sun Nov 19, 2006 5:22 am
Location: India

Re: xbrowse

Postby Detlef » Sat Jul 08, 2023 8:33 am

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?
User avatar
Detlef
 
Posts: 207
Joined: Mon Feb 07, 2022 9:54 pm

Re: xbrowse

Postby nageswaragunupudi » Sat Jul 08, 2023 8:43 am

Current FWH version.
I set
Code: Select all  Expand view
FW_SetUnicode( .t. )
Regards

G. N. Rao.
Hyderabad, India
User avatar
nageswaragunupudi
 
Posts: 10620
Joined: Sun Nov 19, 2006 5:22 am
Location: India

Re: xbrowse

Postby nageswaragunupudi » Sat Jul 08, 2023 8:54 am

Now, I tried with FWH2210, both with xHarbour and Harbour without FW_SetUnicode()

Working well for me.
Regards

G. N. Rao.
Hyderabad, India
User avatar
nageswaragunupudi
 
Posts: 10620
Joined: Sun Nov 19, 2006 5:22 am
Location: India

Re: xbrowse

Postby Detlef » Sat Jul 08, 2023 1:50 pm

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
User avatar
Detlef
 
Posts: 207
Joined: Mon Feb 07, 2022 9:54 pm

Re: xbrowse

Postby nageswaragunupudi » Sun Jul 09, 2023 4:00 am

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.
Regards

G. N. Rao.
Hyderabad, India
User avatar
nageswaragunupudi
 
Posts: 10620
Joined: Sun Nov 19, 2006 5:22 am
Location: India

Re: xbrowse

Postby Detlef » Sun Jul 09, 2023 8:13 am

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.
User avatar
Detlef
 
Posts: 207
Joined: Mon Feb 07, 2022 9:54 pm

Re: xbrowse

Postby Antonio Linares » Sun Jul 09, 2023 8:52 am

Dear Detlef,

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

If so, please post it here
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42065
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: xbrowse

Postby nageswaragunupudi » Sun Jul 09, 2023 11:20 am

My actual machine is a Dell with 64 bit Windows 11 Pro OS.

Same as my PC
Regards

G. N. Rao.
Hyderabad, India
User avatar
nageswaragunupudi
 
Posts: 10620
Joined: Sun Nov 19, 2006 5:22 am
Location: India

Re: xbrowse

Postby Detlef » Sun Jul 09, 2023 11:50 am

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.
User avatar
Detlef
 
Posts: 207
Joined: Mon Feb 07, 2022 9:54 pm

Re: xbrowse

Postby Marc Venken » Sun Jul 09, 2023 12:06 pm

Tested the Detlef version and No error here. Result is the same as post 2 of Mr. Rao.

Latest version of FWH
Marc Venken
Using: FWH 23.04 with Harbour
User avatar
Marc Venken
 
Posts: 1425
Joined: Tue Jun 14, 2016 7:51 am
Location: Belgium

Re: xbrowse

Postby Detlef » Sun Jul 09, 2023 1:21 pm

Thank you, Marc.
I'm still guessing and trying to find out what causes my error.

Regards, Detlef
User avatar
Detlef
 
Posts: 207
Joined: Mon Feb 07, 2022 9:54 pm

Re: xbrowse

Postby Detlef » Sun Jul 09, 2023 1:35 pm

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.
User avatar
Detlef
 
Posts: 207
Joined: Mon Feb 07, 2022 9:54 pm

Re: xbrowse

Postby Antonio Linares » Sun Jul 09, 2023 6:13 pm

maybe a virus ?
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42065
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Next

Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 58 guests