Click here to Skip to main content
15,913,941 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralCreating user accounts in XP Pin
Phil J Pearson1-Sep-04 2:54
Phil J Pearson1-Sep-04 2:54 
GeneralRe: Creating user accounts in XP Pin
Antony M Kancidrowski1-Sep-04 3:15
Antony M Kancidrowski1-Sep-04 3:15 
GeneralRe: Creating user accounts in XP Pin
Phil J Pearson1-Sep-04 3:43
Phil J Pearson1-Sep-04 3:43 
GeneralRe: Creating user accounts in XP Pin
Phil J Pearson1-Sep-04 5:05
Phil J Pearson1-Sep-04 5:05 
GeneralRe: Creating user accounts in XP Pin
darkbyte1-Sep-04 8:31
darkbyte1-Sep-04 8:31 
GeneralAssert message Pin
Anonymous1-Sep-04 2:54
Anonymous1-Sep-04 2:54 
Generalmemory problem with bitmaps Pin
eNez1-Sep-04 1:50
eNez1-Sep-04 1:50 
GeneralRe: memory problem with bitmaps Pin
David Crow1-Sep-04 4:26
David Crow1-Sep-04 4:26 
eNez wrote:
...i have a big memory leak and I don't find how to stop it...

How do you know there is a memory leak?

I do not see that the for loop is doing anything productive. The first time through, it sets bmp to value 0, then to 2, then to 4, etc. Since little to no time has elapsed between calls to SetBitmap(), the net result is that only the last call to SetBitmap() will be seen, and even then I'm not sure what it will be.

Have you checked the return value of CreateCompatibleBitmap() and SetBitmapBits()?


"When I was born I was so surprised that I didn't talk for a year and a half." - Gracie Allen


GeneralRe: memory problem with bitmaps Pin
eNez1-Sep-04 4:37
eNez1-Sep-04 4:37 
GeneralRe: memory problem with bitmaps Pin
David Crow1-Sep-04 4:43
David Crow1-Sep-04 4:43 
GeneralRe: memory problem with bitmaps Pin
eNez1-Sep-04 4:56
eNez1-Sep-04 4:56 
QuestionHow to close open ComboBox ? Pin
Anonymous1-Sep-04 1:49
Anonymous1-Sep-04 1:49 
AnswerRe: How to close open ComboBox ? Pin
Ivan Cachicatari2-Sep-04 19:22
Ivan Cachicatari2-Sep-04 19:22 
GeneralBit Inversion Pin
sweep1231-Sep-04 1:48
sweep1231-Sep-04 1:48 
GeneralRe: Bit Inversion Pin
RChin1-Sep-04 2:08
RChin1-Sep-04 2:08 
GeneralRe: Bit Inversion Pin
sweep1231-Sep-04 2:55
sweep1231-Sep-04 2:55 
GeneralRe: Bit Inversion Pin
PJ Arends1-Sep-04 5:39
professionalPJ Arends1-Sep-04 5:39 
GeneralRe: Bit Inversion Pin
Archer2821-Sep-04 12:37
Archer2821-Sep-04 12:37 
GeneralHelp required Pin
Sreekanth Muralidharan1-Sep-04 0:30
Sreekanth Muralidharan1-Sep-04 0:30 
GeneralRe: Help required Pin
Antony M Kancidrowski1-Sep-04 3:30
Antony M Kancidrowski1-Sep-04 3:30 
GeneralVS.NET Resource Editor Pin
Jörgen Sigvardsson31-Aug-04 23:48
Jörgen Sigvardsson31-Aug-04 23:48 
Questionhow to change the default PC soundcard settings when i have two soundcards in PC Pin
max_xiayi31-Aug-04 23:20
max_xiayi31-Aug-04 23:20 
AnswerRe: how to change the default PC soundcard settings when i have two soundcards in PC Pin
Hossein Khosravi31-Aug-04 23:32
Hossein Khosravi31-Aug-04 23:32 
GeneralRe: how to change the default PC soundcard settings when i have two soundcards in PC Pin
max_xiayi1-Sep-04 1:33
max_xiayi1-Sep-04 1:33 
Questionhow to change the default PC soundcard settings when i have two soundcards in PC Pin
max_xiayi31-Aug-04 23:16
max_xiayi31-Aug-04 23:16 

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.