delphi

Amazon S3 components for Delphi 2010

Besides the Amazon Integrator from /n software, are there any other Amazon S3 components available that can be used with Delphi 2010? I would use the one from /n software, but it has some issues (e.g. GetObjectInfo doesn't work if the object is stored in a specific location) and limitations (e.g. copying objects doesn't let you define re...

How to automize multiple projects build process by including digital signature of exe in Delphi?

After building a project group of 2 projects with Delphi (2009) I digitally sign the 2 exes using InstallAware Code signing, an exe that shipped with Delphi 2009. How is it possible to automize the digital signature, so when I build I can also attach digital signature. For digital signing I use a pvk (private key) file and an spc (Sw ...

How to get the entire code of a method in memory so I can calculate its hash at runtime?

How to get the entire code of a method in memory so I can calculate its hash at runtime? I need to make a function like this: type TProcedureOfObject = procedure of object; function TForm1.CalculateHashValue (AMethod: TProcedureOfObject): string; var MemStream: TMemoryStream; begin result:=''; MemStream:=TMemoryStream.Create;...

Does a VCL OrgChart component with decent features exists? Is there a viable alternative?

I am using DevExpress OrgChart component that is still maintained but not developed since 2003 (fortunately bugs are fixed, but nothing more). Honestly this component, even if it starts to look too old still suffices my requirements except for 2 things: 1) it doesn't support at all the staff feature, for understanding what I mean see t...

prob. with tquery.requestlive

Hi, Do anyone know how to request a "live result set" in MySql when query has offset(eg: select * from table limit 10 offset 20;). it is throughing an error like 'invalid use of keyword' . Thanks, Vijay. ...

Delphi 7 SOAP Authentication and SessionID HowTo

Hello All, I am developing a 3 tier database application. 1.) MS SQL DB 2.) Middle tier SOAP Server (with Delphi 7) connected to the DB 3.) Clients (first win32 gui (with Delphi 7) - later other platfomrs) connected to the SOAP server I chose a SOAP Server to be open to various clients at a later stage (also some of the win32 gui clien...

Is it possible to get a delphi project to create a lib file as the output of the project?

I want it to create dll and LIB. because this dll is statically linked to another CPP dll. so I must have the lib file. i'm using the IDE of delphi 4 ...

Cannot make sense out a Delphi windows file name

I am trying to copy from a file X to this name C:\RIP2\France Clidat\Les Plus Belles Oeuvres - France Clidat\(01)3_ Un Sospiro.flac I have checked that there is no bad characters, If I force directorires it creates C:\RIP2\France Clidat\Les Plus Belles Oeuvres - France Clidat but it refuses to write the file and I do not underst...

Delphi 2010 Datasnap - Design Query

I am investigating moving a thick client SQL based Delphi application to Multi Tier thin clients, and have been looking at using Datasnap in Delphi 2010. I have worked through the White Paper written by Bob Swart and extended this further. My main question really is that I want to make the server side efficient in terms of connections ...

Delphi control/way to print text sideways

I need a way to have a label (or something like it) print sideways. I would really like it to work at design time if at all possible. Is there any controls / mechanisms that anyone knows of to do this? (Not .net controls please) ...

The ribbon control of Delphi 2010 has footer content in the application menu?

I'd like to put some buttons in the footer content like the image below. Is there a way to do this? ...

Safest way to idle delphi application to wait for timer?

I am doing a delphi application that will run on my pc 24/7 in the background and will check if it has to do some actions or not, wait 30 minutes and check again, and so on. How can I make sure the application will not overload cpu or memory because of being running all the time. ...

Delphi: How to assign Click event to object's method?

i have a menu item, and i'm trying to assign its OnClick event handler: miFrobGizmo.OnClick := {something}; The OnClick event handler property, like almost every other event handler, is defined as a TNotifyEvent method type: property OnClick: TNotifyEvent where TNotifyEvent is: TNotifyEvent = procedure(Sender: TObject) of object;...

Delphi: How to call a method when i click a control?

i have a method: procedure Frob(Sender: TObject); that i want to call when i click a menu item. The method comes to me though an interface: animal: IAnimal; IAnimal = interface procedure Frob(Sender: TObject); end; The question revolves around what to assign to the OnClick event handler of a menu item (i.e. control): var a...

Adobe Acrobat API - How to skip opening password protected PDFs?

Hi all, I've been using Delphi and the Adobe Acrobat 9 API. I'm simply opening a PDF and printing it, followed by closing it without saving anything. I'm having an issue while opening some PDFs though. If the PDF is password protected the Open method displays Adobe's "Input password" prompt. My application is running in an automated fa...

how debug a dll in delphi7 with win 7 x64 IS POSSIBLE ???

I try to debug a COM+ DLL in Delphi 7 in a Win7 environment. How can I do this? ...

Reading in a CSV file with multi-line records in Delphi

Normally I just use TStringList.CommaText, but this wont work when a given field has multiple lines. Basically I need a csv processor that conforms to rfc4180. I'd rather not have to implement the RFC myself. ...

Problem with writing if condition

I have two decimal numbers. I want those number to be same upto 4 decimal points without rounding. If numbers are different I want 2nd number to be replaced by 1st. What if condition should I write? Eg, 1. num1 = 0.94618976 num2 = 0.94620239 If we round these numbers upto 4 decimal then we get 0.9462 same number, but I don't want...

How to test if an application (.exe) is built with runtime package

How may I test in coding if my .exe Delphi application is built with runtime package or is single .exe? ...

How to get absolute path from path with system path variables?

Is there an easy way to translate a path with system path variables to an absolute path? So %ProgramFiles%\Internet Explorer\hmmapi.dll becomes C:\Program Files\Internet Explorer\hmmapi.dll I like to know if there is an API call that can do this, or do I have to do this the hard way and detect %..% sequences and replace them with the c...