Delphi 2009 where is the 'treat warnings as errors' option?
In Delphi 2009 whereabouts do you turn on the option to treat warnings as errors? ...
In Delphi 2009 whereabouts do you turn on the option to treat warnings as errors? ...
I have 3 lists, I will make them simple here. list of letters A B C list of numbers 1 2 3 Mixed A,1 A,2 B,2 B,3 C,1 C,3 I need to know what is missing: A,3 B,1 C,2 The list of letters has about 85 entries and the list of numbers has about 500 entries. The mixed list has about 75,000...
I have a Windows Service written in Delphi which runs a number of programs. On Stopping the service, I want to also close these programs. When the service was originally written, this worked fine, but I think I've updated the tProcess component and now - The subordinate programs are not being closed. in tProcess - Here's the code whi...
I am contemplating buying the upgrade to full Intraweb for Delphi 7 Professional. Please share your experience and whether you think it would be wise doing my web development with these components. EDIT: It would really be great to have some more feedback on this - thanks in advance: ...
What with Delphi Prism coming soon, I've been looking at Oxygene (the Remobjects compiler, Delphi Prism will use), and have a found a few features I'd love to see in Delphi Win32. S ...
I have an application with a main form. In this form I have placed three TActionMainMenuBars, because the application essentially runs in three different modes. The menu bars are all constructed from actions stored(proxied) in an TActionManager on the main form. The ActionManager actually references actionlists on various other forms. ...
I'm trying to compile a project and I'm getting this error. The error occurs in a RemObjects source file, but I think it doesn't have anything to do with RemObjects. Anyway this error is too generic, and I don't quite get why it happens, so how can I solve it? ...
As stated in the title, I need double shortcut keys for my application (ie. as Ctrl-k Ctrl-k is the Toggle Bookmark key in VS.NET ). I wonder if any of you has found a solution for this in Delphi? I suspect by modifying the very core of VCL one might do but is there any easier way? ...
I have been experimenting with Lambda expressions in Oxygene. Very simple recursive lambda expression to calculate a fibonacci number : var fib : Func<int32, int32>; fib := n -> iif(n > 1, fib(n - 1) + fib(n - 2), n); fib(3); When I run this code I get a nullreferenceexception. Any ideas as to what I'm doing wrong? ...
I'm checking out the Delphi 2009 Trial, but run into problems with the generics stuff right away. The following code does not compile, and I haven't the slightest idea why it's giving me E2015 for the Equals() method: type TPrimaryKey<T> = class(TObject) strict private fValue: T; public constructor Create(AValue: T); ...
How do I save a Tlistviews layout in Delphi 2007? I have been asked to write some code to allow users to re-order columns in a TListview (well all TListviews in our application), I have the code working (by manipulating the columns index and setting width to zero to hide columns not needed) but now I need a way to save the state of the ...
Does that mean that I can't share a Form between delphi 2007 and 2009? ...
After upgrading a project from Delphi 2007 to Delphi 2009 I'm getting an Unknown memory leak, so far I've been tryin to track it down using fastMM, here is what fastMM stack trace reports: A memory block has been leaked. The size is: 20 This block was allocated by thread 0x111C, and the stack trace (return addresses) at the time was...
(Note: I am using Delphi 7) Does anyone know if it is possible to embed a file open dialog inside your own form? We have a tabbed dialog and on one of the tabs we want the user to be able to browse for a file with the same functionality as the the standard open dialog e.g. 'Look in' combo box, places bar, shell file list, file name co...
Wanting to build and test a bunch of Borland Delphi 6 projects that are integrated with ASP.NET services. Had been using WANT and CruiseControl for building Delphi. With TFS Build agent we can tie all together and do some testing. I am looking for guidance and direction. One issue I see is that there is no "solution" in a Delphi pro...
I have a delphi (Win32) web application that can run either as a CGI app, ISAPI or Apache DLL. I want to be able to generate a unique filename prefix (unique for all current requests at a given moment), and figure that the best way to do this would be to use processID (to handle CGI mode) as well as threadID (to handle dll mode). How wo...
We have a pretty mature COM dll, which we test using DUnit. One of our recent tests creates a few threads, and tests the object from those threads. This test works fine when running the test using the gui front-end, but hangs when running as a console application. Here's a quick pseudo view of what we have in the test SetupTest; fThread...
I want to send a message to a thread and handle it in the thread. How can I do this in Delphi? I guess PostMessage is the way, but the examples I've seen so far are describing the other way -ie. from thread to main thread. ...
I have a "username" TEdit on a Delphi 2006 login form. When the application starts up the user is asked to enter the username. The TEdit gets focus and the caret is placed in its horizontal center for some reason. As soon as anything is typed the caret is left aligned again and everything looks normal. It is also strange that it wasn't...
I would like to be able to dictate into my Delphi application using Microsoft Vista's speech recognition. However when attempting to dictate into a TMemo, it simply does not work. I noticed that Firefox 3.0 has the same issue and after they contacted Microsoft about the problem, they told them that they need to implement the Text Service...