Modem Code

Hi All,

We wrote a code for modem, our application no problem run on Windows 98 but having a problem run on windows 2000 and XP.

Any idea about this?
Please advice..

CString m_ServerNum = “9,64809988”;

CString serverCmd = "ATV1Q0DT";

serverCmd = serverCmd+m_ServerNum;


UINT len = serverCmd.GetLength();

char* StartupStr = (LPTSTR)serverCmd.GetBuffer(len);


if (!::WriteFile (hPort, StartupStr, len, &BytesWritten, NULL))

            return ERROR;
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

All Courses

From novice to tech pro — start learning today.