Yes, you are right, Lykurg!

I have just found something about forward declaration in Google and used it in my code and it works now! Thank you very much.

best regards,

Vitali