Click here to Skip to main content
16,006,845 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralSerial Port --> Write Pin
shpid3r13-Apr-08 7:21
shpid3r13-Apr-08 7:21 
GeneralRe: Serial Port --> Write Pin
Ed.Poore13-Apr-08 7:45
Ed.Poore13-Apr-08 7:45 
GeneralRe: Serial Port --> Write Pin
shpid3r13-Apr-08 8:05
shpid3r13-Apr-08 8:05 
GeneralRe: Serial Port --> Write Pin
ERLN13-Apr-08 21:00
ERLN13-Apr-08 21:00 
QuestionRe: Serial Port --> Write Pin
bob1697213-Apr-08 8:19
bob1697213-Apr-08 8:19 
GeneralRe: Serial Port --> Write Pin
shpid3r13-Apr-08 11:15
shpid3r13-Apr-08 11:15 
GeneralRe: Serial Port --> Write [modified] Pin
CPallini13-Apr-08 10:26
mveCPallini13-Apr-08 10:26 
GeneralRe: Serial Port --> Write Pin
shpid3r13-Apr-08 11:21
shpid3r13-Apr-08 11:21 
Uhm... I`m sorry, Pallini, but
TCHAR [] PortName = _T("COM1");
generates this warning:
warning C4091: '' : ignored on left of 'WCHAR' when no variable is declared

and subsequent errors:

error C2143: syntax error : missing ';' before '['
error C3409: empty attribute block is not allowed
error C2470: 'PortName' : looks like a function definition, but there is no parameter list; skipping apparent body
error C2059: syntax error : '='


I think you were trying to adapt the data type to the one CreateFile is waiting for... Well, I could use CreateFile(L"Com1"...) - which i`ve already tested - and it works... Still, the error remains.
GeneralRe: Serial Port --> Write Pin
CPallini13-Apr-08 12:13
mveCPallini13-Apr-08 12:13 
GeneralRe: Serial Port --> Write Pin
shpid3r13-Apr-08 11:32
shpid3r13-Apr-08 11:32 
QuestionRe: Serial Port --> Write Pin
David Crow14-Apr-08 4:32
David Crow14-Apr-08 4:32 
QuestionEncryption using AES Pin
Strategic_Thinker13-Apr-08 5:06
Strategic_Thinker13-Apr-08 5:06 
GeneralRe: Encryption using AES Pin
Randor 13-Apr-08 7:21
professional Randor 13-Apr-08 7:21 
GeneralRe: Encryption using AES Pin
Strategic_Thinker13-Apr-08 10:56
Strategic_Thinker13-Apr-08 10:56 
GeneralCStringW to CStringA Pin
Joseph Marzbani13-Apr-08 4:14
Joseph Marzbani13-Apr-08 4:14 
GeneralRe: CStringW to CStringA Pin
CPallini13-Apr-08 5:08
mveCPallini13-Apr-08 5:08 
GeneralCEdit Control Pin
john563213-Apr-08 1:50
john563213-Apr-08 1:50 
GeneralRe: CEdit Control Pin
Joseph Marzbani13-Apr-08 2:12
Joseph Marzbani13-Apr-08 2:12 
GeneralRe: CEdit Control Pin
john563213-Apr-08 2:13
john563213-Apr-08 2:13 
GeneralRe: CEdit Control Pin
Joseph Marzbani13-Apr-08 2:22
Joseph Marzbani13-Apr-08 2:22 
GeneralRe: CEdit Control Pin
Hamid_RT14-Apr-08 19:56
Hamid_RT14-Apr-08 19:56 
GeneralRe: CEdit Control Pin
David Crow14-Apr-08 4:35
David Crow14-Apr-08 4:35 
GeneralRe: CEdit Control Pin
Hamid_RT14-Apr-08 19:54
Hamid_RT14-Apr-08 19:54 
GeneralCString convertion problem Pin
Max++13-Apr-08 1:27
Max++13-Apr-08 1:27 
GeneralRe: CString convertion problem Pin
Joseph Marzbani13-Apr-08 2:16
Joseph Marzbani13-Apr-08 2:16 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.