There is one more way. You can find where the icon image lies (inside exe), determine it's size and then patch the file. I know it's not the best way but it gonna work.
Yeap. But:
-there is no real need to sort colors in small image;
-usage of two figurative points (they are first to check)give excellent speed gain, while the third does not;
-using TBitmap.Scanline is the first a programmer should come to know (for 4 years working with Delphi I used...
OK, that's clear.
I mean what ideas have you got concerning optimizing this process? Realization you suggested takes 80 seconds when searching for 16x14 image inside of 800x600 (worst case).
Thanks, michaenh, but that's not what I want. I must have expressed myself ambiguity. I have a filter with one type of files, it's OK. Now I'd like to see files sorted by alphabet in the dialog. Is there easy way to do it?
AFAIK many antiviruses can surge ZIPs. Try another one, that's all. The only way to get viruses scan routine is to ask AV manufacturer (imagine how much it costs...)
We talk about DOS, right?
Take a look at INT 16, functions 0 and 1. One of them tells you if a key has been pressed, other puts character info in AX. Well, you have to create a "main loop" where you can monitor the keyboard.
To input a string you have to monitor these single characters and combine into a string by yourself. Once you can do it, you'll be able to get '34' into AX and so on.
PS. This is the easiest way, but not the only one possible.
I use TRichedit with template where I put all data. Then you can get it to the clipboard or save as RTF. It is the easiest way if you do not want to dive into .doc format or OLE.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.