English
Forum

Do I need an icon of LoadImage/LoadIcon again destroy?

 
- Page 1 -



Jac
de
Lad
Do I need an icon, I with the APIs LoadIcon/LoadImage etc. load really again destroy (with DeleteObject)?
 
Profan² 2.6 bis XProfan 11.1+XPSE+XPIA+XPRR (und irgendwann XIDE)
Core2Duo E8500/T2250, 8192/1024 MB, Radeon HD4850/Radeon XPress 1250, Vista64/XP
12/03/07  
 



 
- Page 1 -



Frank
Abbing
Mach you none head. windows ex XP gives memory for programs automatically spare, if it the Prog not already done has.
 
12/03/07  
 



there has Frank sure right, I but my the it independent of OS to that good Style heard if one genutzte Objects again freigibt.
 
12/03/07  
 




Jac
de
Lad
Yes, even, therefore The question. means must I a Tonne Handles Save...
 
Profan² 2.6 bis XProfan 11.1+XPSE+XPIA+XPRR (und irgendwann XIDE)
Core2Duo E8500/T2250, 8192/1024 MB, Radeon HD4850/Radeon XPress 1250, Vista64/XP
12/04/07  
 




Jörg
Sellmeyer
with the new Arraymöglichkeiten is the Yes no Topic More
CompileMarkSeparation
Declare hIcon&[]

WhileLoop 0,Rnd(1000)

    hIcon&[&Loop] = Create(hIcon,....)

Wend

WhileLoop 0,SizeOf(hIcon&[]) -1

    DeleteObject hIcon&[&Loop]

Windows XP SP2 XProfan X4
... und hier mal was ganz anderes als Profan ...
12/04/07  
 



correctly., a Tonne Handles Save!

I beget this often a function Trashcan[pseudo]class, as Param the lever and there too per Return again back, therefore goes the following:
CompileMarkSeparation
 
12/04/07  
 




Jac
de
Lad
calm, thanks. The aray-Variante gefällt me particularly well.
 
Profan² 2.6 bis XProfan 11.1+XPSE+XPIA+XPRR (und irgendwann XIDE)
Core2Duo E8500/T2250, 8192/1024 MB, Radeon HD4850/Radeon XPress 1250, Vista64/XP
12/04/07  
 




Dieter
Zornow
I bezweifle earnestly, that one The APIs LoadIcon/LoadImage unlock must, if something again released go must, then standing it How Frank already wrote directly with the Description the API thereby and with whom both standing not thereby.
@Jac, where have you got because whom Text herausgenommen.

greeting from Bangkok

Dieter
 
Er ist ein Mann wie ein Baum. Sie nennen ihn Bonsai., Win 7 32 bit und Win 7 64 bit, mit XProfan X2
12/04/07  
 




Jac
de
Lad
from the MSDN-Library.
 
Profan² 2.6 bis XProfan 11.1+XPSE+XPIA+XPRR (und irgendwann XIDE)
Core2Duo E8500/T2250, 8192/1024 MB, Radeon HD4850/Radeon XPress 1250, Vista64/XP
12/04/07  
 



Hm LoadIcon watts of Loadimage abgelöst - could one means of it go out the LoadIcon intern too Loadimage using.

To Loadimage standing in MSDN u.A. the following: [...] 

MSDN
Remarks

When you are finished using a bitmap, cursor, or icon you loaded without specifying the LR_SHARED flag, you can release its associated memory by calling one of the functions in the following table.


So only The question whether Roland LR_SHARED staid has. (I suspect he's not staid, be because, he's it unintentionally not removes)

for the drop counts means: Please naturally deleteobject utilize!
 
12/04/07  
 



 
- Page 2 -



Jac
de
Lad
Hm, I take always The APIs. I werd time a little bit experiment and then time ne Inc for The Imagelist-management Upload. Is Yes Nich only for Listviews...
 
Profan² 2.6 bis XProfan 11.1+XPSE+XPIA+XPRR (und irgendwann XIDE)
Core2Duo E8500/T2250, 8192/1024 MB, Radeon HD4850/Radeon XPress 1250, Vista64/XP
12/04/07  
 




Dieter
Zornow
Yes standing now so on the Website, in the Win32.hlp is But not yet so described. It's all right Yes but neither circa hpic of Profan, The muessen Yes loudly Help again released go.

greeting from Bangkok

Dieter
 
Er ist ein Mann wie ein Baum. Sie nennen ihn Bonsai., Win 7 32 bit und Win 7 64 bit, mit XProfan X2
12/04/07  
 



It's all right vordergründig not at all once therefore whether these memory Specifically of WinXP (or Vista) automatically released go, because of it be I eh convincing if it not strain z.B. one driver is...
 
12/04/07  
 




Answer


Topictitle, max. 100 characters.
 

Systemprofile:

no Systemprofil laid out. [anlegen]

XProfan:

 Posting  Font  Smilies  ▼ 

Please register circa a Posting To verfassen.
 

Topic-Options

5.129 Views

Untitledvor 0 min.
Rainer Hoefs05/02/23
Jörg Sellmeyer06/24/18
Uwe Lang09/03/12
Rolf Koch01/16/11

Themeninformationen



Admins  |  AGB  |  Applications  |  Authors  |  Chat  |  Privacy Policy  |  Download  |  Entrance  |  Help  |  Merchantportal  |  Imprint  |  Mart  |  Interfaces  |  SDK  |  Services  |  Games  |  Search  |  Support

One proposition all XProfan, The there's!


My XProfan
Private Messages
Own Storage Forum
Topics-Remember-List
Own Posts
Own Topics
Clipboard
Log off
 Deutsch English Français Español Italia
Translations

Privacy Policy


we use Cookies only as Session-Cookies because of the technical necessity and with us there no Cookies of Drittanbietern.

If you here on our Website click or navigate, stimmst You ours registration of Information in our Cookies on XProfan.Net To.

further Information To our Cookies and moreover, How You The control above keep, find You in ours nachfolgenden Datenschutzerklärung.


all rightDatenschutzerklärung
i want none Cookie