Delphi is a form of Object Pascal that is most commonly known due to Borland Delphi that was popular in the 1990's.

learn more… | top users | synonyms

59
votes
11answers
3k views

Best Practices for Handing over Legacy Code

In a couple of months a colleague will be moving on to a new project and I will be inheriting one of his projects. To prepare, I have already ordered Michael Feathers' Working Effectively with Legacy ...
36
votes
10answers
10k views

WPF vs. WinForms - a Delphi programmer's perspective?

I have read most of the major threads on WPF vs. WinForms and I find myself stuck in the unfortunate ambivalence you can fall into when deciding between the tried and true previous tech (Winforms), ...
18
votes
6answers
3k views

Where can I find inspiration for a good user interface? [closed]

I've got a mental block as far as desigining the main screen interface for a desktop application that I'm currently upgrading. When I first developed this program the screen resolution was 640 X 480. ...
17
votes
13answers
2k views

What features contributed to the evolution of Pascal?

I am compiling a detailed history of the Pascal language, and there are a few details I am missing. There are so many features today that we take for granted. What features significantly contributed ...
16
votes
10answers
7k views

Best practices concerning exit in Delphi [duplicate]

A co-worker and myself are having a debate on whats best. Both concepts work and work well but is there a general consensus on not making a call to exit? Whats better? To call exit within a ...
16
votes
2answers
553 views

Is there a precedent for the license on a compiler restricting the kind of development you can use it for?

It was recently let slip that the new EULA for Delphi XE3 will prohibit Client Server development with the Professional edition without the additional purchase of a Client Server license pack. This is ...
14
votes
4answers
18k views

Delphi vs C# for GUI programming [closed]

I'm coming from PHP and Python background with little knowledge of C, I have done many web based application now I'm thinking of Desktop application for windows platform. A friend told me to go for ...
14
votes
5answers
2k views

From Delphi to C# for Dummies [closed]

I'm a Delphi and C# coder and have been given the assignment to introduce the most fundamental concepts of .Net/C# to my coworkers in some trainings. They are seasoned Delphi Win32 coders but still ...
13
votes
7answers
7k views

How is Delphi XE2 going to work across platforms? [closed]

So I've been reading a little about Delphi XE2 and I probably will go to the world tour thing in Chicago coming up later this month and ask this question if no one can answer it here. What I wonder ...
13
votes
2answers
1k views

Which of these 3 languages is easiest to convert to Delphi? [closed]

I am intending to purchase some source code for my Delphi program. It is not too big an algorithm, but it is not available in Delphi and I'll have to translate it to Delphi. However, I have not ...
10
votes
2answers
2k views

Is Oberon really “a better Pascal”? [closed]

Reading Niklaus Wirth, one can notice that despite some popularity of Pascal, he is not glad that Oberon (as a "polished" successor of Pascal and Modula) didn't get much popularity. I never did ...
9
votes
5answers
8k views

What is needed to deploy an application that uses Microsofts new LocalDB?

I'd like to know what microsoft components need to be installed for this new LocalDB to run on a users machine. Now in CTP3: SQL Server Express LocalDB LocalDB is a new lightweight deployment ...
8
votes
4answers
740 views

Is integer used too much as a data type?

Do most application developers use signed integers in places where they really mean to use unsigned integers? I do it all the time, so do my co-workers. I haven't seen a lot of other extensive ...
8
votes
1answer
4k views

Best practices for implementing MVVM and MVC in delphi Pascal

I'm a Delphi pascal programmer, I use the latest Embarcadero delphi XE, and I would like to take advantage of design patterns such as Model view controller and model view view-model. However, there ...
7
votes
5answers
1k views

If I open a port and add an exception to the Windows firewall, should I ask the user first?

I have an application running with admin rights, which in order to work, need add a port and register himself to the exceptions list of the Windows Firewall. the question is, is considered a bad ...
7
votes
1answer
477 views

What is the justification of use .inc files to declare and implement code is some Delphi RTL units?

Starting with #Delphi #XE2 many of the new RTL units related to Vcl styles, OSX and so on, uses inc files to declare types, classes and implement code (just like the FPC does), what is the ...
6
votes
2answers
482 views

