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
55
votes
10 answers

Delphi 2006-2010 error: "Cannot create file C:\Users\Admin\AppData\Local\Temp\EditorLineEnds.ttr"

I am getting an error after installing Delphi 2007 (Edit: This problem occurs in all Delphi versions from 2006 to 2010) that I can not figure out and have never seen before. After restarting I can launch the program without any problems, but if I…
M Schenkel
  • 6,294
  • 12
  • 62
  • 107
44
votes
1 answer

Published interface properties bug and workarounds

I wrote a set of components that link to each other via published interface properties. They are registered and installed in a design package. Using published interface properties is not that common in Delphi, and thus, unsurprisingly, doesn't seem…
user219760
35
votes
3 answers

Why does CreateProcess give error 193 (%1 is not a valid Win32 app)

The code below fails to start documents. I get error 193 (%1 is not a valid Win32 app). Starting executables work fine. The files are properly associated, they start the corresponding app when double clicked. I have searched SO and elsewhere for the…
Jan Doggen
  • 8,799
  • 13
  • 70
  • 144
33
votes
5 answers

Find the last occurrence of char in a string

Does there exist any RTL Delphi function to determine the position of the last occurrence of a char in a string?
DelphiNewbie
  • 769
  • 3
  • 9
  • 14
32
votes
4 answers

Why 2 GB memory limit when running in 64 bit Windows?

I'm a member in a team that develop a Delphi application. The memory requirements are huge. 500 MB is normal but in some cases it got out of memory exception. The memory allocated in that cases is typically between 1000 - 1700 MB. We of course want…
Roland Bengtsson
  • 5,058
  • 9
  • 58
  • 99
31
votes
4 answers

TStringList splitting bugs

Recently I've been informed by a reputable SO user, that TStringList has splitting bugs which would cause it to fail parsing CSV data. I haven't been informed about the nature of these bugs, and a search on the internet including Quality Central did…
Sertac Akyuz
  • 54,131
  • 4
  • 102
  • 169
31
votes
3 answers

Delphi MSBuild Build Configurations From Command Line

Delphi 2009 uses build configurations. When you create a new project you have two default build configurations "Debug" and "Release". Now I asked myself how to automate builds using MSBuild (which is supported by Delphi since version 2007). You can…
ulrichb
  • 19,610
  • 8
  • 73
  • 87
31
votes
7 answers

Initialise string function result?

I've just been debugging a problem with a function that returns a string that has got me worried. I've always assumed that the implicit Result variable for functions that return a string would be empty at the start of the function call, but the…
avenmore
  • 2,809
  • 3
  • 33
  • 34
31
votes
3 answers

Best way to find if a string is in a list (without generics)

I want do something like this: Result = 'MyString' in [string1, string2, string3, string4]; This can't be used with strings and I don't want to do something like this: Result = (('MyString' = string1) or ('MyString' = string2)); Also I think that…
Fabio Gomes
  • 5,914
  • 11
  • 61
  • 77
24
votes
4 answers

Convert Hi-Ansi chars to Ascii equivalent (é -> e)

Is there a routine available in Delphi 2007 to convert the characters in the high range of the ANSI table (>127) to their equivalent ones in pure ASCII (<=127) according to a locale (codepage)? I know some chars cannot translate well but most can,…
Francesca
  • 21,452
  • 4
  • 49
  • 90
22
votes
7 answers

Wiki: Current state of the art of Delphi 3rd party TCP/IP components libraries

I've not been doing bare metal TCP/IP for about 18 months, so I wonder what the current state of the art is. I'm looking for both positive and negative aspects, with development of both server and client software. I will be doing a project that…
Jeroen Wiert Pluimers
  • 23,965
  • 9
  • 74
  • 154
22
votes
6 answers

Delphi: count number of times a string occurs in another string

I'm using Delphi 2007 and wonder if there is a simple way of counting the number of times a string occurs in another string. Any builtin function I can use? Examples: "How" occurs once in the string "How are you?" "do" occurs twice in the string…
Jonas
  • 4,107
  • 3
  • 21
  • 25
22
votes
3 answers

Delphi 2007 x Windows 10 - Error on opening project

Just updated from Windows 8.1 to Windows 10 and now when I try to open any project on Delphi 2007, I get his error : Unable to load project xxxxx The imported project "c:\Windows\Microsft.NET...\Borland.Delphi.Targets" was not found. Confirm…
delphirules
  • 6,443
  • 17
  • 59
  • 108
21
votes
1 answer

Update TWebBrowser in a separate thread?

I use a TWebBrowser to show a Google map. The problem is that it blocks the main ui thread while it loads the map. Is it possible to update the map in a separate thread? Edit: RRUZ you are right TWebBrowser have async loading for the URL. But I…
Roland Bengtsson
  • 5,058
  • 9
  • 58
  • 99
20
votes
2 answers

Is there a `ProgressButton`?

I could like to have a button that does double duty as a progress bar. + = ........ E.g. a button that fills up with a green background as the task progresses. I know I can create my own, but if there's something ready made I'd love to use…
Johan
  • 74,508
  • 24
  • 191
  • 319
1
2 3
55 56