delphi

How to Create an Outlook Plugin using Delphi?

Hi, I'm working on a database project and I need to create Outlook 2007 plugin that saves the current previewed message into my database. Can someone give me a step-by-step guide on how to create an Outlook plugin in Delphi, and how to deploy it? Thanks ...

Get Application exe size easily

Is there a way in Delphi to get the currect application's exe size in one or two lines of code? ...

Can you override MessageDlg calls to a Custom TForm/Dialog?

I have been using code similar to this MessageDlg('', mtWarning, [mbOK], 0); throughout my project, (thanks to the GExperts Message Dialog tool :) ) and i was wondering if anyone knows of a way do override the call and show my own custom Form. The only way i can think to do it its make a New Form with something like function Message...

Passing a string to an already running instance of an application

I have an application that detects if there is another instance of the app running and exits if one is found. This part seems to work reliably. My app takes a command-line argument that I would like to pass to the already running instance. I have the following code so far: Project1.dpr program Project1; uses ... AppInstanceControl...

Which embedded database to use in a Delphi application?

I am creating a desktop app in Delphi and plan to use an embedded database. I've started the project using SQlite3 with the DISQLite3 library. It works but documentation seems a bit light. I recently found Firebird (yes I've been out of Windows for a while) and it seems to have some compelling features and support. What are some pros ...

How can I create a Delphi TSpeedButton or SpeedButton in C# 2.0?

How can I create a Delphi TSpeedButton or SpeedButton in C# 2.0? ...

Using KeyDown event in the parent window of a Delphi Mdi Application

How do I get the KeyDown event to work in a Delphi (2007) MDI Applications Parent window, even if a Child window has focus? I would like to implement a shortcut key (F1) that brings up a help screen in a MDI application, I have added the KeyDown procedure to the MDI Parent window and enabled KeyPreview in both the Parent and Child wind...

Delphi: Moving away from VSS

We are team of few Delphi developers who have been using VSS since years (I know it's a pity), but we don't use any of the advanced features of VCS, so it was working fine in many cases (but some times it was driving me crazy :( ). The good thing that we have with VSS that we use third-party plug-ins to integrate VSS with Delphi, which...

Is there a Delphi implementation of Google Data APIs?

Google offers various libraries for interfacing with the Google Data APIs. Currently these do not include Delphi (Win32) support. Has anyone done any work on a Delphi interface to Google Data, or the underlying Atom/AtomPub protocols? ...

Scripting library for Delphi

I'm looking to add scripting capabilities to one of my program. Do you know a good scripting library for Delphi? ...

ExceptProc not being called in Windows

I am currently trying to create an Exception handler built into my windows service that, on an unhandled exception, sends a message to another program. I have built the method and gotten the communication working, but it seems that every time my program throws the error, (I have a raise call in the code to force it.) windows catches it...

does anyone know of good delphi docking components?

we'd like to add movable panels to an application. presently we've used DevExpress docking library but have found them to be disappointingly quirky & difficult to work with. it also has some limitations that aren't so great. auto-hide, pinning, and moving of pages by drag-and-drop are all features we'd like to use. the built-in delph...

Delphi component to help model project costs

I'm looking for a Delphi component that will allow end users to visually move, expand or shrink costs (or any resource, really) on a project plan. The plan would show the schedule horizontally month by month, or perhaps week by week, with each cost on its own line. eg. You might have Cost 1 which runs from Month 3 to Month 6, and Cost 2...

How to determine active monitor of the current cursor location

I currently have an application which needs to have an awareness of which monitor the cursor is located when running in a multi-monitor configuration. ...

Delphi Multi-Threading Message Loop

Hi There, My application has several threads: 1) Main Thread 2) 2 Sub-Main Threads (each with Message Loop, as shown below), used by TFQM 3) n Worker Threads (simple loop, containing Sleep()) My problem is, when I close my application, the Worker Threads manage to exit properly, but 1 of the 2 Sub-Main Threads hangs (never exits) when ...

What features would you like to see in the win32 Delphi Compiler?

Delphi (the language) has its own syntax and features, and other languages have their own too. As a Delphi developer, what would you like to have in the win32 Delphi compiler? And if you are not a Delphi developer, what features would make you starting using Delphi? Here's my short list Main Features: Cross platform compiler (Revive...

Find client IP and SOAP call info from a Delphi web service

I have a Delphi Web Server setup and running, publishing Web Services, and I want to know some stuff on the calls to the web services: The IP address of the client who calls the web service. Some SOAP information on the call, such as username and password. How can I get this information from within the service code? My class is inher...

Does Delphi have any equivalent to C's volatile variable?

In C and C++ a variable can be marked as volatile, which means the compiler will not optimize it because it may be modified external to the declaring object. Is there an equivalent in Delphi programming? If not a keyword, maybe a work around? My thought was to use Absolute, but I wasn't sure, and that may introduce other side effects....

What technique would be the least effort to internationalise (at least multi-language) existing Delphi Applications?

I have developed about 300 Applications which I would like to provide with multi-language capabilities independent from the Operating System. I have written a just-in-time translator, but that is too slow in applications with many components. What would you suggest I do? ...

Nice bit of code to format an xml string

hi Anyone got a ready made function that will take an XML string and return a correctly indented string? eg <XML><TAG1>A</TAG1><TAG2><Tag3></Tag3></TAG2></XML> and will return nicely formatted String in return after inserting linebreaks and tabs or spaces? Yes I know the code is easy to write but I'm sure someone else has already w...