How to call modern Pascal?

Should the developers who creates programs with Delphi, FPC, Lazarus agree with the name of the language? This struck me since every possible variation not only adds confusion for new programmers, ...
6
votes
2answers
473 views

In what specific ways did Delphi influence the C# language

I am specifically looking for language influences (as opposed to framework). At first glance C# seems to be an evolution of C/C++ or Java. But we know C# has the same designer as Delphi, and he even ...
5
votes
2answers
721 views

Library version control best practices

I may be violating some StackOverflow terms by asking a question which is more likely to yield discussion than a clean answer. Here goes, however. I've developed some software for a small company ...
5
votes
2answers
850 views

How to make a legacy system time-zone sensitive?

I need to implement time zones in a very large and old Delphi system, where there's a central SQL Server database and possibly hundreds of client installations around the world in different time ...
5
votes
1answer
453 views

Delphi Build Server - Do I need to check in .dres files?

We're using final builder to build a Delphi project and the person managing the build server noticed that projects with no .dres files were not building because they're not in SVN and because they're ...
5
votes
2answers
649 views

Scripting custom drawing in Delphi application with IF/THEN/ELSE statements?

I'm building a Delphi application which displays a blueprint of a building, including doors, windows, wiring, lighting, outlets, switches, etc. I have implemented a very lightweight script of my own ...
5
votes
1answer
796 views

Delphi Conversion to Prism?

At my office, we are about to embark on an epic journey of converting an old Delphi 5 application to something more modern. One of our options is to convert to Delphi Prism, but we want to see what ...
4
votes
4answers
2k views

Delphi doesn't have Lambda Expressions and I'm a Delphi programmer, what am I missing out on?

I'm nearly clueless as to what a lambda expression is, but I have a hard time believing that I couldn't finagle something to the same effect in Delphi (albeit with 900% more code). What is the big ...
4
votes
7answers
326 views

How can you be certain that a controversial change made to your software really is best for users?

Background: we have recently made a significant change to the UI of our software. All previous versions used a MDI interface (windows floating around inside a parent window.) The new version uses a ...
4
votes
4answers
3k views

Delphi to Java change - career advice [closed]

I'm a Delphi developer with aprox 5 years of experience. But now, Delphi seems to be dead, and the job opportunities are smaller. So, I want to begin learn Java, because I like it, and the job market ...
4
votes
3answers
940 views

Mobile applications in Delphi [closed]

Many of us know that Delphi executables are little bit gigantic, but again it is acceptable as nowadays 1.5 mb is not a big issue in PC. But what about mobile devices? Currently Firemonkey supports ...
4
votes
3answers
753 views

Is Power++ worth buying/learning? [closed]

I found Power++ and to my suprise it looks like a good alternative for Delphi and Visual Studio. Anyone used it? Can you tell me if it is worth it buying/learning it?
4
votes
1answer
222 views

Can I use dynamic packages in Delphi if I plan to build my application for cross platform usage?

Now I am thinking about architecture of my program. I plan to provide one not only for Desktop usage, but for mobile platforms as well. I want to create a bpl package as separate file. That is I want ...
4
votes
3answers
385 views

What's with Delphi's support cycle?

This is a chart I whipped together showing the length of active (meaning ongoing bug fixes and service packs) support offered for each version of Delphi. It is based on the published support data ...
4
votes
1answer
537 views

Multi-platform design with Delphi, Java, MySQL and CouchDB [closed]

What are the most obvious drawbacks to this idea for an enterprise(ish) model using the following technologies. Browser based and native developed GUI using Delphi to connect to Datasnap server ...
3
votes
5answers
1k views

Functions with side-effects in Delphi/Pascal

What is the proper approach to functions that have side-effects in Delphi/Pascal? For example, I could have a boolean function DeleteFile that returns True if the file was deleted and False ...
3
votes
2answers
491 views

How to Document the Security/Encryption Code of an Application

I am working on an application that I developed a security layer for. It uses the hardware ID of the hard drive, MAC address and another hardware serial key, to lock the software a particular piece of ...
3
votes
1answer
337 views

How did Delphi influence the .NET Framework?

