delphi Questions
4
I installed 64-bit Lazarus and want to generate 32-bit code. When I try to set Target OS to Win32 I get error message
Compiler "C:\Programs\lazarus\fpc\2.6.0\bin\x86_64-win64\fpc.exe" does
not ...
Eno asked 14/12, 2012 at 8:10
3
Solved
Need some help in creating function which can create folders recursively with giving path:
C:\TestFolder\Another\AndAnother
Delphi function MkDir returning IOerror = 3.
MkDir('C:\TestFolder\Ano...
7
Solved
Any suggestions for components to use as a base for a scalable TCP server? I currently have an implementation that uses Indy which works well for say 100 relatively active connections or 1,000 rela...
Centuple asked 22/8, 2011 at 15:51
7
Solved
I'm trying to build 3 packages, A, B and C. A defines some base classes that are used in B and C. I've got all 3 of them in the same project group, all set up to output to the same custom BPL outpu...
Matronize asked 18/4, 2009 at 19:24
4
I try to include resource files in my package. When I construct the package, I read this warning :
[dcc32 Conseil] H2161 Warning: Duplicate resource: Type 10 (RCDATA), ID PLUSUTILISEVOIR; File Pro...
Altair asked 20/10, 2014 at 14:30
2
Solved
I am using TStopWatch for high-precision timekeeping in Delphi 10.2 Tokyo.
This website: https://www.thoughtco.com/accurately-measure-elapsed-time-1058453 has given the following example:
var
s...
6
Solved
Got this error whenever I try to compile something: "F1027 Unit not found: 'System.pas' or binary equivalents (.dcu)".
Got it after installing a component, removed it, reinstalled RAD studio, but ...
9
Solved
I have set up the PAserver that was located at: C:\Program Files (x86)\Embarcadero\Studio\19.0\PAServer\LinuxPAServer19.0.tar.gz
on my Ubuntu Gnome 16.10 vm.
Please note that I have never used the...
Lexie asked 25/3, 2017 at 23:37
6
I've got an application where there's a main background form, from there user can only non-modal forms that maintains different part of the system. The non-modal forms overrides the CreateParams me...
Lengthways asked 21/1, 2009 at 1:10
8
Solved
We had the following code prior to Delphi 2009:
function MemoryStreamToString(M : TMemoryStream): String;
var
NewCapacity: Longint;
begin
if (M.Size = > 0) or (M.Memory = nil) then
Result:= ...
Potpourri asked 9/4, 2009 at 3:24
7
Recently, I get this error, and all Delphi-related project/file creation items are missing:
The project can not be loaded because the required personality Delphi.Personality is not available..
Wh...
Indra asked 12/5, 2021 at 12:47
13
Solved
How do i tell if one instance of my program is running?
I thought I could do this with a data file but it would just be messy :(
I want to do this as I only want 1 instance to ever be open at one ...
Nez asked 19/1, 2009 at 23:7
1
Solved
This is an IDE question.
When I select a New -> Multi-Device Application project for C++Builder, only Windows 32-bit and Windows 64-bit compilation options for target platforms are available.
H...
Amytal asked 14/11, 2023 at 16:53
2
Solved
I am using TIdSSLIOHandlerSocketOpenSSL to open a TLS/SSL connection. I currently want to support tls 1.0 to 1.2.
I initialize the IOHandler like this.
TIdSSLIOHandlerSocketOpenSSL(FSocket.IOHand...
3
Solved
Does anyone know where I could download Russell Libby's named pipes
components? All the links I can find point to
http://home.roadrunner.com/~rllibby/source.html
Which is no longer alive.
HMcG
Luteous asked 27/2, 2011 at 11:21
2
Solved
I have an application which uses conditionals to be able to compile it either as a VCL Forms Application or as a Windows Service Application in Delphi XE2. However, since I have manually altered th...
Cybill asked 24/9, 2012 at 23:17
7
Solved
What is the equivalent in C# for Delphi's in syntax, like:
if (iIntVar in [2,96]) then
begin
//some code
end;
Thanks
6
Solved
Everyone probably knows what I mean, but to clarify the control would need to:
Fire an event when user edits the text. The event would provide a SuggestionList: TStrings which you could fill with...
Gouache asked 6/1, 2010 at 10:26
3
In delphi XE, when I call SysUtils DirectoryExists function with the following input
'Y:\blabla\'
where Y is a network mapped unit, it correctly returns false because blabla doesnt exist.
But wh...
3
Solved
I am creating a form where there are icons- like on desktop and they can be moved freely.
I want to show sometimes even 500 or more icons so they need to work fast.
My icon is:
TMyIcon = class(...
Ganymede asked 29/10, 2012 at 19:49
2
Solved
Can I write SQL queries using DELPHI, dbgo DB components and a SQL Server database server which are limited in respect to the process time ?
Like
select * from table where ......
and process...
Gustafsson asked 3/2, 2013 at 16:12
3
I'm using Delphi XE7 for developing windows 32 bit application.
My application contains many units, which has an initialization section. I need to initialize one particular initialization section...
Coleslaw asked 30/8, 2018 at 18:36
6
There is an example which illustrates my question:
procedure Test;
begin
try
ShowMessage('1');
raise EWarning.Create(12345, 'Warning: something is happens!');
ShowMessage('2');
except
on E:...
7
Is there a way to debug completely a windows service with Delphi?
Koppel asked 21/5, 2010 at 18:38
3
In my efforts to properly handle DPI changes in my application, I am using the following code to read the current scaling factor:
TYPE TZoom = BYTE;
FUNCTION OldStyleGetDpiForSystem : TZoom; cdec...
Nitty asked 22/2, 2018 at 9:14
© 2022 - 2024 — McMap. All rights reserved.