Tagged Questions

Delphi is a general purpose language for rapid development of native Windows, OS X and iOS applications. The name also refers to the Delphi IDE, which is used to help edit and debug Delphi projects more efficiently. It is sold by Embarcadero, as a standalone product or included in RAD Studio, ...

learn more… | top users | synonyms

2
votes
1answer
79 views

Just compare if is conversion correct

With the help of some users here, I finally terminated the conversion of this code from C: #include <windows.h> #include <stdio.h> #define IS_IN_SEARCH(mb, offset) ...
1
vote
0answers
60 views

Fastest function for TCanvas.CopyRect

I want to scale some sub images from an original image. I need to use TCanvas.CopyRect function for about 5,000 times and it is very slow (from a simple BMP image). Do you know any other method ...
1
vote
0answers
41 views

Internet Connectivty and Resolve host

Well this HostResolve procedure runs on thread separately to not interrupt other working functions. i would like to ask here if this procedure correctly written or not any recommendation and ...
1
vote
0answers
45 views

How to adjust TAviWriter to UniCode [closed]

My question is based on an earlier question on stackoverflow. I want to convert bitmaps to video and stumbled upon the TAviWriter component. The code is simple, just what I look for, but quite old. ...
2
votes
2answers
77 views

Defining a new Delphi Class with built-in Connection. Is TSQLConnection a usable option?

Using Delphi XE2, I'm wondering if it would be usable to define a base object something like below. Class is prone to be used in multiple projects. I've chosen TSQLConnection as my starting point - ...
2
votes
2answers
105 views

Is Marshalling converters/reverters via polymorphism realistic?

First off - this is a TOTAL COPY from stackoverflow - where I was adviced to try this forum :-) so here goes: Well now I'm almost at the end of my journey - expanding my base units :-) I'm currently ...
1
vote
1answer
172 views

Please help me fix my Delphi 7 code [Threading issues]

My code has to do download source code of page and parse it for URLs. I want it to ask for number which is increased inside the critical section. So my problem happens on thread termination. Main ...
2
votes
1answer
124 views

Asking for peer review of theses innosetup snippets

To fullfil a promise, I cooked the following script : [Code] var BDS: string; // No trailing backslash path BDSCOMMONDIR: string; // No trailing backslash path BDSPROJECTSDIR: string; // No ...
8
votes
3answers
240 views

Fastest Parameter Passing in delphi 7?

I have a function that accepts a big amount of data as a parameter (sometimes 1 megabyte) I was thinking which would be the fastest way to pass that data, dunno if I got this right, but here is what I ...
3
votes
4answers
296 views

Nested IF code in GUI Controls

I'm writing GUI controls and there are many places where there are many nested IFs checking for some result. Example goes: function TMyObject.GetCursor: TCursor; begin if CanDragX then begin ...