FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour MS Visual Studio
Posts: 218
Joined: Mon Feb 07, 2022 09:54 PM
Re: MS Visual Studio
Posted: Sat Jul 09, 2022 07:33 PM
Dear Antonio,

this is very curious...
Here my logfile
Code (fw): Select all Collapse
call                             xHarbour   t     Harbour   t
--------------------------------------------------------------
main()                          946916265       947323093   
FWSetLanguage( _GERMAN )        946916265   0   947323093   0
before OpenDbfs( pCount() > 0 ) 946916265   0   947323093   0
after OpenDbfs( pCount() > 0 )  946916281  16  947323109   16
Start()                         946916281   0   947323109   0
DEFINE FONT oFont               946916281   0   947323109   0
DEFINE DIALOG oDlgStart         946916281   0   947323109   0
REDEFINE XBROWSE oBrwKd         946916296  15  947323109    0
REDEFINE XBROWSE oBrwTm         946916296   0   947323109   0
REDEFINE XBROWSE oBrwRg         946916296   0   947323109   0
ACTIVATE DIALOG oDlgStart       946916343  47  947323156   47
PROCEDURE BuildBar              946916343   0   947323156   0

Pure Harbour is even faster than xHarbour ( see "REDEFINE XBROWSE oBrwKd" ).

But unfortunatelly in my log file I can't catch the time from starting the app until the exe file reaches the function Main().
As I said, this period lasts about 7 seconds.
Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM
Re: MS Visual Studio
Posted: Sat Jul 09, 2022 07:44 PM

7 seconds is too much

Please go to FWH\samples and try:

buildh.bat fivedbu
buildh.bat fivedit

You will see that those apps start inmediately. Thats why I don't understand why yours takes 7 secs...

There must be a reason, but we have to find it...

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 218
Joined: Mon Feb 07, 2022 09:54 PM
Re: MS Visual Studio
Posted: Sat Jul 09, 2022 08:35 PM

Antonio,
I built fivedbu and fivedit with buildh.bat.
Both take about 1 second to start. :shock:

Posts: 218
Joined: Mon Feb 07, 2022 09:54 PM
Re: MS Visual Studio
Posted: Sun Jul 10, 2022 07:38 AM

Dear Antonio and all others,

this morning suddenly my app starts within a second.
It still takes about 7 seconds to start after the message * Application successfully built * appears.
But this is okay because once built my app now starts immediately.

Don't know what happend - may be a glitch on my development pc.
I am very sorry having caused such irritation and unneeded work for you. :oops:

Regards, Detlef

Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM
Re: MS Visual Studio
Posted: Sun Jul 10, 2022 11:44 AM

Dear Detlef,

Congratulations

You are very welcome :-)

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 1789
Joined: Tue Oct 11, 2005 05:01 PM
Re: MS Visual Studio
Posted: Sun Jul 10, 2022 05:08 PM

Only for test, can you disable av and try?

Salu2

Carlos Vargas

Desde Managua, Nicaragua (CA)
Posts: 218
Joined: Mon Feb 07, 2022 09:54 PM
Re: MS Visual Studio
Posted: Sun Jul 10, 2022 05:29 PM

Carlos, what is 'av', please?

Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM
Re: MS Visual Studio
Posted: Sun Jul 10, 2022 07:41 PM

I guess he means anti virus...

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 1789
Joined: Tue Oct 11, 2005 05:01 PM
Re: MS Visual Studio
Posted: Mon Jul 11, 2022 02:07 AM

yes, anti virus.
an other option is run a ccleaner, and clean prefetch of windows an try.

Salu2

Carlos Vargas

Desde Managua, Nicaragua (CA)

Continue the discussion