Page 2 of 2

Re: MS Visual Studio

PostPosted: Sat Jul 09, 2022 7:33 pm
by Detlef
Dear Antonio,

this is very curious...
Here my logfile
Code: Select all  Expand view

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.

Re: MS Visual Studio

PostPosted: Sat Jul 09, 2022 7:44 pm
by Antonio Linares
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...

Re: MS Visual Studio

PostPosted: Sat Jul 09, 2022 8:35 pm
by Detlef
Antonio,
I built fivedbu and fivedit with buildh.bat.
Both take about 1 second to start. :shock:

Re: MS Visual Studio

PostPosted: Sun Jul 10, 2022 7:38 am
by Detlef
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

Re: MS Visual Studio

PostPosted: Sun Jul 10, 2022 11:44 am
by Antonio Linares
Dear Detlef,

Congratulations

You are very welcome :-)

Re: MS Visual Studio

PostPosted: Sun Jul 10, 2022 5:08 pm
by carlos vargas
Only for test, can you disable av and try?

Re: MS Visual Studio

PostPosted: Sun Jul 10, 2022 5:29 pm
by Detlef
Carlos, what is 'av', please?

Re: MS Visual Studio

PostPosted: Sun Jul 10, 2022 7:41 pm
by Antonio Linares
I guess he means anti virus...

Re: MS Visual Studio

PostPosted: Mon Jul 11, 2022 2:07 am
by carlos vargas
yes, anti virus.
an other option is run a ccleaner, and clean prefetch of windows an try.