Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

WHAT IS WRONG ??? (MSCOMM)

Status
Not open for further replies.

HadiRezaee

Technical User
Mar 9, 2001
165
IR
What is my wrong in this code for dialing ???

VARIANT var;
CString szTemp("+++ATDP118\n");
var.vt = VT_BSTR;
var.bstrVal = szTemp.AllocSysString();
m_comm.SetPortOpen(TRUE);
m_comm.SetOutput(var); // WON'T WORK !!!

Please help me ...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top