Ported my JavaScript selectSql function to C++, so as not to use the node-winole32 module, which has torrential memory leaks, and probably other issues besides.