MS Visual Studio

Re: MS Visual Studio

Postby Detlef » Sat Jul 09, 2022 7:33 pm

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

Re: MS Visual Studio

Postby Antonio Linares » Sat Jul 09, 2022 7: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
User avatar
Antonio Linares
Site Admin
 
Posts: 42099
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: MS Visual Studio

Postby Detlef » Sat Jul 09, 2022 8:35 pm

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

Postby Detlef » Sun Jul 10, 2022 7: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
User avatar
Detlef
 
Posts: 209
Joined: Mon Feb 07, 2022 9:54 pm

Re: MS Visual Studio

Postby Antonio Linares » Sun Jul 10, 2022 11:44 am

Dear Detlef,

Congratulations

You are very welcome :-)
regards, saludos

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

Re: MS Visual Studio

Postby carlos vargas » Sun Jul 10, 2022 5:08 pm

Only for test, can you disable av and try?
Salu2
Carlos Vargas
Desde Managua, Nicaragua (CA)
User avatar
carlos vargas
 
Posts: 1720
Joined: Tue Oct 11, 2005 5:01 pm
Location: Nicaragua

Re: MS Visual Studio

Postby Detlef » Sun Jul 10, 2022 5:29 pm

Carlos, what is 'av', please?
User avatar
Detlef
 
Posts: 209
Joined: Mon Feb 07, 2022 9:54 pm

Re: MS Visual Studio

Postby Antonio Linares » Sun Jul 10, 2022 7:41 pm

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

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

Re: MS Visual Studio

Postby carlos vargas » Mon Jul 11, 2022 2: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)
User avatar
carlos vargas
 
Posts: 1720
Joined: Tue Oct 11, 2005 5:01 pm
Location: Nicaragua

Previous

Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 77 guests