I have written an FAQ here which covers the basics of thread-protecting an object. I was wondering if someone can review this FAQ and let me know if I'm wrong anywhere or any input on what I should change?
JD Solutions
I've always like the way that RAD Studio put together its setup screens. For example, Project > Options, or Tools > Options. I'm trying to re-create such a setup system in an application of its own for a legacy Delphi server/client system. The current setup is scattered into many different...
I'm using Delphi XE2, Indy 10, and a TIdHTTPWebBrokerBridge. In the web module, requests are handled via TWebRequest and TWebResponse objects. I need to read the full complete URI which was sent from the client, but in the TWebRequest, the only relevant property, URL, returns empty. Why is this...
I have written a new FAQ on searching for files:
http://tek-tips.com/faqs.cfm?fid=7639
NOTE: This is not to search for a file by name or keyword, but instead to search for any files recursively matching certain file types.
It's a multi-threaded component which can be installed into your...
I'm building a database thread pool, the pool has a property for thread count. By default this is 0 so there's no threads until this is set. The property reads the list count directly, so I don't store anything like "FThreadCount: Integer". So, the property setter needs to be responsible for...
I'm using the Windows API I/O Control to identify specifically which sectors on any disk are occupied by pieces of any particular given file. I have found what I need to use, and am partially done implementing it, but the rest of what I need help with is a bit out of the scope to as a question...
I have come across an awkward issue and resolved it, and wanted to document the trouble. What I have is 4 different forms which I embed into different tabs inside the main form. I intend to add more than just 4 forms/tabs, and was seeking ways of adding/removing pages. After the 4 separate forms...
I have created a new FAQ: How to build and parse a list without using a deliminator?
This is highlighting a widely used method of mine for building/parsing packet strings to send through sockets without worrying about the data containing a deliminator.
http://tek-tips.com/faqs.cfm?fid=7578...
I've seen a lot of debate on the subject of an Indy Server sending data to the Client and the Client needing to recognize this data. Indy doesn't necessarily have an event on the client which tells you that data has been received - you need to do this manually. So based on all the advice I've...
I've created a new FAQ about loading any format of image file into a single object (and assign to a bitmap): http://tek-tips.com/faqs.cfm?fid=7568
JD Solutions
I'm using Indy 10 in Delphi XE2 to send 'parts' of an image (remote desktop) as-needed. Meaning, the Client will be sending, in bulk, small pieces of an image non-stop for the life of the socket (or as long as image sending is enabled). The amount of parts which are sent vary in size, and...
I'm building a custom control which consists of a list of items which are positioned either horizontally or vertically (extra stretching/fitting for each item). While things do appear to work fine, I have one problem where rapid mouse movement (or otherwise rapid painting) causes it to flicker...
I've been teaching myself OpenGL in Delphi XE2, and am having some difficulties learning the main concepts which I need to know. I've started a project wrapping OpenGL into a control and while I can get it to draw, I lack the knowledge to really do something with it. I don't want to use any...
I'm working on a custom stand-alone web server application in Delphi XE2 and would like to put something together to dynamically produce CSS data on the fly based on an object which contains all the CSS properties. Essentially, I'd like 2 objects, something like "TCSSPage" containing a list of...
I'm building a Remote Desktop Surveillance System, which consists of 3 major parts: Central Server (SVR), Sharing Client (CLI), and Viewing Dashboard (DSH). On the Sharing Client (CLI), there's actually two applications: A Windows Service which connects to the Central Server, and an invisible...
I've built a custom thread which is designed in a way to be further inherited for common uses. It includes some things which the original TThread does not have, and since I am still uncomfortable with threads, I need someone to look this code over and point out any issues I might have with it...
I'm looking for a simple way to be able to control the memory my application uses. Mainly, I'd like to know if this is a suitable approach - how much difference does it make on performance? I'm doing some graphical stuff, and could take quite some memory, and I'd like to control how much is...
I was wondering if there's a way to take a screenshot with the cursor included? Currently, using "Print Screen" on the keyboard does not include the cursor. I wish to not to have to have some special third party software.
Thank you.
JD Solutions
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.