Questions tagged [delphi.net]
23 questions
12
votes
1 answer
Stuck with Delphi.NET and Delphi 2007
My company has a major problem. We developed an application consisting of more than 1.000.000 lines of code in Delphi.NET. Because of this we are stuck with Delphi 2007 and .NET 2.0.
As technology and usecases are moving on we need to migrate to…

user3768733
- 135
- 4
8
votes
6 answers
Detect if my application is running under the IDE "Delphi 2007 .Net"
How can I detect if my application is running under the IDE "Delphi 2007 .Net", there is something like DebugHook?
Bye.

RRUZ
- 134,889
- 20
- 356
- 483
5
votes
0 answers
How do I get started making Web sites with Delphi Prism?
I'm new to Delphi Prism 2011. Where can I find step by step instructions for writing and testing a basic Hello,world type website? I need to write, run and debug a simple website to see how the IDE works and to be sure that the installation…

itdelphiasp
- 51
- 1
5
votes
2 answers
Incorrect "Unable to start debugging...Unable to attach to ASP.NET worker process" message in Delphi 2007 for .NET
I have seen this for a long time, and finally decided to put the question up here. I have some applications that I need to maintain that were written in Delphi 2007 for .NET (ASP.NET 2.0). Normally, the first time I run the application (using IIS) I…

Cary Jensen
- 3,751
- 3
- 32
- 55
4
votes
2 answers
type casting to a dynamic array
Given the following:
Type
TSomeTypeArray = array of SomeType;
var
anArray: array of SomeType;
function GetSomeTypeArray: TSomeTypeArray;
I want to write anArray = GetSomeTypeArray(); but the compiler does not like it.
Without changing the…

Asher
- 1,016
- 1
- 6
- 20
3
votes
1 answer
How can i convert my Delphi.NET project to Delphi Prism?
There's a project of mine wrotten in Delphi.NET, and i want it to be run in Linux (which will be Ubuntu, or RedHat), and i have to convert it to Delphi Prism.
So how can i convert it from Delphi.NET to Delphi Prism without doing lots of grunt work?…

Leo.W
- 299
- 1
- 7
- 21
3
votes
1 answer
Delphi for .NET does not find shared files in the .NET library search directories ("[DCC Error] F1026 File not found)
I have been trying to track down a problem with an installation of RAD Studio 2007 for some time. When compiling an ASP.NET application build with the .NET personability, I get an "[DCC Error] F1026 File not found error, where it reports that it…

Cary Jensen
- 3,751
- 3
- 32
- 55
2
votes
2 answers
How do you assign "null" to a Delphi.net Nullable
How do you assign null to a Delphi.net Nullable? I have a field which previously contained a value , I need to clear its value back to null.
depth : Nullable;
Procedure ClearDepth;
begin
depth := Nil;
end;
The above creates the error…

Tom Carver
- 962
- 7
- 17
2
votes
1 answer
2
votes
1 answer
Passing string from Delphi to C# returns null. However it works fine when I call the Delphi lib from Delphi. How to receive string from Delphi
I am completely new to Delphi and have been trying to make a few DLLs for .NET.
What I want to achieve is to send and receive txt output from my DLLs.
Here's what I've done so far:
Delphi Library function:
function DBConnet(inputStr: PChar; connStr:…

user1635508
- 31
- 3
1
vote
1 answer
HttpClient SendAsync from ASP .NET Core blocking calls down stack in Web API 2/Delphi
Hope I can get the point across here..
I have 2 Workflows:
(Test-Success) (c).NET WebAPI REST endpoint > (d)WebRequest to > (e)another .NET WebAPI REST endpoint > (f)Delphi.NET library
(Fails): (a)ASP.NET 5 Core REST endpoint >…

Andrew Roberts
- 990
- 2
- 12
- 26
1
vote
2 answers
Double quotes being replaced with ' + CHAR(34) + ' in SQL using ASP.NET
I am using SQL Server 2008 Web Edition and it seems my SQL queries are automagically having the double quotes replaced with ' + CHAR(34) + '. I am trying to pin down why this is happening, I am using Delphi with ASP.NET and using the ADO.NET object…

webnoob
- 15,747
- 13
- 83
- 165
1
vote
1 answer
Creating same-width hit-zones on MenuItems in ASP.NET 2.0 Menus that include MenuItems added at runtime
In an ASP.NET 2.0 application, I want to permit a user to select a MenuItem, even if the user does not click the actual text of the MenuItem, but instead only clicks the highlight area that ASP.NET places around the currently selected MenuItem…

Cary Jensen
- 3,751
- 3
- 32
- 55
1
vote
2 answers
How Unicode strings can be passed from a managed to an unmanaged function
I will really appreciate anybody's help about how a Unicode string can be passed (marshaled) from a managed (Delphi .NET) to an unmanaged (Delphi's Win32 DLL) function.
The managed environment (Delphi .NET):
...
interface
...
const…

Who Cares
- 11
- 1
1
vote
1 answer
Debug .NET app with IIS7 and Delphi.NET - Use aspnet_regiis.exe to configure the local IIS web server
I have been trying to set up local debugging for my ASP.NET app in Delphi and am getting the error above. I have used the aspnet_regiis.exe tool with the following:
Aspnet_regiis.exe -s W3SVC/1/ROOT/DevTest
but this hasn't helped. It added it to…

webnoob
- 15,747
- 13
- 83
- 165