That's because a long in VB is the same as an int in C++...