Hi All,

I want to connect to my TD server using WR code, my code is

print TdServerInitInstance("free","server");
print TDAPI_Connect("db","rep","user","pass");
print getvar("td_connection");

Output of the first two statements is zero (0), but the third statement is "off". But when I connect through Tools / TestDirector connection, i got output "on" for the third statement. What is the wrong with my code? plz Help.

Thanks in advance