For setting SQL_ATTR_ROW_BIND_TYPE, please set the 4th argument as the constant SQL_IS_UINTEGER.
But I don't think that this is the root cause of the issue. Since the error message is about "function sequence error", please pay special attention if you are using DAE parameter or ASYNC functionality. Please double-check the return code of previously-called functions carefully.
If the issue can be reproduced easily, please try to capture us a ODBC Trace log or BidTrace log. You can see the detail instruction on MSDN. I wonder what the OS of the 32-bit OS is, and what is your new OS? Win7?