Click here to Skip to main content
15,915,074 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Line Counter for VS 2005 Beta Pin
Ryan Binns13-Mar-06 17:19
Ryan Binns13-Mar-06 17:19 
QuestionDrivers and UNICODE_STRINGs Pin
Kharfax13-Mar-06 2:56
Kharfax13-Mar-06 2:56 
AnswerRe: Drivers and UNICODE_STRINGs Pin
Kharfax13-Mar-06 9:43
Kharfax13-Mar-06 9:43 
Questionexception in stl set class in Release mode Pin
Farhat Aisha13-Mar-06 2:28
Farhat Aisha13-Mar-06 2:28 
AnswerRe: exception in stl set class in Release mode Pin
Monty213-Mar-06 2:33
Monty213-Mar-06 2:33 
GeneralRe: exception in stl set class in Release mode Pin
Farhat Aisha13-Mar-06 2:37
Farhat Aisha13-Mar-06 2:37 
GeneralRe: exception in stl set class in Release mode Pin
toxcct13-Mar-06 2:38
toxcct13-Mar-06 2:38 
GeneralRe: exception in stl set class in Release mode Pin
Farhat Aisha13-Mar-06 3:00
Farhat Aisha13-Mar-06 3:00 
Actually it is throwing the exception on that line. I ccouldn;t get the exception type
I caught it with catch(...)

But i have finally get around with this problem when i changed my variable
from set <unsigned> to set<int>

and type-cast the argument i am passing to it

if (m_uniqueCalUIDs.size() &&
m_uniqueCalUIDs.find((int)pCal->GetUID()) == m_uniqueCalUIDs.end() &&
m_nMode != MM_LINE)
return -1;

m_uniqueCalUIDs.insert((int)pCal->GetUID());

But this is really wierd to me. Any idea why is it behaving like that?

-- modified at 9:01 Monday 13th March, 2006
GeneralRe: exception in stl set class in Release mode Pin
James R. Twine13-Mar-06 2:59
James R. Twine13-Mar-06 2:59 
GeneralRe: exception in stl set class in Release mode Pin
Farhat Aisha13-Mar-06 3:01
Farhat Aisha13-Mar-06 3:01 
Questionhow to paint a bitmap on client? Pin
derek713-Mar-06 2:00
derek713-Mar-06 2:00 
AnswerRe: how to paint a bitmap on client? Pin
Chris Losinger13-Mar-06 2:09
professionalChris Losinger13-Mar-06 2:09 
AnswerRe: how to paint a bitmap on client? Pin
Hamid_RT13-Mar-06 2:16
Hamid_RT13-Mar-06 2:16 
GeneralRe: how to paint a bitmap on client? Pin
James R. Twine13-Mar-06 3:01
James R. Twine13-Mar-06 3:01 
GeneralRe: how to paint a bitmap on client? Pin
Hamid_RT13-Mar-06 3:13
Hamid_RT13-Mar-06 3:13 
QuestionVisual C++ Express and Visual C++6 ? Pin
thierrypp13-Mar-06 1:37
thierrypp13-Mar-06 1:37 
AnswerRe: Visual C++ Express and Visual C++6 ? Pin
Kevin McFarlane13-Mar-06 2:04
Kevin McFarlane13-Mar-06 2:04 
GeneralRe: Visual C++ Express and Visual C++6 ? Pin
thierrypp13-Mar-06 8:41
thierrypp13-Mar-06 8:41 
Questionget motherboard serial number Pin
ss200613-Mar-06 1:15
ss200613-Mar-06 1:15 
AnswerRe: get motherboard serial number Pin
David Crow13-Mar-06 3:09
David Crow13-Mar-06 3:09 
Questionhow can i set size of dialog box Pin
baldha rakesh13-Mar-06 1:08
baldha rakesh13-Mar-06 1:08 
AnswerRe: how can i set size of dialog box Pin
toxcct13-Mar-06 1:10
toxcct13-Mar-06 1:10 
AnswerRe: how can i set size of dialog box Pin
Cedric Moonen13-Mar-06 1:10
Cedric Moonen13-Mar-06 1:10 
AnswerRe: how can i set size of dialog box Pin
Hamid_RT13-Mar-06 1:28
Hamid_RT13-Mar-06 1:28 
GeneralRe: how can i set size of dialog box Pin
baldha rakesh13-Mar-06 1:45
baldha rakesh13-Mar-06 1:45 

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.