As opposed to influence on the C# language, did Delphi influence the .NET Framework too? At first glance .NET is Microsoft's version of Java, but .NET has properties similar to Delphi. Are there other ...
3
votes
2answers
1k views

Scalability: How does splitting a database table work on different replicated SQL Servers?

I would like to know more about the general concepts behind dividing data of a database into different servers. For example, suppose I have a SQL Server database which has a massive table. Assume one ...
3
votes
3answers
231 views

What is the best strategy for quickly implementing small business applications?

I'm not a software developer, but I have previously developed a project-specific Access application for another employer. My current employer would like me to help organize their workflow and data for ...
3
votes
1answer
2k views

Understanding HTTP Cookies in Indy 10 for Delphi XE2

I have been working with Indy 10 HTTP Servers / Clients lately in Delphi XE2, and I need to make sure I'm understanding session management correctly. In the server, I have a "bucket" of sessions, ...
3
votes
2answers
316 views

Memory concerns while plotting escape from DLL Hell in Delphi [closed]

I work on a program with about 50 DLLs that are loaded from one executable, it's an old organically grown program where the only rationale for creating a new DLL is that one previously didn't exist to ...
2
votes
4answers
545 views

How to sell an application? Licensing problems

I`ve built a simple but yet effective delphi-7 application that solves sudoku puzzles, and a keygen that produces a unique serial key for each PC. My purpose is not to make money, I want to understand ...
2
votes
2answers
475 views

Moving old desktop application to a robust platform [closed]

Several years ago I wrote a desktop application, a small accounting system, in Delphi 7, that is in user in a medium-sized company. The code belongs to me. I ported another Accounting system that I ...
2
votes
2answers
814 views

Restrictions Calling DLLs Across Technologies?

I want to call a DLL in my programming language of 'choice'. The documentation surrounding this clearly states that it must be a 32-bit DLL written in C, C++ or Delphi. But I wanted to call a DLL ...
2
votes
3answers
793 views

Design Patterns in Delphi [closed]

Delphi has a few problems implementing some design patterns because some features it lacks, like multiple inheritance and no pure abstract classes. Are there any good resources or ...
2
votes
0answers
559 views

Why does the .NET framework have no concept of classes as first-class types?

It's well known to those familiar with the history that C# and the .NET framework started out as essentially "Delphi rewritten to feel like Java," architected by the chief developer behind Delphi, ...
2
votes
0answers
569 views

Provide an OnChange event for an internal property which is controlled externally?

For fun and by request I am updating this ImageGrid component, a kind of listbox for images that has a FileNames property of type TStrings. For ease of writing, I have been misusing its ...
1
vote
2answers
309 views

Are all race conditions worth fixing? [closed]

I just wrote the following piece of code (in delphi): procedure Update(Value: Integer); begin // If the last update was yesterday, replace yesterday value if CompareDate(FLastUpdate,Now) <> ...
1
vote
1answer
1k views

Python's Django or Delphi's IntraWeb?

Well, forgive me if it is an off-topic question. I have no knowledge about web programming, so I apologize in advance, if it is a stupid question. I will start to build a web based application. To be ...
1
vote
1answer
85 views

Is it a bad idea to have many protected variables, events and procedures in a unit?

I am writing a full fledged p2p networking library on top of Indy's UDP server with an intention of publishing it online. The design I have implemented has a P2P manager ( TIdUDPServer ) which can act ...
1
vote
3answers
317 views

Converting mysql and SQLServer tables quickly in an update utility

The requirements are to take an existing list of identical tables (AAA0001 - AAA9999) which generally don't meed our current requirements and need to be swapped out with three tables (XXX0001-XXX999, ...
1
vote
1answer
216 views

Non-Recursive vs Recursive Locks?

I am thinking of using non-recursive locks; I have found them to be having performance superiority over the standard recursive locks (e.g. SimpleRWSync). I have mainly been using critical sections but ...
1
vote
1answer
150 views

Strategy for clients to retrieve real-time log from HTTP server

I have an HTTP Server Service application which has its own logging mechanism. It's written in Delphi. I would like to provide a way for multiple clients to connect to this service and get a real-time ...