delphi-2006

How do you do a global search and replace in all the files in Delphi 2006 project

Help !!! I have just spent about 10 minutes looking for a way to do a search and replace over all the files in Delphi 2006 project. Please can you tell how to do it ...

Information required on TDataSetProvider in Delphi

I have Midas project that uses a TDataSetProvider in one of RemoteDataModules in the Server Currently I am making use of the following events BeforeApplyUpdates - to create an Object BeforeUpdateRecord - to use the object AfterApplyUpdates - to destory the object Question: Will ‘ AfterApplyUpdates’ always be called even if the i...

How do you do a copy and paste in the Type Library Editor in Delphi ?

Help I am busy making changes to a type library in a Datasnap project. How do I copy and paste text with in the type library editor ? P.s. I am using BDS2006 EDIT 1 Is there a way to chnage the Type Library without using the TLB Editor ? EDIT 2 Is there any way to do a copy and paste in the 'Attributes' and 'Users' screens of type...

Type Libraries in Delphi?

What is the best way to save a Delphi Type Library in SVN. The file changes every time you compile the Application The file is not saved in a readable form of AscII It is very difficult to work out what changes have been made from one version to the next This is a major problem when more than one person is changing the file QUE...

Registering a form in Object Repository (automated, by code or any other means)

I was doing some customization to my forms, since I want them with some published properties appear on Object Inspector. I've done the simple way: create the form, put it on object repository, created a package to register it with RegisterCustomModule. I would like to know if anyone have a way to put it on Object Repository in a automat...

Using a COM DLL in delphi - Access violation in MSVCR80D.dll error

I need to use a DLL created using .NET framework. This DLL is made COM visible. I want to use this DLL in an application created using Delphi 2006. I have followed following steps: Registered the DLL using regscr32. Imported the type library using Delphi IDE. It created _TLB.pas file. Following signature was created in TLB file. fun...

GDIPlus.dll Access violation error

I am getting an access violation error stating "Access Violation at address 4EC842CD in module gdiplus.dll". Language Used : - Delphi 10, Borland Studio 2006 Environment: - Windows XP I am having an application in which I am using File Open dialog in Delphi which facilitates users to open some type of files from any location of their sys...

Tools which can parse Delphi XMLDoc format and build online help

The XMLDoc tool for API documentation is explained here: http://edn.embarcadero.com/article/32770 Are there any free or commercial tools which can be used to create documentation based on Delphi's XML doc format? Is there a newer version of the 'getting started' documentation? This page refers to Delphi 2005 and third party tools, som...

Delphi - Tree View

Hi I am looking for a data aware Tree View for delphi what is the best one to use ? ...

Mutually dependent records in Delphi

I am using the operator overloading for records in Delphi 2006. (Please don't answer this question by telling me not to.) I have two record types with the implicit operator overloaded. They are both only in the implementation of the module, not exposed through the interface. My problem is, now that they are mutally dependent, I don't ...

When should I use enhanced record types in Delphi instead of classes?

Delphi 2006 introduced new capabilities for records, making them more 'object-oriented'. In which situations is the record type more appropriate for a design than a class type? Which advantage does it have to use these record types? ...

How to find a location of a program

I am using Delphi2006 and I want to find the location of a particular program using Delphi code. ...

ODAC and Unicode

Hi. 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 doesn't support Unicode ;) ...

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 the IDE tools that fail. Usually if this happens, Delphi survives the crash, but some parts...

Problem in consuming WCF service (basicHttpBinding) in Delphi Win32 Client

I am trying to make a Delphi client (Delphi 2006) to communicate with a service written using WCF. Service is damn simple with just one function. Technically like below: [ServiceContract (Namespace = "http://www.company.com/sample/")] public interface IService { [OperationContract] string GetNumber (string name); } I have host...

Repeated setters logic in Delphi

For each setter of a class I have to implement some event logic (OnChanging, OnChanged): procedure TBlock.SetWeightIn(const Value: Double); var OldValue: Double; begin OldValue := FWeightIn; DoOnChanging(OldValue, Value); FWeightIn := Value; DoOnChanged(OldValue, Value); end; procedure TBlock.SetWeightOut(const Value: Double); ...

Delphi 2006 loses component package

Delphi 2006, whenever started afresh, loses component package. This happens on a daily bases. We have component packages with custom VCL components that we wrote ourselves. When starting up Delphi 2006, nothing is noted. But as soon as I open a form that has some of these components on it, I receive bds.exe - Unable To Locate Compone...

Delphi 2006 always stops working when closed on Vista

Whenever I stop the Galileo IDE from Delphi 2006 under Vista, I get Microsoft Windows Borland® Developer Studio for Windows has stopped working A problem caused the program to stop working correctly. Please close the program. [Close the program] followed by some dialog by data execution prevention. Even excludi...

Can Delphi 2006 be Installed After Delphi 2007 is Already Installed?

During rebuild after a computer crash, I re-installed Delphi 7, then Delphi 2007. We skipped installation of Delphi 2006. However, now I would like to install Delphi 2006 before Embarcadero discontinues allowing for download of the latest version of D2006. Is it possible to install Delphi 2006 on this computer without having an advers...

What is a "customizable VCL designer guideline" in Delphi?

The web page http://www.codegear.com/en/products/bds2006 starts with a list which includes this line: Ensure visual consistency with customizable VCL designer guidelines. Is this related to the 'laser-line' guidelines? How can these guidelines be 'customized'? Edit: This page gives additional information about this feature....