Click here to Skip to main content
15,886,199 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Generaltimeout for while loop Pin
trigger9128-Jul-05 8:53
susstrigger9128-Jul-05 8:53 
GeneralRe: timeout for while loop Pin
Alexander M.,28-Jul-05 8:57
Alexander M.,28-Jul-05 8:57 
GeneralRe: timeout for while loop Pin
trigger9128-Jul-05 9:33
susstrigger9128-Jul-05 9:33 
GeneralRe: timeout for while loop Pin
Alexander M.,29-Jul-05 4:26
Alexander M.,29-Jul-05 4:26 
GeneralRe: timeout for while loop Pin
Peter Weyzen28-Jul-05 9:46
Peter Weyzen28-Jul-05 9:46 
GeneralRe: timeout for while loop Pin
Alexander M.,29-Jul-05 4:25
Alexander M.,29-Jul-05 4:25 
GeneralRe: timeout for while loop Pin
David Crow29-Jul-05 6:03
David Crow29-Jul-05 6:03 
GeneralRe: timeout for while loop Pin
nm_11429-Jul-05 14:16
nm_11429-Jul-05 14:16 
I don't know if this is a good way to do it but you could try something like:
DWORD t = GetTickCount();
while (1)
{
if ((GetTickCount() - t) > 300)
	break;
}

Generalread from comport problem Pin
quarry_0628-Jul-05 8:42
quarry_0628-Jul-05 8:42 
GeneralRe: read from comport problem Pin
Bob Stanneveld28-Jul-05 19:19
Bob Stanneveld28-Jul-05 19:19 
GeneralRe: read from comport problem Pin
quarry_0629-Jul-05 8:15
quarry_0629-Jul-05 8:15 
GeneralRe: read from comport problem Pin
Bob Stanneveld1-Aug-05 1:01
Bob Stanneveld1-Aug-05 1:01 
GeneralWeb Services from VC++ 6.0 Pin
carks28-Jul-05 8:21
carks28-Jul-05 8:21 
GeneralRe: Web Services from VC++ 6.0 Pin
fakefur28-Jul-05 10:05
fakefur28-Jul-05 10:05 
GeneralRe: Web Services from VC++ 6.0 Pin
Ravi Bhavnani28-Jul-05 10:16
professionalRavi Bhavnani28-Jul-05 10:16 
GeneralHelp me... Rich Edit Pin
Aqueel28-Jul-05 8:18
Aqueel28-Jul-05 8:18 
GeneralRe: Help me... Rich Edit Pin
John R. Shaw28-Jul-05 8:51
John R. Shaw28-Jul-05 8:51 
GeneralRe: Help me... Rich Edit Pin
David Crow28-Jul-05 9:49
David Crow28-Jul-05 9:49 
GeneralChild Dialog Background Color Pin
liehann28-Jul-05 8:12
liehann28-Jul-05 8:12 
GeneralRe: Child Dialog Background Color Pin
Alexander M.,28-Jul-05 9:32
Alexander M.,28-Jul-05 9:32 
GeneralRe: Child Dialog Background Color Pin
liehann28-Jul-05 21:01
liehann28-Jul-05 21:01 
General'needs to have dll-interface' warning Pin
Themis28-Jul-05 7:39
Themis28-Jul-05 7:39 
Question#define a comment to remove code? Pin
Giles28-Jul-05 6:31
Giles28-Jul-05 6:31 
AnswerRe: #define a comment to remove code? Pin
Alexander M.,28-Jul-05 9:00
Alexander M.,28-Jul-05 9:00 
AnswerRe: #define a comment to remove code? Pin
Bob Stanneveld28-Jul-05 19:21
Bob Stanneveld28-Jul-05 19:21 

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.