Click here to Skip to main content
15,900,108 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralCreating a combobox & checkbox dynamically Pin
PrashantJ11-Aug-04 0:18
PrashantJ11-Aug-04 0:18 
GeneralRe: Creating a combobox & checkbox dynamically Pin
dipeka11-Aug-04 1:30
dipeka11-Aug-04 1:30 
GeneralRe: Creating a combobox & checkbox dynamically Pin
PrashantJ11-Aug-04 1:47
PrashantJ11-Aug-04 1:47 
GeneralRe: Creating a combobox & checkbox dynamically Pin
dipeka11-Aug-04 2:11
dipeka11-Aug-04 2:11 
GeneralRe: Creating a combobox & checkbox dynamically Pin
Antti Keskinen11-Aug-04 2:50
Antti Keskinen11-Aug-04 2:50 
GeneralRe: Creating a combobox & checkbox dynamically Pin
David Crow11-Aug-04 5:13
David Crow11-Aug-04 5:13 
GeneralRe: Creating a combobox & checkbox dynamically Pin
PrashantJ11-Aug-04 18:44
PrashantJ11-Aug-04 18:44 
GeneralPipe in release mode Pin
A T I F11-Aug-04 0:03
A T I F11-Aug-04 0:03 
I am on XP and I have created an overlapped mode pipe. I call ConnectNamedPipe and set the event on wait in WaitForSingleObject. Problem comes when the WaitForSingleObject times out in release mode compile. Any other call to the pipe handle on which no client connects and connection time out throws some exception in release mode Confused | :confused: . It all works fine in debug mode.

<br />
OVERLAPPED op;<br />
op.hEvent = CreateEvent(....<br />
HANDLE hPipe = ConnectNamedPipe(....<br />
<br />
switch(WaitForSingleObject(op.hEvent, 5000)<br />
{<br />
case WAIT_OBJECT_0:<br />
    ... // all works fine<br />
    CloseHandle(hPipe); // also works fine<br />
<br />
case WAIT_TIMOUT:<br />
    ... // any call to hPipe throws unhandled exception<br />
    CloseHandle(hPipe); // throws unhandled exception<br />
}<br />

PS: every thing works fine in Debug mode...Exceptions come in on release mode Sigh | :sigh:

Atif
QuestionHow to build bitmaps from the scratch? Pin
User-37793610-Aug-04 23:57
User-37793610-Aug-04 23:57 
AnswerRe: How to build bitmaps from the scratch? Pin
V.11-Aug-04 0:23
professionalV.11-Aug-04 0:23 
AnswerRe: How to build bitmaps from the scratch? Pin
Antony M Kancidrowski11-Aug-04 3:01
Antony M Kancidrowski11-Aug-04 3:01 
GeneralRe: How to build bitmaps from the scratch? Pin
Anonymous11-Aug-04 7:47
Anonymous11-Aug-04 7:47 
GeneralSDI Different Views Pin
Rassul Yunussov10-Aug-04 22:51
Rassul Yunussov10-Aug-04 22:51 
GeneralRe: SDI Different Views Pin
Michael P Butler10-Aug-04 23:37
Michael P Butler10-Aug-04 23:37 
GeneralRe: SDI Different Views Pin
Joel Holdsworth10-Aug-04 23:43
Joel Holdsworth10-Aug-04 23:43 
GeneralLists of a class : where to put a typedef Pin
Jerome Conus10-Aug-04 22:50
Jerome Conus10-Aug-04 22:50 
GeneralRe: Lists of a class : where to put a typedef Pin
Antony M Kancidrowski11-Aug-04 0:04
Antony M Kancidrowski11-Aug-04 0:04 
GeneralBits Fields - How to Use them Pin
sweep12310-Aug-04 22:24
sweep12310-Aug-04 22:24 
GeneralRe: Bits Fields - How to Use them Pin
Antony M Kancidrowski10-Aug-04 23:45
Antony M Kancidrowski10-Aug-04 23:45 
GeneralRe: Bits Fields - How to Use them Pin
sweep12311-Aug-04 1:24
sweep12311-Aug-04 1:24 
GeneralRe: Bits Fields - How to Use them Pin
Antony M Kancidrowski11-Aug-04 2:03
Antony M Kancidrowski11-Aug-04 2:03 
GeneralRe: Bits Fields - How to Use them Pin
David Crow11-Aug-04 5:25
David Crow11-Aug-04 5:25 
GeneralRe: Bits Fields - How to Use them Pin
sweep12311-Aug-04 6:12
sweep12311-Aug-04 6:12 
GeneralRe: Bits Fields - How to Use them Pin
David Crow11-Aug-04 7:23
David Crow11-Aug-04 7:23 
GeneralRe: Bits Fields - How to Use them Pin
sweep12311-Aug-04 21:58
sweep12311-Aug-04 21:58 

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.