Click here to Skip to main content
15,920,438 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: will someone look here................................................................................. Pin
Cedric Moonen4-May-06 0:54
Cedric Moonen4-May-06 0:54 
GeneralRe: will someone look here................................................................................. Pin
Cedric Moonen4-May-06 1:28
Cedric Moonen4-May-06 1:28 
GeneralRe: will someone look here................................................................................. Pin
Cedric Moonen4-May-06 1:49
Cedric Moonen4-May-06 1:49 
GeneralRe: will someone look here................................................................................. Pin
yang__lee4-May-06 2:40
yang__lee4-May-06 2:40 
GeneralRe: will someone look here................................................................................. Pin
Cedric Moonen4-May-06 3:10
Cedric Moonen4-May-06 3:10 
QuestionHow do I change the menubar's background ? Pin
Happy frog3-May-06 22:34
Happy frog3-May-06 22:34 
QuestionMemory leak coming from COleSafeArray object Pin
lastgen3-May-06 22:31
lastgen3-May-06 22:31 
AnswerRe: Memory leak coming from COleSafeArray object Pin
lastgen3-May-06 23:33
lastgen3-May-06 23:33 
OK I've worked it out. It seems you cannot set the data via the constructor or it will cause a leak, don't ask me why, it just does. Otherwise it works fine. The fix is to replace the faulty line with these two

COleSafeArray cellArray;
cellArray.Attach(usedCells.get_Value());

I have also noticed with this fussing today that if a value is assigned to any form of variant based objects in C++ it will leak unless you call Clear() after every assignment. One of the many reasons why I despise variants.

When I die I'd like to go peacefully in my sleep like my father, not screaming in terror like his passengers!!!
Questionverify Windows Firewall settings Pin
QuickDeveloper3-May-06 22:23
QuickDeveloper3-May-06 22:23 
Questionwhy dose this happen in class wizard of vc++ 6.0 Pin
ewighell3-May-06 22:10
ewighell3-May-06 22:10 
AnswerRe: why dose this happen in class wizard of vc++ 6.0 Pin
Monty23-May-06 22:13
Monty23-May-06 22:13 
QuestionAdding Documents to F1 Pin
parichaybp3-May-06 21:53
parichaybp3-May-06 21:53 
AnswerAdding Documents to F1 Pin
kk.tvm3-May-06 23:06
kk.tvm3-May-06 23:06 
GeneralRe: Adding Documents to F1 Pin
parichaybp3-May-06 23:10
parichaybp3-May-06 23:10 
GeneralRe: Adding Documents to F1 Pin
parichaybp3-May-06 23:12
parichaybp3-May-06 23:12 
AnswerRe: Adding Documents to F1 Pin
Maxwell Chen3-May-06 23:14
Maxwell Chen3-May-06 23:14 
QuestionSpecial folders on remote machine Pin
Mila0253-May-06 21:46
Mila0253-May-06 21:46 
Questionfinding Audio Level Pin
atimpoo3-May-06 21:17
atimpoo3-May-06 21:17 
AnswerRe: finding Audio Level Pin
Nishad S3-May-06 21:26
Nishad S3-May-06 21:26 
AnswerRe: finding Audio Level Pin
Remco Hoogenboezem3-May-06 21:43
Remco Hoogenboezem3-May-06 21:43 
GeneralRe: finding Audio Level Pin
atimpoo3-May-06 23:34
atimpoo3-May-06 23:34 
AnswerRe: finding Audio Level Pin
normanS4-May-06 19:51
normanS4-May-06 19:51 
QuestionRe: finding Audio Level Pin
atimpoo5-May-06 0:00
atimpoo5-May-06 0:00 
AnswerRe: finding Audio Level Pin
normanS7-May-06 19:19
normanS7-May-06 19:19 
AnswerA possible technique Pin
normanS7-May-06 23:11
normanS7-May-06 23:11 

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.