[SOLVED] Access violation - code c0000005 (first/second chance not available)

Welp, whopsie daisy. Thanks for that. This was the problem. Everything works well now.
Thanks mate.

Oh so it is really like that. Thanks mate.