FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Help needed
Posts: 1091
Joined: Thu Nov 17, 2005 11:08 AM
Help needed
Posted: Tue Oct 08, 2013 07:44 PM
Hi all,
srv_spi.exe is a software written by me in xharbour/fivewin.
It runs in one of my customer's windows server.



This dialog sometimes appears and a web application written by other developers
running on the same server stops working (e.g. graphics do not work on browsers)

Other programmers say to my customer that the problem is that I do not use
TRY CATCH END which it's true: I never use this kind of syntax but this program
never crashes, indeed!

How can I solve this problem without modifying my program?
How can I avoid this Visual Studio debugger?


King regards
Marco
Marco Boschi
info@marcoboschi.it
Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM
Re: Help needed
Posted: Wed Oct 09, 2013 07:53 AM

Marco,

Please check if a hb_out.log file is created and post its contents here, thanks

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 1091
Joined: Thu Nov 17, 2005 11:08 AM
Re: Help needed
Posted: Wed Oct 09, 2013 08:27 AM
Antonio,
no hb_out.log file found
Many thanks

I read this too
http://msdn.microsoft.com/it-it/library/5hs4b7a6.aspx
Marco Boschi
info@marcoboschi.it
Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM
Re: Help needed
Posted: Wed Oct 09, 2013 08:54 AM

Marco,

You need to place some traces in your app to know where the execution is and where the GPF comes from.

You may use the function LogFile( cLogFile, { data,... } ) to keep track of where the user is.

There is no other way: Or we get a hb_out.log or we have to place traces to locate the GPF.

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 1091
Joined: Thu Nov 17, 2005 11:08 AM
Re: Help needed
Posted: Wed Oct 09, 2013 08:56 AM

Antonio,
the same program in another pc works fine.
Now I make others experiments and then I'll keep you updated

Marco Boschi
info@marcoboschi.it
Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM
Re: Help needed
Posted: Wed Oct 09, 2013 08:58 AM

Marco,

> the same program in another pc works fine.

thats why we need to know whats the difference on the one where the error happens and what error it is.

> Now I make others experiments and then I'll keep you updated

ok

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 1091
Joined: Thu Nov 17, 2005 11:08 AM
Re: Help needed
Posted: Fri Oct 11, 2013 12:11 PM

I found this

a.. Right click My PC / Properties.
b.. Click Advanced Tab
c.. Under Performance, click Settings
d.. Click Data Excecution Prevention tab
e.. Select Turn on DEP for essential Windows programs and services only
f.. Restart Windows

This option is selected by default, but with installation of SQL 2005 or
Visual Studio it changes and start to cause a series of trouble without any
information to the user.

I will shortly tests

Marco Boschi
info@marcoboschi.it
Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM
Re: Help needed
Posted: Sat Oct 12, 2013 08:04 AM

Marco,

thanks for your feedback

regards, saludos

Antonio Linares
www.fivetechsoft.com

Continue the discussion