cancel
Showing results for 
Search instead for 
Did you mean: 

GetIntWithType on iOS

Former Member
0 Kudos
1,090

I have a select statement such as "select count(*) from table_name"

On the iOS simulator if I use resultset->GetIntWithType(x, UL_TYPE_S_LONG); I get the correct value. However, on the device I get a vary large number greater than MaxInt. If I change it to use resultSet->GetInt(x); it works.

I assume this is a bug? Do any of the GetIntWithType function methods work?

12.0.1.3853

Accepted Solutions (1)

Accepted Solutions (1)

Former Member

I did some more research and it looks like the problem was not with GetIntWithType but when I used it in Mono. If I change my property to an int instead of a long everything is fine.

Answers (0)