Delphi is a language for rapid development of native Windows, OS X and iOS applications through use of Object Oriented Pascal. The name also refers to the Delphi language (a modern evolution of Object Pascal) as well as its IDE, which is used to help edit and debug Delphi projects.
0
votes
0answers
4 views
Problems on using same field names in different tables, specially ID
I am developing a big data base, and from this situation I decided to think always twice at least on making decisions about the table and field layouts. My highest concern is about the primary keys.
...
4
votes
2answers
47 views
Using procedure of object in records
I'd like to use procedure of object in a record, like so:
TCommandRec = record
name: string;
fn: procedure of object;
end;
I can create an array with this by assignment:
commands: array [0..1] ...
1
vote
1answer
53 views
How to read value of ParamStr with different deliminators?
When you read ParamStr(), it's deliminated by spaces between each parameter. However, I've seen many command-line arguments which accept a space between the parameter name and its paired value, while ...
1
vote
0answers
47 views
Why am I still getting an exception even it should be handled?
Coding:
try
StrToInt(inputNumVariables.Text);
except
ShowMessage('Sólo números, por favor');
end;
Being inputNumVariables a TEdit why would it raise and exception if I type in anything different ...
0
votes
1answer
21 views
find HTML Title from Delphi “Web Server Application”
With delphi7 i create "Web Server Application" (MyCGI.EXE), some procedure in there to serve client.
Client Web based HTML (MyHTML.HTML) call javascript (AJAX) (MyScript.js) to open MyCGI.EXE and ...
0
votes
1answer
81 views
How can I reduce the size of a compiled Delphi code? [duplicate]
I just wrote a really short and simple code in Delphi with no even arrays neither data structures and when I compile it I get a 11 MB exe file, it was compiled for 32 bits architecture under RAD ...
1
vote
1answer
47 views
Function compiles and works on some data but not on others?
Part of my program reads ASCII text from a buffer of type char, which itself can contain some non-printable non-ASCII garbage. When such areas are displayed, such as in ShowMessage(strVar), if there ...
-3
votes
1answer
75 views
How can I raise a number to a power in Delphi?
I'm just checking and it seems this math function isn't included? Do I have to implement it myself?
2
votes
2answers
75 views
Are units the class equivalent for Delphi?
I need to write some Delphi code but I got not any experience or backgroud about it, I've seen they write some code, name it unit1 or unit2 and way of import it using the code inside them. So, can I ...
0
votes
1answer
34 views
reuse resource image bitmap instead of duplicate them in xfm files
I have several TBitBtns in several different forms of a Delphi 7 CLX application that make use of some images as Glyph (TBitMap), now the problem is that though the images are the same, each time I ...
0
votes
1answer
23 views
CGI application misbehaved by not returning a complete set of HTTP headers
Hi someone created one application "ReqServ" using Code gear Delphi 2009 and C++ Builder 2009. This application returns chart images. This application is called through URL like "http:/ ...
1
vote
1answer
52 views
whats wrong with this incompatible types error
i few days a go someone asked me why this code gives a error. i tried to figure out but i couldnt, so i hope u guys help us.
first unit: where the classe is defined
unit Unit1;
interface
type
...
0
votes
0answers
53 views
Delphi XE: bogus “Never-build package must be recompiled” / “F2084 Internal Error: U10346” errors when building packages
I'm trying to build a package (package A) that contains the DWS compiler. It works, but when I then have a second package (package B) that requires package A, containing any unit that uses a specific ...
0
votes
1answer
52 views
Delphi - Control Dialog Form Show Status from a Thread
In my application I do a big quantity of task in a thread for example multiples querys to big database.
I created a dialog (custom form), with a progressbar and status bar that show at final user what ...
0
votes
0answers
39 views
Main form gets hidden after BPL unload
I have an MDI application that calls methods from some BPLs. After the use of these BPLs, when I unload anyone of them, the main form simply gets hidden. To show it again the user have to click 4 ...