Shmuma / sqlite3-mt4-wrapper

Wrapper DLL for sqlite3 usage from MT4
http://www.shmuma.ru/mt4-sqlite.html
45 stars 29 forks source link

Access violation read #10

Open gnaritas opened 8 years ago

gnaritas commented 8 years ago

Access violation read to 0x00000000 in 'C:\Program Files\MetaTrader4\MQL4\Libraries\sqlite3_wrapper.dll'

Any idea what this error is? It only happens intermittently and prevents the expert from starting up.

poluxbrayz commented 7 years ago

I have the same problem, tell me what is the solution.

waynelin923 commented 6 years ago

me too.

xoxo111 commented 6 years ago

@Shmuma can you fix it?.

domiflichi commented 3 years ago

Same here. If it helps, I have no problem with the sample script that is provided. But when i try to run the code in an EA in OnTick() this is when i get the error.

Has anyone figured this issue out?

domiflichi commented 3 years ago

OK guys, I figured it out...at least for why it was happening to me. It was because I had the wrong (non-existent) table name in my select statement! It also may have happened because at one point I had the table name the same as the database name so I change the table name in my database (and updated the select statement to match of course), so watch out for that too! I wish the error message were a little more specific, but oh well.