Click here to Skip to main content
15,899,026 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: GetComputerNameEx didn't return DNS name Pin
amdopteron25-Jan-08 3:23
amdopteron25-Jan-08 3:23 
JokeUndefined class name! Pin
Hakan Bulut23-Jan-08 0:34
Hakan Bulut23-Jan-08 0:34 
GeneralRe: Undefined class name! Pin
CPallini23-Jan-08 0:56
mveCPallini23-Jan-08 0:56 
GeneralRe: Undefined class name! Pin
Nitheesh George23-Jan-08 17:02
Nitheesh George23-Jan-08 17:02 
GeneralRe: Undefined class name! Pin
Hakan Bulut24-Jan-08 0:33
Hakan Bulut24-Jan-08 0:33 
GeneralCheck Variable is CString or Integer (RTTI in MFC/ATL) Pin
QuickDeveloper23-Jan-08 0:26
QuickDeveloper23-Jan-08 0:26 
GeneralRe: Check Variable is CString or Integer (RTTI in MFC/ATL) Pin
Cedric Moonen23-Jan-08 1:02
Cedric Moonen23-Jan-08 1:02 
GeneralRe: Check Variable is CString or Integer (RTTI in MFC/ATL) Pin
jhwurmbach23-Jan-08 1:09
jhwurmbach23-Jan-08 1:09 
QuickDeveloper wrote:
I tried using IsKindOf but it doesn't work for CString


Use the (standardized) RTTI-feature of C++!
The only reason that IsKindOf exists is that MFC predates the C++-Standard.

Something like
CString* pCStr = dynamic_cast<cstring*>(vec[i]);
if( !pCStr)
{
...must be something different...
}

Let's think the unthinkable, let's do the undoable, let's prepare to grapple with the ineffable itself, and see if we may not eff it after all.
Douglas Adams, "Dirk Gently's Holistic Detective Agency"

GeneralRe: Check Variable is CString or Integer (RTTI in MFC/ATL) Pin
Naveen23-Jan-08 17:12
Naveen23-Jan-08 17:12 
Questiongood code to return const reference to function local object? Pin
George_George23-Jan-08 0:24
George_George23-Jan-08 0:24 
AnswerRe: good code to return const reference to function local object? Pin
Cedric Moonen23-Jan-08 0:59
Cedric Moonen23-Jan-08 0:59 
GeneralRe: good code to return const reference to function local object? Pin
George_George23-Jan-08 1:43
George_George23-Jan-08 1:43 
GeneralProblem with 'Delete' key. Pin
Sanjay K22-Jan-08 23:57
Sanjay K22-Jan-08 23:57 
GeneralRe: Problem with 'Delete' key. Pin
sheshidar23-Jan-08 1:26
sheshidar23-Jan-08 1:26 
GeneralRe: Problem with 'Delete' key. Pin
Sanjay K23-Jan-08 1:31
Sanjay K23-Jan-08 1:31 
QuestionRe: Problem with 'Delete' key. Pin
David Crow23-Jan-08 2:50
David Crow23-Jan-08 2:50 
GeneralRe: Problem with 'Delete' key. Pin
Sanjay K23-Jan-08 17:03
Sanjay K23-Jan-08 17:03 
GeneralRe: Problem with 'Delete' key. Pin
David Crow24-Jan-08 2:40
David Crow24-Jan-08 2:40 
GeneralRe: Problem with 'Delete' key. Pin
Nitheesh George23-Jan-08 17:24
Nitheesh George23-Jan-08 17:24 
GeneralRe: Problem with 'Delete' key. Pin
Sanjay K24-Jan-08 4:31
Sanjay K24-Jan-08 4:31 
GeneralTwo functions send arguments to a single function. Pin
CodingLover22-Jan-08 23:27
CodingLover22-Jan-08 23:27 
GeneralRe: Two functions send arguments to a single function. Pin
Rajesh R Subramanian22-Jan-08 23:38
professionalRajesh R Subramanian22-Jan-08 23:38 
QuestionRe: Two functions send arguments to a single function. Pin
CPallini22-Jan-08 23:43
mveCPallini22-Jan-08 23:43 
GeneralRe: Two functions send arguments to a single function. Pin
CodingLover23-Jan-08 0:24
CodingLover23-Jan-08 0:24 
QuestionRe: Two functions send arguments to a single function. Pin
CPallini23-Jan-08 0:43
mveCPallini23-Jan-08 0:43 

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.