Questions tagged [delphi-2007]

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.

Delphi 2007 is a specific version of Delphi.

Delphi 2007 codename is Spacely.

Delphi 2007 was released in March 2007, and was available as a standalone product or as part of RAD Studio 2007.

Delphi 2007 was the last version that used the 8-bit AnsiString as the default string type.
Many components that do not support Unicode will work unchanged on Delphi 2007.

Delphi 2007 was preceded by Delphi 2006 and succeeded by Delphi 2009.

839 questions
0
votes
0 answers

Unobserved TOmniTask... Task controller needs an owner?

I have written a program in Delphi 2007 using the OmniThreadLibrary. I found that the program was growing bigger and bigger in memory as it ran using the following structure to launch tasks. class procedure saveIniFile(const iniFile: TStringList); …
Gavin
  • 2,123
  • 1
  • 15
  • 19
0
votes
1 answer

Delphi scanning for database directories using multi threading

I need to scan drives for directories containing my database files to add them to the BDE paths. How can I make my code do it faster using threads? I'm using delphi 2007, so omniThread is not supported. I need to know how to make the thread, and how…
0
votes
2 answers

Inherited TShape.Paint does not work after overriding Shape property

I'm to code a TExpandedShape class inherited from TShape. TExpandedShape must act like TShape and be able to draw extra shapes: Polygon and Star. Here is my code unit ExpandedShape; interface uses SysUtils, WinTypes, WinProcs, Messages,…
Aleksei Poliakov
  • 1,322
  • 1
  • 14
  • 27
0
votes
1 answer

Examples of Master/Detail reports for Rave for Delphi 2007 using sub-totals

I want to create a report using Rave for Delphi 2007 where one column is sub-totaled for each group of records, and then a grand total is also shown. Are there any examples of how to do this?
jon bondy
  • 411
  • 3
  • 11
0
votes
4 answers

Strange rare out-of-order data received using Indy

We're having a bizarre problem with Indy10 where two large strings (a few hundred characters each) that we send out one after the other using TCP are appearing at the other end intertwined oddly. This happens extremely infrequently. Each string is…
Jim
  • 4,691
  • 1
  • 25
  • 23
0
votes
1 answer

How can I print a form that include a RichEdit in Delphi 2007?

I am currently working on a project with a really easy task : When I press a button, the form I'm currently in is printed (like a print screen). I use the method Self.Print; in the said button and everything works fine. My buttons, labels and…
KeineMaster
  • 285
  • 5
  • 14
0
votes
1 answer

Delphi 2007 - Loading TJvImage from a PNG file loses transparency

I have a couple of TJvImage components on my main form. One is loaded at design time from a partially transparent PNG file. The other is smaller than the first and in front of it. It is loaded at runtime with another partially transparent PNG…
rossmcm
  • 5,493
  • 10
  • 55
  • 118
0
votes
1 answer

What's the cause of this Access Violation when concatenating strings in D2007?

I have a procedure that accepts 2 string parameters, one of them has a default value. Inside the procedure, I want to concatenate one and the other and some literals to form one larger string. Somehow, I'm getting an AV... any ideas? code is…
Sam
  • 2,663
  • 10
  • 41
  • 60
0
votes
1 answer

How do I install the latest Indy10 in Delphi 2007 for .NET?

Can someone please point me to instructions for installing the latest Indy10 in Delphi 2007 for .NET? I'm not exactly sure how that works for the .NET side. Currently, I use the Indy10 assemblies that shipped with Delphi 2007. I have the latest…
Jim
  • 4,691
  • 1
  • 25
  • 23
0
votes
1 answer

Reading txt file & opening with excel

Using Delphi 2007 & trying to read a txt file with greek characters & opening with Excel, I am not getting greek characters but symbols...Any help? The text file is created with this code CSVSTRList.SaveToFile('c:\test\xxx2.txt'); where …
VaVel
  • 69
  • 3
  • 13
0
votes
1 answer

How to force Help and Printer Setup Dialogs to be displayed on the same monitor as the running application?

I know how to force forms to appear on the same monitor as the running application, but I do not see how to ask the Help or the Printer Setup dialogs to display on the same monitor. The Help displays where it displayed last time, but we want it to…
jon bondy
  • 411
  • 3
  • 11
0
votes
0 answers

.dat file loading routine

Okay so i have an old 8-bit game that loads six .dat files for different size lightmaps. Something along the lines of this: const MAX_LIGHT_COUNT = 5; LFiles : array[0..MAX_LIGHT_COUNT] of string = ( '.\L00.dat', '.\L01.dat', …
Se7en
  • 33
  • 1
  • 5
0
votes
3 answers

How to prevention when assignment a out param happening "Access Violation Exception"?

There is method: function Test.get_Param(out a : BOOL): HRESULT; stdcall; begin a := b; Result := T_Result; end; Now the exception happening on a := b; , happening Access violation Exception. Ofcourse I can try and catch it. but I don't want…
qakmak
  • 1,287
  • 9
  • 31
  • 62
0
votes
0 answers

Delphi 2007, Export HTML table from TWebbrowser to Excel

I am trying to copy the data from a table inside a TWebBrowser into excel but with no success. With the first command I am getting everywhere inside the excel the word "object" & with the second command I am getting the same value everywhere inside…
VaVel
  • 69
  • 3
  • 13
0
votes
1 answer

How to switch database schema's?

I'm working on a Delphi/WIN32 application that uses an SQL Server database as back-end, using ADO to access the data. There are many users who use this application, but one user is using a special setup: they have multiple database schema's and…
Wim ten Brink
  • 25,901
  • 20
  • 83
  • 149