Click here to Skip to main content
15,909,205 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Questiongetting port no to whcih cthe systems r connected Pin
svknair19-Apr-11 2:24
svknair19-Apr-11 2:24 
AnswerRe: getting port no to whcih cthe systems r connected Pin
Hans Dietrich19-Apr-11 3:35
mentorHans Dietrich19-Apr-11 3:35 
QuestionError:: sprintf' : cannot convert parameter 1 from 'TCHAR [128]' to 'char *' in Unicode Build Pin
Le@rner19-Apr-11 2:13
Le@rner19-Apr-11 2:13 
AnswerRe: Error:: sprintf' : cannot convert parameter 1 from 'TCHAR [128]' to 'char *' in Unicode Build Pin
_AnsHUMAN_ 19-Apr-11 2:24
_AnsHUMAN_ 19-Apr-11 2:24 
AnswerRe: Error:: sprintf' : cannot convert parameter 1 from 'TCHAR [128]' to 'char *' in Unicode Build Pin
వేంకటనారాయణ(venkatmakam)19-Apr-11 2:29
వేంకటనారాయణ(venkatmakam)19-Apr-11 2:29 
GeneralRe: Error:: sprintf' : cannot convert parameter 1 from 'TCHAR [128]' to 'char *' in Unicode Build Pin
Le@rner19-Apr-11 22:19
Le@rner19-Apr-11 22:19 
Questionmanipulare stdin Pin
baerten18-Apr-11 23:04
baerten18-Apr-11 23:04 
AnswerRe: manipulare stdin Pin
rahul.kulshreshtha19-Apr-11 0:22
rahul.kulshreshtha19-Apr-11 0:22 
I guess u can not write in input stream and you can not read from output stream.
However it looks like you have two threads one is reading Barcode from device and you want to pass it into another thread.
Why you are using gets for that? You have two ways.

1. Start second thread after reading the Barcode. Pass barcode as an argument of thread
or
2. If you can not pass then you can use global variable.
GeneralRe: manipulare stdin Pin
baerten20-Apr-11 20:39
baerten20-Apr-11 20:39 
AnswerRe: manipulare stdin Pin
Niklas L19-Apr-11 1:27
Niklas L19-Apr-11 1:27 
GeneralRe: manipulare stdin Pin
baerten20-Apr-11 20:41
baerten20-Apr-11 20:41 
Question*objectName Vs objectName-> Pin
rahul.kulshreshtha18-Apr-11 21:33
rahul.kulshreshtha18-Apr-11 21:33 
AnswerRe: *objectName Vs objectName-> Pin
Niklas L18-Apr-11 21:58
Niklas L18-Apr-11 21:58 
GeneralRe: *objectName Vs objectName-> Pin
rahul.kulshreshtha18-Apr-11 22:21
rahul.kulshreshtha18-Apr-11 22:21 
GeneralRe: *objectName Vs objectName-> Pin
Niklas L18-Apr-11 22:41
Niklas L18-Apr-11 22:41 
GeneralRe: *objectName Vs objectName-> Pin
rahul.kulshreshtha19-Apr-11 0:11
rahul.kulshreshtha19-Apr-11 0:11 
AnswerRe: *objectName Vs objectName-> Pin
«_Superman_»18-Apr-11 22:09
professional«_Superman_»18-Apr-11 22:09 
GeneralRe: *objectName Vs objectName-> Pin
rahul.kulshreshtha18-Apr-11 22:19
rahul.kulshreshtha18-Apr-11 22:19 
Questionpreprocessor directives - resource Pin
g_satish18-Apr-11 21:03
g_satish18-Apr-11 21:03 
AnswerRe: preprocessor directives - resource Pin
Niklas L18-Apr-11 22:04
Niklas L18-Apr-11 22:04 
AnswerRe: preprocessor directives - resource Pin
వేంకటనారాయణ(venkatmakam)18-Apr-11 23:32
వేంకటనారాయణ(venkatmakam)18-Apr-11 23:32 
QuestionRe: preprocessor directives - resource Pin
g_satish19-Apr-11 0:03
g_satish19-Apr-11 0:03 
AnswerRe: preprocessor directives - resource Pin
Niklas L19-Apr-11 0:33
Niklas L19-Apr-11 0:33 
GeneralRe: preprocessor directives - resource Pin
g_satish19-Apr-11 0:42
g_satish19-Apr-11 0:42 
GeneralRe: preprocessor directives - resource Pin
David Crow19-Apr-11 7:22
David Crow19-Apr-11 7:22 

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.