Hello,
I am really shamed to say now that the problem was caused by "error in programmer" i've made... That happens so often, especially after 20 hours of continuous coding. Due to stupid typo in mysql structure declaration.
I used
Code:
MYSQL *db_conn; /* WRONG */
instead of
Code:
MYSQL db_conn; /* CORRECT */
Shure, i should read compiler warnings more carefully.
Thats all. Problem solved.
Thanks to everyone for replies and suggestions!
Regards.