- Code:
m_hCom = CreateFile(m_sComPort,
GENERIC_READ,
0,
NULL, //
OPEN_EXISTING,
0, //
NULL);
hi !!
cannot get handle with CreateFile.always get
0xffffffff (m_sComPort is ok ("COM2"))
thanks
nio
A read-only archive of the PocketMatrix forums (2001–2014). Posting and accounts are closed.
m_hCom = CreateFile(m_sComPort,
GENERIC_READ,
0,
NULL, //
OPEN_EXISTING,
0, //
NULL);