S
Steve Curvey
Guest
I have to setup a structure for a function call and if I do this:
std::vector<WORD> a;
a.push_back(0x0001);
the function calling the structure gives an error of invalid data, but if I do this:
std::vector<WORD> a;
a.push_back(1);
it works. What's the difference between the two?
Continue reading...
std::vector<WORD> a;
a.push_back(0x0001);
the function calling the structure gives an error of invalid data, but if I do this:
std::vector<WORD> a;
a.push_back(1);
it works. What's the difference between the two?
Continue reading...