Is the named thing in the subject even a possibility any more? I'm looking at an upgrade and primarily finding stuff you can't use optical disc drives in any more. I guess you gotta buy a low-speed external USB interface drive you gotta kick around that's always in the way? Plus, they have...
I'm not really finding any specific resources on this (it's basically stuff connected to off-the-shelf document creators and other stuff for money). Is there a simple reference for writing PDFs out there where I could turn out simple bitmap paged stuff (ala the "printer" unit)? Even a good...
I've run into a DVD drive that won't open upon pressing the eject button or using the software option. It thunks a number of times, but will ultimately open after a number of attempts (usually when the light on the front of the drive flashes). I'm not seeing a reference to this problem, so I'm...
I've been thinking about sharing some source to some random demo projects or just some general coding experiments I've done, like all the stuff I posted to the FAQs here. Mainly thinking of getting a lot of the stuff I have here out there so it doesn't just go away. I've looked around the web...
I'm getting an "out of memory" error when I'm running some of my programs as of late (Delphi 3 still if that matters). What I'm thinking is perhaps because I'm creating and destroying an object/class multiple times, which does that with several TStringLists in turn. I'm not seeing where I'm...
After doing the last thing I asked about with XML, I decided to try reading the files back in (as a learning exercise). I got that done successfully with my own output, and a handful of others using SelectNodes() to reach the specific data of interest.
But I ran into a little issue with one...
I'm writing a simple XML file using the MSXML client for consumption by another program. The problem is on the text attributes of each of my elements, MSXML is deciding to provide escape characters. While this might be okay, the resulting characters are rejected by the other program upon load...
I'm trying to find examples on how to do editing/updating of a TCustomGrid derived component and utterly failing. I'm not even finding anything for TDrawGrid or TStringGrid either. Chiefly I'm needing to find a way to control where the entry part is (where is it, how do I move it...
Lately I've been thinking of posting more to the FAQ section - if it's even being read these days. One thing I've been considering posting is a description of descending TList to handle specialized data types (e.g. like TStringList). But I had a couple of questions before I would post it...
One of the things I'm working on at the moment involves drawing fonts at big sizes onto the screen (think Teleprompter and you're close). Right now, I'm using a TBitmap, drawing my text, and then sizing it onto the screen. I'm doing this okay, but the problem I'm running into is the usual text...
I've had the recent occasion to code something involving TFileStream, and came across a question regarding design.
What I'm doing (more or less) makes it suitable to descend a class from that. The problem is, a lot of the methods of TFileStream are either irrelevant or run completely counter...
One thing I've done with some of my programs is put a snippet of code in the beginning of the project source file in order to detect whether a copy is running and stop it. More or less, such a thing has to go in the main module of the project. So if we start with:
Application.Initialize...
Very simple example (actually within the code):
procedure UpdateThread.Execute;
begin
While not Terminated do
begin
Synchronize(Form1.UpdateStuff);
WaitForSingleObject(Self.Handle, 50); // this is for a "safe" thread delay, attempting to not soak the CPU.
end;
end...
I'm working on something that has global hot keys, and was wondering if there was a good rule on setting defaults in the application so they don't conflict with anything else running on the system? Of course, the application will feature the ability to set these hot keys to something different...
I'm using a TList with some specific records and I'm running into a problem (TD2006). What I'm putting into it is something like this:
Myrecord = record
A: String[255];
B: String[255];
C: String[50];
D: String[50];
E: Extended;
end;
But when I get it out, I get messed up data in...
One of the questions I've been looking into is the ability to distribute class code in a portable way. I got a sample going within a DLL with a regular class (export create and destroy), and an interface (just create, no worries about scope). But I was wondering what the general best practice...
One of the problems I've always had (and I'm running into it again) is how to terminate a program based on an error. Basically, in a piece of code (foreign to Application.Terminate because all my searches are leading there, this code knows nothing of TApplication and shouldn't), I run into a...
One of the consistent problems I've run into (a couple of projects now) is the need to show a small form upon an event which is on top of other windows, and then dismisses itself after a certain amount of time. The main reason is to be able to show more information (even some graphical data)...
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.