Click here to Skip to main content
15,914,010 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: loading icon to mainframe Pin
Mazdak3-Feb-02 7:01
Mazdak3-Feb-02 7:01 
GeneralRe: loading icon to mainframe Pin
3-Feb-02 13:41
suss3-Feb-02 13:41 
GeneralRe: loading icon to mainframe Pin
Jay Beckert3-Feb-02 14:57
Jay Beckert3-Feb-02 14:57 
GeneralRe: loading icon to mainframe Pin
Jay Beckert3-Feb-02 15:09
Jay Beckert3-Feb-02 15:09 
GeneralRe: loading icon to mainframe Pin
Fredrik Skog4-Feb-02 0:17
Fredrik Skog4-Feb-02 0:17 
GeneralRe: loading icon to mainframe Pin
5-Feb-02 2:08
suss5-Feb-02 2:08 
Generalan event from comm-port Pin
Sergei3-Feb-02 3:32
Sergei3-Feb-02 3:32 
GeneralRe: an event from comm-port Pin
.:: RockNix ::.3-Feb-02 21:37
.:: RockNix ::.3-Feb-02 21:37 
(1) Init an event by using CreateEvent()
(2) Add in OVERLAPPED struct to your code
(3) Insert the event (1) into (2)
(4) CreateFile() with FILE_FLAG_OVERLAPPED

Now call WaitCommEvent() with LPOVERLAPPED = (2) whereever you want. Wenn the specified com-event occurs the event (1) will be set to signaled state. You should wait for it with WaitForSingleObject() in a seperate thread.





Stay heavy ... RockNix///
-------------------------------
Look out for free Win32
Serial Communication Module
for VC++ or Borland C++ Builder
on http://www.klangwerker.de
-------------------------------

GeneralPrinter Pin
Stan the man3-Feb-02 2:04
Stan the man3-Feb-02 2:04 
GeneralRe: Printer Pin
56789012343-Feb-02 21:00
56789012343-Feb-02 21:00 
GeneralMediaplayer Pin
RichardWdy3-Feb-02 1:36
RichardWdy3-Feb-02 1:36 
GeneralRe: Mediaplayer Pin
Mazdak3-Feb-02 3:45
Mazdak3-Feb-02 3:45 
GeneralRe: Mediaplayer Pin
RichardWdy3-Feb-02 17:02
RichardWdy3-Feb-02 17:02 
GeneralCrystal Report and changing database path ... Pin
Hadi Rezaee3-Feb-02 1:14
Hadi Rezaee3-Feb-02 1:14 
GeneralAccessing a MDI child window. Pin
kelthar2-Feb-02 23:31
kelthar2-Feb-02 23:31 
GeneralRe: Accessing a MDI child window. Pin
Mazdak3-Feb-02 0:54
Mazdak3-Feb-02 0:54 
GeneralFence post counterpart Pin
alex.barylski2-Feb-02 21:42
alex.barylski2-Feb-02 21:42 
Questionsorting arrays?? Pin
2-Feb-02 19:08
suss2-Feb-02 19:08 
AnswerRe: sorting arrays?? Pin
Paul M Watt2-Feb-02 19:58
mentorPaul M Watt2-Feb-02 19:58 
AnswerRe: sorting arrays?? Pin
alex.barylski2-Feb-02 19:59
alex.barylski2-Feb-02 19:59 
AnswerRe: sorting arrays?? Pin
Christian Graus3-Feb-02 2:14
protectorChristian Graus3-Feb-02 2:14 
Questioninsert elements in order??? Pin
2-Feb-02 17:12
suss2-Feb-02 17:12 
AnswerRe: insert elements in order??? Pin
Paul M Watt2-Feb-02 17:41
mentorPaul M Watt2-Feb-02 17:41 
GeneralRe: insert elements in order??? Pin
2-Feb-02 17:52
suss2-Feb-02 17:52 
GeneralRe: insert elements in order??? Pin
Paul M Watt2-Feb-02 18:53
mentorPaul M Watt2-Feb-02 18:53 

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.