Delphi 2007 is a specific version of Delphi. Delphi 2007 was released in March 2007, and was available as a standalone product or as part of RAD Studio 2007.
0
votes
0answers
3 views
GetFileVersionInfoSize And GetFileVersionInfo return nothing
GetFileVersionInfoSize is 0 (zero)
And GetFileVersionInfo return nothing
I am using it Like this:
function FileVersion(const FileName: TFileName): String;
var
VerInfoSize: Cardinal;
...
0
votes
0answers
9 views
Clear lines drawn with TCanvas
I am using TCanvas to draw a blue line whenever the left mouse button is clicked, and a red line whenever the right mouse button is clicked. Currently whenever I click another line is drawn on the ...
0
votes
1answer
52 views
How to export multiple TdxDBGrid into an Excel worksheet?
In our application we are having different grids in a form having individual Export to Excel functionality. DevExpress do not provide the functionality to Export multiple grids into an Excel ...
0
votes
1answer
60 views
How to remove design-time package?
I am trying to install Asynch Pro into Delphi 2007. I seem to have installed the wrong package (10 vs 9), and need to install a different one. Trouble is that when I try to install the design time ...
1
vote
0answers
59 views
EReadError with Glyph.Data
I'm converting my app(s) from D2007 to XE3. When I start it, there come exceptions of EReadError 'Error reading AnyComponent.Glyph.Data'. The errors occur already in Form.Create().
When I remove the ...
6
votes
1answer
87 views
Delphi 2007 - How can I clean the Parameters field in the Run -> Parameters menu?
I'm using the CodeGear RAD Studio IDE.
In order to test my application with command line parameters I used a few times the "Parameters" field in the "Run -> Parameters" menu.
But everytime I provide ...
3
votes
1answer
59 views
how to do a stacked barchart from a dataset using teechart in delphi
I can create a stacked barchart in Delphi using TeeChart. This is using values and series added in a loop. I would prefer to create this chart by just using a query as the datasource and not have to ...
7
votes
2answers
144 views
How do you line up a TPopupMenu so that it accurately positions itself above a button?
I want a popup menu above a button:
Delphi wraps the Win32 menu system in a way that seems to preclude every mode or flag that the underlying Win32 API provides that was not in the VCL author's ...
2
votes
1answer
50 views
How to set the order of characters in TDBGrid sorting?
I'm using a TDBGrid connected to a TDataSource.
This TDataSource uses a TADOQuery as its dataset.
The TADOQuery connects to a Oracle10g database and holds the following query:
SELECT ST.desc
FROM ...
4
votes
1answer
107 views
Make Vista+ file dialogs work before main form is created
In a little app I want to show a open file dialog before the main form is created. I do it like this in the *.dpr:
begin
Application.Initialize;
Init; // ...
2
votes
1answer
86 views
TADOQuery: 'EDatabaseError type mismatch for field 'MyField', expecting: String actual: FixedWideChar' [closed]
I have 3 different databases (development, homolog and prod), each of them in one of the following Oracle versions: 11g and 10g.
I'm using a TADOQuery to query for some data in only one of those ...
1
vote
1answer
51 views
Out of memory error in Delphi with ODBC and MidasLib
I have an ADOQuery connected to a DataSetProvider connected to a ClientDataSet connected to a DataSource connected to a DBGrid. Under some circumstances, the query returns too many records, and I get ...
1
vote
1answer
123 views
ShowMessage in Delphi XE3 DllMain
DLL below is compiled with XE3.
library MyDLL;
uses System.SysUtils, System.Classes, Vcl.Dialogs;
{$R *.res}
var
II: Integer;
function Test: Integer;
begin
Result := II;
end;
exports Test;
...
0
votes
1answer
81 views
How to use TImageList.DrawOverlay?
I use D2007 and TcxButton with a glyph image from Devexpress but it should be the same for any image. The button have 2 states and on the second state I want to draw an overlay over the original ...
0
votes
2answers
137 views
R link error too many resource to handle
I have a large project(single exe) having three thousand pas files and almost two thousand dfms. It also contains several resource strings and image lists.
This project was working very fine and was ...