Questions tagged [delphi-2006]

Delphi 2006 is a specific version of Delphi. Use this tag for issues related specifically to development in Delphi 2006.

Delphi 2006 is a specific version of Delphi. It was released in December 2005.

Delphi 2006 codename is DeXter.

Delphi 2006 was preceded by Delphi 2005 and succeeded by Delphi 2007. As of August 2009 it was no longer officially supported by Embarcadero.

262 questions
1
vote
1 answer

How to insert code to a class without modify the original class?

I have created a routine to make the corners of Delphi visual controls to be rounded. Now what I want to do is ensure that every visual object like TMemo, TEdit and TPanel comes rounded without having to call the function for everyone of them at the…
NaN
  • 8,596
  • 20
  • 79
  • 153
1
vote
2 answers

Porting a Delphi 2006 app to XE

I am wanting to port several large apps from Delphi 2006 to XE. The reasons are not so much to do with Unicode, but to take advantage of (hopefully) better IDE stability, native PNG support, more components, less VCL bugs, less dependence on 3rd…
rossmcm
  • 5,493
  • 10
  • 55
  • 118
1
vote
4 answers

Known constructs that crash the Delphi IDE

I'm using Turbo Explorer 2006 (update 2), and sometimes the IDE crash in a certain unit, specially when I try to use class-completion. The unit (and whole project) are in production and have run fine for years, with daily modifications, it's just…
Marco van de Voort
  • 25,628
  • 5
  • 56
  • 89
1
vote
2 answers

What could suddenly cause my Delphi 2006 IDE to behave erratically when debugging?

I have Delphi 2006. Suddenly it has started behaving erratically. If I run to a breakpoint, it stops, but the next time I start it, the program runs but ignores breakpoints. If I reset the debugger and run the program from start again, the…
rossmcm
  • 5,493
  • 10
  • 55
  • 118
0
votes
1 answer

ODAC and Unicode

I have problem with ODAC 6.2. In page about ODAC written that ODAC support Unicode. Now I use TOraSQl component and I connect to Unicode table in Oracle. I can not view Unicode data in table. I see only ANCII code. pls, help me. I think TOraSql…
Emin
0
votes
1 answer

Do I need to wrap accesses to Int64's with a critical section?

I have code that logs execution times of routines by accessing QueryPerformanceCounter. Roughly: var FStart, FStop : Int64 ; ... QueryPerformanceCounter (FStart) ; ... QueryPerformanceCounter (FStop) ;
rossmcm
  • 5,493
  • 10
  • 55
  • 118
0
votes
1 answer

Delphi 2006 translate from/into French/Dutch/German with a single ansi codepage

I need to make some translations from/into the French/Dutch/German languages using Delphi 2006 (without any third party units/components). These 3 languages have the code page 1252. Our database is UTF-8 compliant, so at this moment I rely on the…
RBA
  • 12,337
  • 16
  • 79
  • 126
0
votes
1 answer

Debugging a Delphi project EXE locally

I have an EXE produced by the D2006 compiler and associated RSM and MAP files in the same folder as the EXE. The files are local to the machine Delphi is installed on. I can start the IDE and "Load Process" the EXE and run it but I can't see any…
rossmcm
  • 5,493
  • 10
  • 55
  • 118
0
votes
1 answer

Delphi/Indy. Long delay in procedure TIdStackWindows.Connect

My app is hanging in the call to procedure TIdStackWindows.Connect. When the TCP/IP address exists there is no problem, but if it doesn't, I get the hang. The IP address is a literal- there is no DNS lookup involved. I was expecting the…
rossmcm
  • 5,493
  • 10
  • 55
  • 118
0
votes
1 answer

Can I make a context menu entry only appear if an app is running?

Is is possible to have right-mouse-click entries only appear when my application is running? What I am thinking is that I want people to be able to right-click a file in windows explorer and be able to select an entry "Email this file to technical…
rossmcm
  • 5,493
  • 10
  • 55
  • 118
0
votes
2 answers

Oracle error occurred, but error message could not be retrieved from Oracle

There is a delphi application in which I am trying to connect to Oracle database Using provider MSDAORA.1 but problem is coming in connecting. Oracle error message which is coming is "Oracle error occurred, but error message could not be retrieved…
tech
  • 1
  • 1
  • 1
0
votes
1 answer

Windows slowing down with mouse pointer on destop

I've a strange problem. I started approx. 160 processes. Now, if the mouse pointer is on the Desktop, some actions which used to take 100ms, now take 10 seconds although the total load of the system is 13-16%. Even thrid party programs like…
GreenEyedAndy
  • 1,485
  • 1
  • 14
  • 31
0
votes
2 answers

Why loop While with for inside doen't work?

I'm trying to break out of the while loop by changing the auxboolean variable inside the for loop but it doesn't work. The for loop doesn't exit when auxboolean is set to false. Why? Also, the for loop seems to start with i having value 9 and…
Miguel_J
  • 43
  • 6
0
votes
4 answers

Delphi - ExtractFileName messes up unicode

I am using ExtractFileName of a WideString that equals to 'STF:宋体'. The result is '??'. It seems that ExtractFileName does not handle unicode well. Is there an equivalent method for unicode? Edit: This is the line i use NameStr :=…
Erik Sapir
  • 23,209
  • 28
  • 81
  • 141
0
votes
1 answer

Convert RTF image data to plain text (SQL Server and Dephi BDS 2006)

Been struggling with this one for a while. We have a old table (SQL Server) that has image type data. I want to get the text. So far this is what I've done. Try to convert or cast it (not allowed) Try to bring over the data into delphi by calling…
Rob
  • 2,363
  • 7
  • 36
  • 54