Hi,
I need to notify my application in some way whenever any file in the given directory has been changed (its content has been modified) ... is there any JCL/JVCL routine for that?
Thanks in advance ...
...
The below code works in Delphi 2007, but it gives me this error in Delphi 2010:
---------------------------
Error
---------------------------
Cannot load oci.dll library (error code 127). The oci.dll library may be missing from the system path or you may have an incompatible version of the library installed.
---------------------------...
Many versions of Delphi including Delphi 2010 display" Error executing 'D:\ProgramData{BBD31133-40F8-4B57-9BA6-DB76C03D153B}\Setup.exe': The parameter is incorrect in the AutoRun Tab."
What does it mean and how do you eliminate it?
...
I am building a list of web Link to sites that I want to keep track of, and I would like to put the website icon, not the default browsers.
How can I do this?
...
i coded this program to upload a file on server using ftpput api it is not working it runs but file is not delevered!
here's the code:
unit ftp3;
interface
uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, StdCtrls,wininet;
type
TForm1 = class(TForm)
Button1: TButton;
procedure Bu...
type B02 = array [01..02] of byte ;
...
var b : B02;
...
//here i read from tcp socket
socket.ReadBuffer(b, 2);
The question is: how to convert B02 to an integer?
...
I just got a call from a friend who wants to learn some programming. I'm going to help her get a copy of Lazarus set up, since there's no worthwhile free version of Delphi available, but the actual learning process is a bit beyond my ability to help out. This friend has no coding background at all, and I'm not very good at explaining c...
Hi,
I want to install Rad Studio 2010 on a machine that already has installed Rad Studio 2007,
There is some compatibility problem?
thanks in advance, Bye.
...
Hello, I am migrating an application written in Delphi 2007 .Net to Delphi Prism, which is the best option to replace the TStringList and TStrings class?
Thanks in advance.
Bye.
...
I'm using the SDL library to try to create a rendering context in a Delphi form. Everything works well until I try to create the renderer itself. It calls wglCreateContext, which fails. The error message says "Invalid pixel format."
The pixel format is based on the hdc for the form, which is all set up and managed internally by the V...
Hello
I successfully installed the latest QuantumGrid from DevExpress, but I've never worked with this grid before, and I don't know how to get started. I find that the HLP file isn't really a tutorial, and the demos are so rich to the point where I can't get started quickly and see if QuantumGrid fits my needs.
Would someone happen to...
I just downloaded the Delphi 2010 iso from my SA-subscription and wanted to install it in addition to my other Delphi installations on my notebook computer. Unfortunately it refuses to install because the machine is running Windows 2000.
Is it possible somehow to get it to install it anyway? Or is there a technical reason why it might n...
Sure I've seen this done before but off-hand I can't find any examples.
I've got a TListView, set in 'report' viewstyle. It has about half a dozen subitems, and one thing we'd like to do is have the 'hint' (tooltip) on the listview dynamically show another field of data. That is, each time you move the mouse over any given row, the 'hin...
At the moment I give delphi2010 a trial and found the TValue type of the Rtti Unit. TValue have very interessting features, but I can't find a way to assign an interface.
I try the following
program Project1;
uses
Classes, SysUtils, Rtti;
var
list : IInterfaceList;
value : TValue;
begin
// all these assignments works
value...
BE AWARE! Creating spyware, computer viruses and similar nasties can be illegal where you live and is considered extremely unethical by almost everyone. Still, I need to ask this to raise awareness about how easy it is to create one. I am asking this after the W32/Induc-A was introduced to this world by someone who came up with a nasty w...
Hi,
I need to add a page to TJvWizard at runtime (the page might be registered by plugin). I tried adding it to JvWizard.Pages, but it doesn't seem to be valid way - I need to insert the page as the penultimate page...
I tried the code
AddWizardPage(APage: TJvWizardCustomPage);
begin
if APage <> nil then
begin
Apage.Wizard:=JvWi...
When I compile our project use Delphi 2010 Trial, there has a fatal error :
[DCC Fatal Error] F2084 Internal Error: L1737
Seem's a internal error. No hint at all.
Is this a compiler bug or trial limit?
Thanks.
...
I'm using the IdFTP (Indy 10) component to download some files (zip and txt) from a remote location. Before getting each file I set the TransferType to binary.
IdFTP.TransferType := ftBinary;
IdFTP.Get(ASource, ADest, AOverwrite);
I expect that both text and binary files can be downloaded using the binary mode. However it looks like t...
I just discovered that the Delphi TRibbonComboBox doesn't have an item index, and it should.
I'd like to fix this locally at least for the unit, and I think Delphi 2009 added a way to introduce new methods to an outside class without having to descent from the class, but I can't remember how.
Is there a way to add 'function ItemIndex: ...
If I have an object that implements an interface, it maps the interface methods automatically onto the class's methods with the same name and signature by default. Is there any way to override this and map an interface method onto a method with the same signature but a different name? (This could be useful, for example, if I implement ...