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

C / C++ / MFC

 
GeneralRe: Dll Registration Pin
abhinarulkar8-Aug-02 23:05
abhinarulkar8-Aug-02 23:05 
GeneralThread Synchronization :: Win32 API vs. MFC Pin
valikac8-Aug-02 15:47
valikac8-Aug-02 15:47 
GeneralRe: Thread Synchronization :: Win32 API vs. MFC Pin
Nish Nishant8-Aug-02 17:24
sitebuilderNish Nishant8-Aug-02 17:24 
GeneralRe: Thread Synchronization :: Win32 API vs. MFC Pin
valikac8-Aug-02 17:27
valikac8-Aug-02 17:27 
GeneralChecksum Pin
Ed Gadziemski8-Aug-02 13:04
professionalEd Gadziemski8-Aug-02 13:04 
GeneralSending and Receiving Files Pin
fdmanana8-Aug-02 12:46
fdmanana8-Aug-02 12:46 
GeneralRe: Humm... Pin
Masaaki Onishi8-Aug-02 19:28
Masaaki Onishi8-Aug-02 19:28 
GeneralCreateFile & WriteFile Pin
Mavrock8-Aug-02 12:14
Mavrock8-Aug-02 12:14 
I would like to send an ASCII string out my serial port by pressing one of the buttons. I don't need it to effect anything else just the one specific string. A friend gave me an idea how to do it. I was wondering if everyone could take a look at my code and tell me what I need to change to complete it. I hope this makes sense what I said. I am new to Visual C++

const char * AsciiCmd = "GO";
CreateFile(AsciiCmd, GENERIC_READ |GENERIC_WRITE,
0, 0, OPEN_EXISTING, FILE_FLAG_OVERLAPPED, 0);
WriteFile(AsciiCmd, GENERIC_READ //I don't know what to put in next or if this is even going to work.

thankyou for any help you can give.
Mavrock
GeneralCPropertySheet - initialization Pin
john john mackey8-Aug-02 12:06
john john mackey8-Aug-02 12:06 
GeneralRe: CPropertySheet - initialization Pin
john john mackey8-Aug-02 12:27
john john mackey8-Aug-02 12:27 
QuestionBuggy Debug? Pin
dazinith8-Aug-02 11:36
dazinith8-Aug-02 11:36 
AnswerRe: Buggy Debug? Pin
Shog98-Aug-02 12:23
sitebuilderShog98-Aug-02 12:23 
GeneralRe: Buggy Debug? Pin
dazinith9-Aug-02 4:07
dazinith9-Aug-02 4:07 
AnswerRe: Buggy Debug? Pin
Chris Losinger8-Aug-02 19:37
professionalChris Losinger8-Aug-02 19:37 
AnswerRe: Buggy Debug? Pin
Jeremy Pullicino8-Aug-02 23:42
Jeremy Pullicino8-Aug-02 23:42 
GeneralTimers, Windows and a stupid DLL Pin
User 66588-Aug-02 10:07
User 66588-Aug-02 10:07 
GeneralIAS Extension DLL Pin
Mauricio Ritter8-Aug-02 9:27
Mauricio Ritter8-Aug-02 9:27 
GeneralHeelp!! Double buffering!! Pin
Rickard Andersson208-Aug-02 8:19
Rickard Andersson208-Aug-02 8:19 
GeneralRe: Heelp!! Double buffering!! Pin
Rickard Andersson208-Aug-02 8:40
Rickard Andersson208-Aug-02 8:40 
GeneralKey codes from low level hooks Pin
Alex Korchemniy8-Aug-02 8:19
Alex Korchemniy8-Aug-02 8:19 
GeneralRe: Key codes from low level hooks Pin
Renjith Ramachandran8-Aug-02 9:09
Renjith Ramachandran8-Aug-02 9:09 
GeneralRe: Key codes from low level hooks Pin
Jon Hulatt9-Aug-02 1:23
Jon Hulatt9-Aug-02 1:23 
QuestionAutomatic Scrolling in a list box? Pin
Anonymous Dave8-Aug-02 8:15
sussAnonymous Dave8-Aug-02 8:15 
AnswerRe: Automatic Scrolling in a list box? Pin
Tomasz Sowinski8-Aug-02 8:50
Tomasz Sowinski8-Aug-02 8:50 
GeneralRe: Automatic Scrolling in a list box? Pin
Anonymous Dave8-Aug-02 10:04
sussAnonymous Dave8-Aug-02 10:04 

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.