Casting between char and SQLCHAR