Access Violation

To add comments, please log in or register
Henrique Vilela
1966
Henrique Vilela  


What kind of code could cause this? (backtest)

I tried to run it in the debug mode (ctrl+F5) to nail down the exactly line that generates this, but when it happens the debbuger also stops.

Icham Aidibe
11288
Icham Aidibe  
Henrique Vilela:


What kind of code could cause this? (backtest)

I tried to run it in the debug mode (ctrl+F5) to pin nail the exactly line that generates this, but when it happens the debbuger also stops.

Sleep() inside ?

Henrique Vilela
1966
Henrique Vilela  
Icham Aidibe:

Sleep() inside ?

No, no sleep.

Sorry if I don't give much information, but it's a huge code and I get no ideia what could generate this error.

The problem is erraticI'm just restarting the same test over and over sometimes it happens in one point, sometimes in another, sometimes does not happen at all.

All with the same EA, same strategy tester and all...

Icham Aidibe
11288
Icham Aidibe  
Henrique Vilela:

No, no sleep.

Sorry if I don't give much information, but it's a huge code and I get no ideia what could generate this error.

The problem is erraticI'm just restarting the same test over and over sometimes it happens in one point, sometimes in another, sometimes does not happen at all.

All with the same EA, same strategy tester and all...

OnTimer() ?

Henrique Vilela
1966
Henrique Vilela  
I do use OnTimer, but always used. How It could generate this error? 
Icham Aidibe
11288
Icham Aidibe  
Henrique Vilela:
I do use OnTimer, but always used. How It could generate this error? 

It's inside. Try commenting one by one called made from, you'll find what's happening there.

Petr Nosek
1199
Petr Nosek  
Henrique Vilela:

What kind of code could cause this? (backtest)

I tried to run it in the debug mode (ctrl+F5) to nail down the exactly line that generates this, but when it happens the debbuger also stops.

Are you using DLLs?
Henrique Vilela
1966
Henrique Vilela  
Petr Nosek:
Are you using DLLs?
No DLL at all.
To add comments, please log in or register