delphi-xe Questions
21
Solved
From time to time I lose breakpoint functionality in Delphi.
I thought this to be a Delphi 2009 issue but now I have also it in Delphi XE.
In Delphi 2009 by deleting .dproj file I made the breakp...
Batfowl asked 15/4, 2011 at 16:56
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 ...
3
Solved
For an Azure Pipeline with multi-repositories, how can you get the GIT commit id from a checked out resource repository? Is it supported?
I'm using an Azure repo to store the pipeline yaml file, ...
Bigmouth asked 2/6, 2020 at 16:23
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 stumbled onto this problem yesterday when I was busy writing some unit tests using SQLLite. My environment is Windows7/Delphi XE.
Using TADOQuery in conjunction with a TDateTime parameter result...
3
Solved
I'm getting a bug report that some functionality in some music-playing code in an external DLL (SDL_Mixer, in case it helps) that my program uses is raising EPrivilege. The DLL is written in C, so ...
5
Solved
I started a prototype with Delphi with all source files under one single directory.
Now, I want to reorganize everything with folders.
I found two way to do this.
1/ First is to open each unit i...
Puffin asked 27/9, 2012 at 8:58
5
I am using DUnit to test a Delphi library. I sometimes run into cases, where i write several very similar tests to check multiple inputs to a function.
Is there a way to write (something resemblin...
Kickback asked 25/1, 2012 at 8:55
6
Solved
I have a runtime error happening in the rtl Streaming in of a form, causing an exception EClassNotFound to be raised, while doing TReader.ReadRootComponent. The particular error message is "Class n...
Cornelius asked 2/9, 2011 at 17:35
5
Solved
Variants are always fun, eh?
I am working on a legacy application that was last in D2007 to migrate it to Delphi XE.
Variants have changed quite a bit in the interim.
This line of code:
if (Va...
6
Solved
I need a base class like TInterfacedObject but without reference counting (so a kind of TNonRefCountedInterfacedObject).
This actually is the nth time I need such a class and somehow I always end...
Yang asked 16/8, 2011 at 14:50
4
Solved
Is there support in the Delphi XE VCL for ensuring only a single instance of an application is running?
In the past, I've used library code to control a Mutex which has always seemed complicated. ...
3
Solved
In one of my applications I observe an increasing number of handles. The number is incremented roughly every second without using the application, so there must be a handle leak in some part of the...
Gad asked 21/10, 2011 at 7:12
2
I can do the following in C++
for_each(vec->begin(), vec->end(), [](int n){cout << n << " " << endl;});
I would like to do the same/similar in Delphi.
I asked a question ...
Hypochlorite asked 9/3, 2012 at 18:6
1
I've been trying to figure this error our for about 4 days now. I'm using Delphi XE and have created a little tool for translators to use. I got the idea of using the Microsoft Translation API to h...
Filament asked 10/5, 2013 at 18:25
7
Solved
I have a random Runtime Error 216 that appears on application close.
I have debugged as far as I can and the error is thrown in SysUtils.FinalizeUnits.
I have gone over the code and ensure all c...
5
Solved
I have an IDE break point (delphi-xe) that keeps reappearing every time I compile and run the program.
How do I get rid of it. Where does Delphi keep the information about breakpoints?
Updates:
1....
Arva asked 23/7, 2011 at 15:59
5
Solved
I am trying to get the % of total CPU usage to a label1.Caption
I've searched and found these:
didn't work - http://www.vbforums.com/showthread.php?345723-DELPHI-Get-CPU-Usage
not what I need ...
Kalmar asked 6/11, 2015 at 16:16
4
Solved
I am programmatically creating a database connection object inside a simple procedure (not a method in a class).
mydb:= TUniConnection.Create(nil);
mydb.Database:= knowledge_db_name;
mydb.LoginPr...
3
Solved
Since yesterday, all blue dots (compiled lines) in my source code are shifted with one line up.
So, the first dot starts at 'var' instead of 'begin' and the last dot is one line before the last 'en...
3
Solved
If in Delphi 2010 or XE Application.MainFormOnTaskbar is set to true then all secondary forms are always in front of the main window. It does not matter what the Popupmode or PopupParent properties...
Himes asked 22/11, 2010 at 0:32
1
Solved
When try dynamicly bind TfrxBarCodeView from delphi get error Could not convert variant if type (Array Variant) into type (OleStr).
var
barcode: TfrxComponent;
value : String;
begin
barcode :=...
Canonical asked 23/9, 2019 at 10:17
2
Solved
We have a modified menus.pas.
At
uses ...,Controls,...;
The compiler raised a fatal error:
[DCC Fatal Error] Menus.pas(*): F2051 Unit Controls was compiled with
a different version of Menu...
Batory asked 6/5, 2012 at 13:35
2
Solved
Are there pre-defined charsets in Delphi, to check if a character is a letter?
In Cocoa I use something like
if ([[NSCharacterSet whitespaceCharacterSet] characterIsMember:character])
I know I...
4
Solved
The error I get is like this:
[DCC Fatal Error] myunit3.pas(244): E2411 Unit XBAT in package B_Dsgn refers to unit QBEE which is not found in any package. Packaged units must refer only to package...
Peltast asked 8/9, 2011 at 19:17
1 Next >
© 2022 - 2024 — McMap. All rights reserved.