Click here to Skip to main content
15,891,033 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionCreate a bitmap [modified] Pin
#realJSOP26-Jul-06 5:04
mve#realJSOP26-Jul-06 5:04 
AnswerRe: Create a bitmap Pin
Zac Howland26-Jul-06 5:40
Zac Howland26-Jul-06 5:40 
AnswerRe: Create a bitmap Pin
valikac26-Jul-06 6:47
valikac26-Jul-06 6:47 
QuestionTwo Documents in an Application Pin
narayanagvs26-Jul-06 4:55
narayanagvs26-Jul-06 4:55 
AnswerRe: Two Documents in an Application Pin
led mike26-Jul-06 5:46
led mike26-Jul-06 5:46 
AnswerRe: Two Documents in an Application Pin
BlitzPackage26-Jul-06 7:36
BlitzPackage26-Jul-06 7:36 
QuestionStrange error i cannot fathom Pin
eeyor66626-Jul-06 4:33
eeyor66626-Jul-06 4:33 
AnswerRe: Strange error i cannot fathom Pin
RChin26-Jul-06 4:46
RChin26-Jul-06 4:46 
Smells like an stl issue.
You will get this type of message if you do something like this:
<br />
std::vector<long> vecLong;<br />
int n = vecLong.size();<br />


A lot of the stl classes returns a size_t numeric data type (instead of say, int, long etc).
Its not an error, but you should be aware of any overflow issues. If you are sure that your DWORD variable has enough range to accomodate the stl's size_t number, then just do a simple type cast.

<br />
std::vector<long> vecLong;<br />
int n = static_cast<int>(vecLong.size());<br />






I Dream of Absolute Zero

AnswerRe: Strange error i cannot fathom Pin
David Crow26-Jul-06 4:48
David Crow26-Jul-06 4:48 
AnswerRe: Strange error i cannot fathom [modified] Pin
toxcct26-Jul-06 5:02
toxcct26-Jul-06 5:02 
GeneralRe: Strange error i cannot fathom Pin
Zac Howland26-Jul-06 5:06
Zac Howland26-Jul-06 5:06 
GeneralRe: Strange error i cannot fathom Pin
toxcct26-Jul-06 5:09
toxcct26-Jul-06 5:09 
AnswerRe: Strange error i cannot fathom Pin
Zac Howland26-Jul-06 5:03
Zac Howland26-Jul-06 5:03 
Questionconversion Pin
RockyJames26-Jul-06 4:32
RockyJames26-Jul-06 4:32 
AnswerRe: conversion Pin
David Crow26-Jul-06 4:45
David Crow26-Jul-06 4:45 
GeneralRe: conversion Pin
RockyJames26-Jul-06 4:53
RockyJames26-Jul-06 4:53 
QuestionRe: conversion Pin
David Crow26-Jul-06 5:03
David Crow26-Jul-06 5:03 
AnswerRe: conversion Pin
toxcct26-Jul-06 5:05
toxcct26-Jul-06 5:05 
AnswerRe: conversion Pin
Zac Howland26-Jul-06 5:13
Zac Howland26-Jul-06 5:13 
GeneralRe: conversion Pin
RockyJames26-Jul-06 16:00
RockyJames26-Jul-06 16:00 
GeneralRe: conversion Pin
Zac Howland26-Jul-06 19:14
Zac Howland26-Jul-06 19:14 
QuestionIn C++, how get the value and key in the IDictionary Pin
chenxiujie26-Jul-06 4:19
chenxiujie26-Jul-06 4:19 
QuestionRe: In C++, how get the value and key in the IDictionary Pin
David Crow26-Jul-06 4:33
David Crow26-Jul-06 4:33 
QuestionStart a powerpoint slideshow from C++ (.pps file) Pin
Remco Hoogenboezem26-Jul-06 3:54
Remco Hoogenboezem26-Jul-06 3:54 
AnswerRe: Start a powerpoint slideshow from C++ (.pps file) Pin
David Crow26-Jul-06 3:59
David Crow26-Jul-06 3:59 

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.