Click here to Skip to main content
15,897,704 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralProblem storing pointer to parent Pin
srev11-Nov-03 9:20
srev11-Nov-03 9:20 
GeneralRe: Problem storing pointer to parent Pin
TFrancis11-Nov-03 9:45
TFrancis11-Nov-03 9:45 
GeneralRe: Problem storing pointer to parent Pin
srev11-Nov-03 9:50
srev11-Nov-03 9:50 
GeneralRe: Problem storing pointer to parent Pin
Christian Graus11-Nov-03 9:46
protectorChristian Graus11-Nov-03 9:46 
GeneralRe: Problem storing pointer to parent Pin
Antti Keskinen11-Nov-03 10:13
Antti Keskinen11-Nov-03 10:13 
GeneralRe: Problem storing pointer to parent Pin
srev11-Nov-03 10:44
srev11-Nov-03 10:44 
GeneralCompiling error Pin
Azzedine11-Nov-03 9:07
Azzedine11-Nov-03 9:07 
GeneralRe: Compiling error Pin
David Crow11-Nov-03 9:46
David Crow11-Nov-03 9:46 
Regarding the warnings, what is the prototype for XPCException's constructor?

For both the errors, omit the address-of operator (&) from the second parameter to memcpy().

One other item that looks problematic:

if (sizeof(cFileName) < sizeof(_oldClass.sGetFileName()))
{
    delete [] cFileName;
    ...
Since it appears that cFileName is a pointer, sizeof() will always return 4, as opposed to the actual amount allocated to that pointer. In the second use of sizeof(), I question the use of a function call as a parameter.


Five birds are sitting on a fence.
Three of them decide to fly off.
How many are left?

QuestionReduce flicker in ListView ? Pin
_skidrow_vn_11-Nov-03 7:59
_skidrow_vn_11-Nov-03 7:59 
AnswerRe: Reduce flicker in ListView ? Pin
David Crow11-Nov-03 8:18
David Crow11-Nov-03 8:18 
GeneralRe: Reduce flicker in ListView ? Pin
Signal-911-Nov-03 8:39
Signal-911-Nov-03 8:39 
GeneralRe: Reduce flicker in ListView ? Pin
David Crow11-Nov-03 8:44
David Crow11-Nov-03 8:44 
GeneralRe: Reduce flicker in ListView ? Pin
Signal-911-Nov-03 11:40
Signal-911-Nov-03 11:40 
GeneralRe: Reduce flicker in ListView ? Pin
David Crow12-Nov-03 2:58
David Crow12-Nov-03 2:58 
GeneralRe: Reduce flicker in ListView ? Pin
Signal-912-Nov-03 9:37
Signal-912-Nov-03 9:37 
Generalopening a web file Pin
doctorpi11-Nov-03 7:57
doctorpi11-Nov-03 7:57 
GeneralRe: opening a web file Pin
David Crow11-Nov-03 8:12
David Crow11-Nov-03 8:12 
GeneralRe: opening a web file Pin
doctorpi11-Nov-03 8:16
doctorpi11-Nov-03 8:16 
GeneralRe: opening a web file Pin
RaajaOfSelf11-Nov-03 22:40
RaajaOfSelf11-Nov-03 22:40 
GeneralRe: opening a web file Pin
Chris Hills12-Nov-03 23:07
Chris Hills12-Nov-03 23:07 
Generalopen a workbrook automation excel Pin
jerome_data11-Nov-03 7:55
jerome_data11-Nov-03 7:55 
GeneralRe: open a workbrook automation excel Pin
David Crow11-Nov-03 8:05
David Crow11-Nov-03 8:05 
GeneralRe: open a workbrook automation excel Pin
jerome_data11-Nov-03 8:13
jerome_data11-Nov-03 8:13 
Generalupdating system on environment variable changes Pin
Jim Crafton11-Nov-03 7:32
Jim Crafton11-Nov-03 7:32 
GeneralRe: updating system on environment variable changes Pin
David Crow11-Nov-03 8:01
David Crow11-Nov-03 8:01 

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.