but add is c++/cli and queue is c++. c++/cli is not the same as c++. As this seems to be a c+/cli issue, I've moved this thread to the c++/cli forum.