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

Why TForm's _release does not call destructor?

Why TForm's _release method does not call destructor? var F, U : IUnknown; procedure TForm1.btn1Click(Sender: TObject); begin U := IUnknown(TMyObject.Create); // MyIterfacedObject (inherits TInterfacedObject) F :=…
Astronavigator
  • 2,021
  • 2
  • 24
  • 45
1
vote
2 answers

Does Delphi 2006 work inside VirtualBox?

I'm getting a lot of error messages, as well as slow performance. ... Is there a workaround? (I heard Delphi 2007 does not work inside VirtualBox.)
Al C
  • 5,175
  • 6
  • 44
  • 74
1
vote
1 answer

TAnimate does nothing when Active is set to true

I am using BDS2006 on Win 7 x64 Pro. These are my steps: Create a new application Put a TAnimate on the form Select "aviFindfile" as CommonAvi Activate the component at design time Run Nothing happens. Anybody's seen this before? Thanks!
Andrea Raimondi
  • 527
  • 8
  • 30
1
vote
1 answer

BDS 2006 webservice compatible with ws-i basic profile 1.0?

Are webservices written in BDS 2006 compatible with ws-i basic profile 1.0? Delphi seems to always add use="encoded" to soap:body which is against this part of the specification:…
1
vote
2 answers

Delphi 10, .NET, how do I convert a hex UTF-8 string to its unicode character?

I am trying to make my web app compatible with international languages and I am stuck with trying to convert escaped characters in my Delphi .NET DLL. The front end code is passing the UTF-8 hex notation with an escape character e.g for お I pass…
Evan V.
  • 37
  • 1
  • 7
1
vote
1 answer

Is it possible to change the appearance of a Rave report's Preview form?

When users preview a report I would like to avoid giving them the option of then opening another report or saving the current report. Open and Save are items in the default menu and toolbar that appear on Rave's preview rendering form; I'd like to…
Al C
  • 5,175
  • 6
  • 44
  • 74
1
vote
2 answers

How to explain access violation in RtlLeaveCriticalSection

I have an application that requests data from a database triggered by a timer on a form. If there is an error (the connection to the database is lost), I sometimes I get the expected exception (EIBO_ISCError) and sometimes I get an access violation…
Alois Heimer
  • 1,772
  • 1
  • 18
  • 40
1
vote
1 answer

Indy TIdSMTPRelay and timeout

We use TIdSMTPRelay to relay some messages. Sometimes the receiving email server will hang and just keep the connection open and our relayer never times out. Is there a way of giving it e.g. 5 mins to deliver the message and then give up?
Marius
  • 2,494
  • 6
  • 31
  • 41
1
vote
4 answers

Efficient way to find file with highest number in Delphi

I have a file with a fixed pattern (CONST_) and a running number (XXXX) like this: CONST_XXXX.XYZ. I am looking for an efficient way to get the file with the highest number in Delphi. Traversing with FindFirst / FindNext seems to be inefficient, if…
Alois Heimer
  • 1,772
  • 1
  • 18
  • 40
1
vote
1 answer

Local string array initialization

I have sporadic problems (access violation in unit System). Application is running 24 x 7 and it happens one - two times in a week. I have a procedure with local string array, and I found there are cases I assign non initialised array member to…
vadim
  • 19
  • 2
1
vote
3 answers

widestring compatibility problem in Delphi

In a dll build with Delphi 2006 Foo(aPath: widestring); begin _rootPath := aPath; end; In an executable built with Delphi 2010 _Foo := GetProcAddress(FooModule,’Foo’); _Foo(‘123456’); Stepping into the dll, aPath = '123'. In fact any string I…
DaiKiraii
  • 43
  • 4
1
vote
3 answers

SSIS how to manage dynamic connection managers?

Here is what i am trying to achieve, 1) Start the loop from 5 years back from current year 2) Check if database for that year is exist if not create new one ? 3) move the tables according to there year of creation into the database of that year…
user2721874
1
vote
1 answer

Delphi 2006 - Assigning dynamic array function results

I had code with the basic constructs illustrated by the following: type TDynamicArray = array of double ; var a : TDynamicArray ; function Func : TDynamicArray ; var b : TDynamicArray ; begin SetLength (B, 3) ; …
rossmcm
  • 5,493
  • 10
  • 55
  • 118
1
vote
1 answer

In System.FinalizeUnits, how do I get the procedure name in a watch?

I have a problem with a unit's finalization section causing a deadlock in my unloadDLL call. I have a suspicion which one it is, but I like a bit of confirmation. The calling code is within system.pas.FinalizeUnits and looks like: while Count > 0…
Matt Allwood
  • 1,448
  • 12
  • 25
1
vote
0 answers

Encrypted file transfer btw delphi client and php server without https server

In an application in Delphi 2006 I need to both upload and download files encrypted and after download stored encrypted, but transiently decrypted when needed at runtime. It will contain personal data like given name, surname, postal address (with…