MS Visual Studio

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

Re: MS Visual Studio

Post by Detlef »

Dear Antonio,

this is very curious...
Here my logfile

Code: Select all | Expand


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.
User avatar
Antonio Linares
Site Admin
Posts: 42595
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Has thanked: 40 times
Been thanked: 86 times
Contact:

Re: MS Visual Studio

Post 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...
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Detlef
Posts: 209
Joined: Mon Feb 07, 2022 9:54 pm

Re: MS Visual Studio

Post by Detlef »

Antonio,
I built fivedbu and fivedit with buildh.bat.
Both take about 1 second to start. :shock:
User avatar
Detlef
Posts: 209
Joined: Mon Feb 07, 2022 9:54 pm

Re: MS Visual Studio

Post 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
User avatar
Antonio Linares
Site Admin
Posts: 42595
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Has thanked: 40 times
Been thanked: 86 times
Contact:

Re: MS Visual Studio

Post by Antonio Linares »

Dear Detlef,

Congratulations

You are very welcome :-)
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
carlos vargas
Posts: 1723
Joined: Tue Oct 11, 2005 5:01 pm
Location: Nicaragua

Re: MS Visual Studio

Post by carlos vargas »

Only for test, can you disable av and try?
Salu2
Carlos Vargas
Desde Managua, Nicaragua (CA)
User avatar
Detlef
Posts: 209
Joined: Mon Feb 07, 2022 9:54 pm

Re: MS Visual Studio

Post by Detlef »

Carlos, what is 'av', please?
User avatar
Antonio Linares
Site Admin
Posts: 42595
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Has thanked: 40 times
Been thanked: 86 times
Contact:

Re: MS Visual Studio

Post by Antonio Linares »

I guess he means anti virus...
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
carlos vargas
Posts: 1723
Joined: Tue Oct 11, 2005 5:01 pm
Location: Nicaragua

Re: MS Visual Studio

Post by carlos vargas »

yes, anti virus.
an other option is run a ccleaner, and clean prefetch of windows an try.
Salu2
Carlos Vargas
Desde Managua, Nicaragua (CA)
Post Reply