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

0
votes
0answers
13 views

How to protect and reduce delphi ex5 executable files size? [on hold]

I'm developing a Delphi windows service and this is my first Delphi project i ever had, it works very well it has more than 20 methods and uses quit large number of libraries. I'm a php developer. ...
0
votes
0answers
22 views

port code from XP to Win 7 [migrated]

I have developed a Delphi application (XE4) on a Windows XP machine. When I copy all the project files to a Win 7 machine (also Delphi XE4) it will not compile. The source has "uses Vcl.Grids" and the ...
1
vote
1answer
60 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
2answers
188 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) <> ...
0
votes
2answers
53 views

Locking techniques

Delphi RAD libraries implement many thread friendly objects in a way which forces one to declare another object for storing the reference returned by that object's locking method. The object thus ...
0
votes
1answer
14 views

Difference between TSimpleRWSync's BeginWrite and BeginRead methods?

I have recently switched to TSimpleRWSync from TRTLCriticalSection. The methods BeginRead and BeginWrite confuse me as wherever I read help, they seemingly do the same thing i.e. acquire the critical ...
1
vote
1answer
80 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
0answers
43 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 ...
35
votes
10answers
8k 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), ...
6
votes
10answers
953 views

What are the most common ways used to migrate a Delphi application incrementally to .NET?

If you have several million lines of Delphi code and want to incrementally migrate to .NET/C#, what strategy would you use?
19
votes
6answers
2k 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. ...
0
votes
2answers
203 views

Is it good practice on server/client systems to automatically install updates?

I'm working on an automated update system for a legacy server/client software package written in Delphi. The way I'm designing it is so the client's (customer's) server machine runs a service which... ...
11
votes
5answers
2k views

Is there any express edition like thing in Delphi? [closed]

I visited the site of Embarcadero and read about Delphi. Though the new version is named Delphi XE, but it is not Express Edition. I want to learn programming in Delphi. Is there any Express Edition ...
-2
votes
1answer
363 views

How is Delphi going on the market? Is it worth yet to make a project in Delphi? [closed]

I use Delphi since 1999 because it is visual, fast, helpful and committed to good programming roles. That's what I tell my friends in the university and interviewer when I apply for a job in any ...
-1
votes
1answer
225 views

Why did Embarcadero make me sign a waiver?

Just signed in to the Embarcadero Developer Network and got this: EXPORT CONTROLS ON EMBARCADERO SOFTWARE Your EDN membership and access to Embarcadero Software is subject to your agreement to ...
7
votes
1answer
216 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 ...
4
votes
5answers
1k views

Switching Programming Languages [duplicate]

I'm a senior level Delphi developer looking for move into either C# or possibly Java roles. I have around 8 years of development experience of which pretty much all of it is in Delphi, I have very ...
15
votes
10answers
4k 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 ...
2
votes
2answers
257 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 ...
1
vote
2answers
361 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 ...
16
votes
13answers
1k 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 ...
0
votes
1answer
113 views

Would it be possible to publish my code on an official site with a third-party library?

I'm building a rather large and extensive wrapper in Delphi for an email system called Mandrill. There are wrappers for this API in many other languages, but not for Delphi. So, I'm hoping to produce ...
59
votes
17answers
26k views

What happened to Borland Delphi? [closed]

I have the impression that Delphi isn't very popular anymore. But now at work I had to make some changes to an old Delphi program that we are still using. I used Borland Developer Studio 2006 and it ...
4
votes
1answer
308 views

Multi-platform design with Delphi, Java, MySQL and CouchDB

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 ...
5
votes
1answer
240 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 ...
2
votes
2answers
381 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 ...
4
votes
1answer
406 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 ...
3
votes
1answer
895 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, ...
1
vote
1answer
110 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 ...
7
votes
5answers
4k 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 ...
1
vote
3answers
655 views

Methodology behind fetching large XML data sets in pieces

I am working on an HTTP Server in Delphi which simply sends back a custom XML dataset. I am not following any type of standard formatting, such as SOAP. I have the system working seamlessly, except ...
5
votes
1answer
639 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 ...
0
votes
2answers
284 views

How to access an encrypted INI file from C on an embedded system with little RAM

I want to encrypt an INI file using a Delphi program on a Windows PC. Then I need to decrypt & access it in C on an embedded system with little RAM. I will do that once & fetch all info; I ...
16
votes
2answers
517 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 ...
5
votes
1answer
352 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 ...
10
votes
4answers
9k 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 ...
10
votes
2answers
1k 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 ...
5
votes
2answers
339 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, ...
2
votes
0answers
295 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 ...
8
votes
3answers
5k views

What have my fellow Delphi programmers done to make Eclipse/Java more like Delphi?

I am a veteran Delphi programmer working on my first real Android app. I am using Eclipse and Java as my development environment. The thing I miss the most of course is Delphi's VCL components and ...
1
vote
3answers
251 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, ...
3
votes
4answers
2k views

Delphi to Java change - career advice

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
2answers
658 views

Mobile applications in Delphi

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
1answer
584 views

Anyone using Intel Performance Primitives library (IPP) with Delphi?

I'm considering purchasing the Intel Integrated Performance Primitives (IPP) library for use with my Delphi applications. I'm interested in the signal processing functions. Mainly for re-sampling and ...
60
votes
11answers
2k 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 ...
5
votes
2answers
588 views

What are the career options in Delphi [closed]

I am a fresher working in an Antivirus company in India. We work in Delphi 7. now i know that delphi is not very widely used. My concern is that I will be something of a pariah in the industry ...
2
votes
3answers
644 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 ...
3
votes
2answers
348 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 ...
9
votes
4answers
610 views

What do neglected O'Reilly book topics tell us about that topic?

Does anybody know how O'Reilly chooses topics to publish? For some reason, I don't see how it can be based on demand. The reason, I ask, is because they haven't published a Delphi book in almost 12 ...
0
votes
1answer
157 views

How to layout class definition when inheriting from multiple interfaces

Given two interface definitions ... IOmniWorkItem = interface ['{3CE2762F-B7A3-4490-BF22-2109C042EAD1}'] function GetData: TOmniValue; function GetResult: TOmniValue; function GetUniqueID: ...