Click here to Skip to main content
15,901,205 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: "little" "small" ComboBox ? Pin
Shog91-Nov-03 3:33
sitebuilderShog91-Nov-03 3:33 
GeneralRe: "little" "small" ComboBox ? Pin
Cynicannibal4-Nov-03 2:40
Cynicannibal4-Nov-03 2:40 
GeneralFunction.... Pin
ponshio30-Oct-03 4:04
ponshio30-Oct-03 4:04 
GeneralRe: Function.... Pin
Brian Shifrin30-Oct-03 4:11
Brian Shifrin30-Oct-03 4:11 
GeneralRe: Function.... Pin
Ian Darling30-Oct-03 4:12
Ian Darling30-Oct-03 4:12 
GeneralRe: Function.... Pin
JWood30-Oct-03 5:12
JWood30-Oct-03 5:12 
GeneralRe: Function.... Pin
jhwurmbach30-Oct-03 5:54
jhwurmbach30-Oct-03 5:54 
GeneralLoadImage() memory leak. Pin
Neha30-Oct-03 2:34
Neha30-Oct-03 2:34 
Hi,

In my application i have this:

HBITMAP hImage;
hImage = (HBITMAP)::LoadImage (AfxGetInstanceHandle(), "c:\\TEMP.bmp", IMAGE_BITMAP, 0, 0,
LR_LOADFROMFILE |LR_CREATEDIBSECTION );
DeleteObject(hImage);

These statement will increase the memory usage by 28 KB.
Size of the "temp.bmp" file is 360KB.
Could any one tell me why is it so?

Regards
Neha
GeneralRe: LoadImage() memory leak. Pin
David Crow30-Oct-03 2:37
David Crow30-Oct-03 2:37 
GeneralRe: LoadImage() memory leak. Pin
Neha30-Oct-03 2:44
Neha30-Oct-03 2:44 
GeneralRe: LoadImage() memory leak. Pin
Alexander M.,30-Oct-03 2:52
Alexander M.,30-Oct-03 2:52 
GeneralRe: LoadImage() memory leak. Pin
Neha30-Oct-03 2:56
Neha30-Oct-03 2:56 
GeneralRe: LoadImage() memory leak. Pin
David Crow30-Oct-03 3:04
David Crow30-Oct-03 3:04 
GeneralRe: LoadImage() memory leak. Pin
Neha30-Oct-03 3:07
Neha30-Oct-03 3:07 
GeneralRe: LoadImage() memory leak. Pin
Alexander M.,30-Oct-03 2:41
Alexander M.,30-Oct-03 2:41 
GeneralRe: LoadImage() memory leak. Pin
Neha30-Oct-03 2:51
Neha30-Oct-03 2:51 
GeneralRe: LoadImage() memory leak. Pin
David Crow30-Oct-03 3:06
David Crow30-Oct-03 3:06 
GeneralRe: LoadImage() memory leak. Pin
antlers30-Oct-03 7:58
antlers30-Oct-03 7:58 
GeneralRe: LoadImage() memory leak. Pin
Neha30-Oct-03 16:40
Neha30-Oct-03 16:40 
GeneralRe: LoadImage() memory leak. Pin
melwyn31-Oct-03 2:50
melwyn31-Oct-03 2:50 
GeneralDLL Pin
hph30-Oct-03 2:27
hph30-Oct-03 2:27 
GeneralRe: DLL Pin
Alexander M.,30-Oct-03 2:32
Alexander M.,30-Oct-03 2:32 
GeneralRe: DLL Pin
hph2-Nov-03 22:19
hph2-Nov-03 22:19 
GeneralRe: DLL Pin
JWood30-Oct-03 5:15
JWood30-Oct-03 5:15 
GeneralError in compilation - help! Pin
YaronNir30-Oct-03 2:26
YaronNir30-Oct-03 2:26 

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.