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.
65 questions
1
vote
4
answers
206
views
Struggling vs A Clean rewrite vs extending by overwriting virtual functions
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 ...
2
votes
1
answer
254
views
Recommended methodologies for refactoring a large ISAM based DB structure to a RDBMS?
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 ...
1
vote
2
answers
2k
views
Calling Delphi code from C# program
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 ...
1
vote
1
answer
182
views
Get data from scrap server
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 ...
1
vote
0
answers
1k
views
How to properly construct a TCP Tunnel in Delphi
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 ...
8
votes
3
answers
184
views
How to model locations, academic terms and different cohorts in OO
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 ...
1
vote
1
answer
615
views
How can Delphi BPL's be used from visual C++
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 ...
0
votes
1
answer
772
views
Records defining a partial memory layout
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 ...
5
votes
4
answers
4k
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
1
answer
173
views
Error recovering emails in Delphi (POP3) [closed]
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 ...
2
votes
2
answers
1k
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 ...
20
votes
2
answers
2k
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 ...
11
votes
1
answer
9k
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 ...
0
votes
2
answers
1k
views
Delphi 7 using RAM for database
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 ...
1
vote
1
answer
109
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 ...