Skip to main content

Questions tagged [delphi]

Delphi is a language for rapid development of native Windows, macOS, iOS, and Android applications through use of Object Pascal. The name refers to the Delphi language as well as its IDE, which is used to help edit and debug Delphi projects.

Filter by
Sorted by
Tagged with
1 vote
4 answers
224 views

I'm constantly supporting a specialized downloader I wrote 5 years ago! It has to login and download from more then 40 sites. I have kept changing the code over and over as I encountered new sites or ...
Ali Ahmadi's user avatar
2 votes
1 answer
266 views

I'm meeting quite a challenge. We have an old grown software with mostly Delphi applications, and an underlying ISAM database server (ADS)1, used with a lot of free tables and manually programmed ...
πάντα ῥεῖ's user avatar
1 vote
2 answers
2k views

I have dozens of Delphi (version 10.2.2 Tokyo) functions that I would like to be accessible from a C# MVC web project. These functions are mainly report queries that take a bunch of input parameters ...
Rafael Piccolo's user avatar
1 vote
1 answer
189 views

I deploying a web scrap server using scrapy. The scenario is a Linux server running mongoDB (or maybe mySQL I'm not sure at all...) and python scripts with scrapy framework. The main question is what ...
anacelto's user avatar
  • 111
1 vote
0 answers
2k views

I'm working into a project that needs to implement a Reverse Socks5 connection. In practical terms, the browser (Chrome/FireFox/Opera/IE) will connect on a local socks server (127.0.0.1:8080), and on ...
user2864778's user avatar
8 votes
3 answers
195 views

I am working on an app for universities. The case is this: Each university has several academic programmes. Each programme has many subjects (modules). Each subject can be offered in different ...
John Kouraklis's user avatar
1 vote
1 answer
657 views

Delphi BPLs do a DLL name mangling as explained in this German article http://edn.embarcadero.com/article/27758 (use your favorite translator page if needed). The name mangling is obviously different ...
Jasper Schellingerhout's user avatar
0 votes
1 answer
801 views

I'm working on a solution that should work in C++-Builder and Delphi, that's why I use Object Pascal syntax, but I'm not very familiar with it. I try to access a file mapping with a size that is not ...
Wolf's user avatar
  • 640
5 votes
4 answers
4k views

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 ...
Tension Coding's user avatar
-2 votes
1 answer
190 views

I'm new to programming with Delphi. I have the latest version. I'm trying to display my emails using POP3 but I have a problem. At one point I was wrong and did a loop with POP3.Retrieve() method ...
Lucas Amalfitani's user avatar
2 votes
2 answers
1k views

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 ...
Craig Stevensson's user avatar
20 votes
2 answers
2k views

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 ...
Mason Wheeler's user avatar
11 votes
1 answer
9k views

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 ...
sav's user avatar
  • 225
0 votes
2 answers
1k views

I have an existing database app written in D7 with apollo databases. The client has given me a fast desktop with 24gb ram Can I somehow load the database files into ram to speed up processing? With ...
user127566's user avatar
1 vote
1 answer
121 views

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 ...
Umair Ahmed's user avatar
1 vote
2 answers
810 views

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) <> ...
monoceres's user avatar
  • 121
0 votes
2 answers
507 views

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 ...
Umair Ahmed's user avatar
0 votes
1 answer
219 views

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 ...
Umair Ahmed's user avatar
1 vote
1 answer
957 views

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 ...
Umair Ahmed's user avatar
5 votes
1 answer
792 views

Now I'm thinking about the architecture of my program. I plan to provide access not only for Desktop usage, but for mobile platforms as well. I want to create a bpl package as separate file. That is ...
Alexey's user avatar
  • 53
0 votes
3 answers
2k views

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... ...
Jerry Dodge's user avatar
8 votes
2 answers
1k views

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 ...
RRUZ's user avatar
  • 303
0 votes
1 answer
263 views

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 ...
Jerry Dodge's user avatar
2 votes
2 answers
2k views

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 ...
Tom Tom's user avatar
  • 419
5 votes
1 answer
1k views

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 ...
Peter Turner's user avatar
  • 6,985
4 votes
2 answers
5k views

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 ...
Jerry Dodge's user avatar
4 votes
1 answer
724 views

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 (...
Peter Turner's user avatar
  • 6,985
5 votes
2 answers
2k views

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 zones....
Jerry Dodge's user avatar
3 votes
1 answer
4k views

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, ...
Jerry Dodge's user avatar
1 vote
1 answer
248 views

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 ...
Jerry Dodge's user avatar
1 vote
3 answers
2k views

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 ...
Jerry Dodge's user avatar
-1 votes
2 answers
2k views

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 ...
Mawg's user avatar
  • 4,308
5 votes
2 answers
1k views

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 ...
Jerry Dodge's user avatar
4 votes
2 answers
451 views

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 ...
Peter Turner's user avatar
  • 6,985
16 votes
2 answers
649 views

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 ...
Jim McKeeth's user avatar
  • 2,126
7 votes
2 answers
745 views

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, ...
Maksee's user avatar
  • 2,653
3 votes
0 answers
1k views

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 FileNames....
NGLN's user avatar
  • 161
1 vote
3 answers
359 views

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, ...
Peter Turner's user avatar
  • 6,985
3 votes
2 answers
642 views

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 ...
PresleyDias's user avatar
4 votes
3 answers
1k views

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 ...
Vibeeshan Mahadeva's user avatar
0 votes
1 answer
499 views

Given two interface definitions ... IOmniWorkItem = interface ['{3CE2762F-B7A3-4490-BF22-2109C042EAD1}'] function GetData: TOmniValue; function GetResult: TOmniValue; function GetUniqueID: ...
gabr's user avatar
  • 133
17 votes
6 answers
4k views

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. ...
Michael Riley - AKA Gunny's user avatar
70 votes
11 answers
6k views

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 ...
PersonalNexus's user avatar
3 votes
5 answers
2k views

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 ...
thoiz_vd's user avatar
  • 131
3 votes
3 answers
292 views

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 ...
Patrick's user avatar
  • 133
13 votes
7 answers
7k views

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 ...
Peter Turner's user avatar
  • 6,985
3 votes
1 answer
542 views

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 ...
Jim McKeeth's user avatar
  • 2,126
8 votes
2 answers
1k views

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 ...
Jim McKeeth's user avatar
  • 2,126
18 votes
13 answers
4k views

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 ...
Jim McKeeth's user avatar
  • 2,126
9 votes
4 answers
1k views

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 ...
Peter Turner's user avatar
  • 6,985