Click here to Skip to main content
15,916,293 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionHow can I show a dialog on top of a screensaver? Pin
BlackDice8-Sep-04 4:20
BlackDice8-Sep-04 4:20 
GeneralSingle thread to multi-thread conversion problem Pin
vineas8-Sep-04 4:02
vineas8-Sep-04 4:02 
GeneralRe: Single thread to multi-thread conversion problem Pin
Neville Franks8-Sep-04 10:32
Neville Franks8-Sep-04 10:32 
GeneralRe: Single thread to multi-thread conversion problem Pin
vineas8-Sep-04 11:10
vineas8-Sep-04 11:10 
GeneralRe: Single thread to multi-thread conversion problem Pin
Neville Franks8-Sep-04 11:28
Neville Franks8-Sep-04 11:28 
GeneralRe: Single thread to multi-thread conversion problem Pin
vineas9-Sep-04 3:29
vineas9-Sep-04 3:29 
GeneralRe: Single thread to multi-thread conversion problem Pin
Neville Franks9-Sep-04 10:23
Neville Franks9-Sep-04 10:23 
GeneralPhilosophical question :-) Pin
Cedric Moonen8-Sep-04 3:35
Cedric Moonen8-Sep-04 3:35 
I have a little question. What happens exactly in these several case:

case 1:
int* pVar = new int;<br />
// Do something with pVar<br />
void* pPointer = pVar;<br />
delete pPointer;


case 2:
char* szString = new char[Value];<br />
// Do something with szString;<br />
void* pPointer = szString;<br />
delete pPointer;  // Or delete[] pPointer;


case 3: (the most interesting)
CMyClass* pClass = new CMyClass;<br />
void* pPointer = pClass;<br />
delete pPointer;


Of course, the question is how will the compiler handle the destruction of the different objects ?? In the third case, does he 'know' that it will need to call the destructor of CMyClass ?
GeneralRe: Philosophical question :-) Pin
Ryan Binns8-Sep-04 4:07
Ryan Binns8-Sep-04 4:07 
GeneralRe: Philosophical question :-) Pin
Cedric Moonen8-Sep-04 4:31
Cedric Moonen8-Sep-04 4:31 
GeneralRe: Philosophical question :-) Pin
Ryan Binns8-Sep-04 13:24
Ryan Binns8-Sep-04 13:24 
GeneralDetect current language Pin
Anonymous8-Sep-04 3:33
Anonymous8-Sep-04 3:33 
GeneralRe: Detect current language Pin
Ivan Cachicatari8-Sep-04 5:43
Ivan Cachicatari8-Sep-04 5:43 
GeneralRe: Detect current language Pin
David Crow8-Sep-04 5:47
David Crow8-Sep-04 5:47 
GeneralRe: Detect current language Pin
Moak24-Sep-04 1:33
Moak24-Sep-04 1:33 
Generalabout using vmr9 Pin
yingkou8-Sep-04 3:29
yingkou8-Sep-04 3:29 
QuestionHow can I push out my app Pin
Larsson8-Sep-04 2:18
Larsson8-Sep-04 2:18 
Generalconvert bmp to 2-D array Pin
hanivoo8-Sep-04 1:49
hanivoo8-Sep-04 1:49 
GeneralRe: convert bmp to 2-D array Pin
Bob Stanneveld8-Sep-04 6:29
Bob Stanneveld8-Sep-04 6:29 
GeneralCannot find header file compile time Pin
intrigued8-Sep-04 1:40
intrigued8-Sep-04 1:40 
GeneralRe: Cannot find header file compile time Pin
P-Rex8-Sep-04 3:19
P-Rex8-Sep-04 3:19 
GeneralRe: A problem with multi line edit box and check box Pin
David Crow8-Sep-04 5:49
David Crow8-Sep-04 5:49 
GeneralBit Fields - Again Pin
sweep1238-Sep-04 1:29
sweep1238-Sep-04 1:29 
GeneralRe: Bit Fields - Again Pin
Ryan Binns8-Sep-04 4:16
Ryan Binns8-Sep-04 4:16 
GeneralODBC Driver for Access - database password Pin
Member 12584918-Sep-04 1:23
Member 12584918-Sep-04 1:23 

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.