So I believe I figure out the problem the timberline Data ODBC is only x32 bit the this c++ code was complied for x64 for what I understand those will never be able to talk.