001
15.02.2004, 14:59 Uhr
~global
Gast
|
hi, was genau verstehst du nicht bei createfile/writefile ?
C++: |
HANDLE h_Port = CreateFile("\\\\.\\LPT1", GENERIC_READ|GENERIC_WRITE, 0, NULL, OPEN_EXISTING, 0 , NULL);
|
C++: |
CString text = "Port geoeffnet.\r\n"; DWORD Bytes(0); WriteFile(h_Port, text.GetBuffer(text.GetLength()), text.GetLength(), &Bytes, NULL);
|
banaler gehts nicht... |