I am trying to compile for Win64, any luck anyone?
I was getting this "out of sync" error as well. I think that it is related to autocommit and using InnoDB tables. It happens in other languages (eg PHP and Python), so it may not be a bug of mYm. Actually the cpp source code is very neat!
To use my InnoDB table, I first send the following:
mym('SET autocommit = 1');
Then everything seems to work fine.
I also noticed that sending multiple SQL commands in one go, e.g.
mym('begin; insert ...; end;')
will not work well. It may execute, but if there is an error in the query, it won't be returned to you. Rather use