GDI full ??

new topic     » topic index » view thread      » older message » newer message

This is a multi-part message in MIME format.

------=_NextPart_000_0126_01C10876.9C963F60
	boundary="----=_NextPart_001_0127_01C10876.9C963F60"


------=_NextPart_001_0127_01C10876.9C963F60
	charset="Windows-1252"

GlacierHi,

I'm still having trouble with GDI memory,=20

since i use a graphics program to display  a lot of BMP (1024*768,full =
color), i keep having problems with GDI.

After a couple of 100 times displaying a different picture Win32lib =
gives an error saying it can not find the BMP anymore or it can not =
display it.

The BMP is still there in the same folder so it has to be Windows who is =
out off GDI memory.

My Question: when i load a bitmap into memory how can i reuse the same =
memory for the next picture ?
so i do not use other gdi memory for the next picture i switch to.

I only need to show 1 big BMP at a time .
I already relaese memory  now, after switching, but that seems to leave =
a memory leak.=20
(the program hangs after a week or so ; switched displaying 200 bmps a =
day. after a reboot it works fine again)



Kind Regards,

Renzo Beggia from Belgium
Email : renzo.beggia at vsk.be



------=_NextPart_001_0127_01C10876.9C963F60
Content-Type: text/html;
	charset="Windows-1252"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>Glacier</TITLE>
<META content=3D"text/html; charset=3Dwindows-1252" =
http-equiv=3DContent-Type><BASE=20
href=3D"file://C:\Program Files\Common Files\Microsoft =
Shared\Stationery\">
<STYLE>BODY {
	COLOR: #006666; FONT-FAMILY: Arial, Helvetica; FONT-SIZE: 10pt; =
MARGIN-LEFT: 50px; MARGIN-TOP: 20px
}
</STYLE>

<META content=3D"MSHTML 5.00.3103.1000" name=3DGENERATOR></HEAD>
<BODY background=3Dcid:012501c10865$d908db80$ab00000a@BEGGIA =
bgColor=3D#ffffff>
<DIV>Hi,</DIV>
<DIV>&nbsp;</DIV>
<DIV>I'm still having trouble with GDI memory, </DIV>
<DIV>&nbsp;</DIV>
<DIV>since i use a graphics program to display&nbsp;&nbsp;a lot of BMP=20
(1024*768,full color), i keep having problems with GDI.</DIV>
<DIV>&nbsp;</DIV>
<DIV>After a couple of 100 times displaying a different picture Win32lib =
gives=20
an error saying it can not find the BMP anymore or it can not display =
it.</DIV>
<DIV>&nbsp;</DIV>
<DIV>The BMP is still there in the same folder so it has to be Windows =
who is=20
out off GDI memory.</DIV>
<DIV>&nbsp;</DIV>
<DIV>My Question: when i load a bitmap into memory how can i reuse the =
same=20
memory for the next picture ?</DIV>
<DIV>so i do not use other gdi memory for the next picture i switch =
to.</DIV>
<DIV>&nbsp;</DIV>
<DIV>I only need to show 1 big BMP at a time .</DIV>
<DIV>I already relaese memory  now, after switching, but that seems to =
leave a=20
memory leak. </DIV>
<DIV>(the program hangs after a week or so ; switched displaying 200 =
bmps a day.=20
after a reboot it works fine again)</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV>Kind Regards,</DIV>
<DIV>&nbsp;</DIV>
<DIV>Renzo Beggia from Belgium<BR>Email : <A=20
href=3D"mailto:renzo.beggia at vsk.be">renzo.beggia at vsk.be</A></DIV>

------=_NextPart_001_0127_01C10876.9C963F60--

------=_NextPart_000_0126_01C10876.9C963F60
Content-Type: image/jpeg;
	name="Glacier Bkgrd.jpg"
Content-Transfer-Encoding: base64

new topic     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu