delphi.net

Will you use Delphi Prism

CodeGear announces that their Next .Net product which is known as Delphi Prism Will be RemObjects's Oxygene. Oxygene has many nice features that not found in Delphi or C#, and I think it will be a more effective solution for .Net than Delphi .Net previous releases, but it's uses Visual Studio IDE instead of Delphi IDE. which has some co...

Disable ECO In Delphi

How i can disable ECO in delphi .Net? ...

Detect if my application is running under the IDE "Delphi 2007 .Net"

Hi, How can I detect if my application is running under the IDE "Delphi 2007 .Net", there is something like DebugHook? Bye. ...

How Do I serialize a COM object in .Net?

Hi, I need serialize a Com Object using .net using c# or Delphi .Net is this possible? Bye. ...

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 cannot find a particular .dcuil file. The file that is referenced in this error message is ...

Rect function in Delphi 2005 .NET

Hello, Code below works fine in Delphi for Win32 but doesn't compile with VCL.NET personalities. procedure TForm1.FormCreate(Sender: TObject); var r: TRect; begin r:=Rect(0, 0, 100, 100); end; Error message I get is this: E2003 Undeclared identifier: 'Rect' For now I've used an own method which returns a TRect from given Left, To...

Delphi .NET/SQLDirect 6.1: Adding varbinary data in a JSON object.

Hi, I am making a call to a stored procedure which returns varbinary records which I want to store in a JSON object. When I do the same for other data types I use the following TField properties to extraxt the data from the data set: FStoredProc.FieldByName(ColumnName).AsInteger (or .AsString etc) I thought I would be able to use FStor...

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 get the classic "Unable to start debugging on the web server. Unable to attach to ASP.NET...

Debug .NET app with IIS7 and Delphi.NET - Use aspnet_regiis.exe to configure the local IIS web server.

Hi All, 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 IIS as an application but I am still getting the error: The project cannot be de...

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 TM_PRO_CONVERTER = 'TM.PROFileConverter.dll'; function ImportLineworksFromPROFile(FileName :...

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 (represented by the DynamicHoverStyle.BackColor property). Since the BackColor is displayed the...

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 including the link with Microsoft IIS is correct. An alternate tutorial giving the same informa...

Double quotes being replaced with ' + CHAR(34) + ' in SQL using ASP.NET

Hi All, 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 for the SQL. Has anyone come across this before? ...

Port Delphi.NET (ASP.NET 1.1) Project to ASP.NET 3.5 using C# in Visual Studio

Hi, i have an ASP.NET project written in Delphi.NET with Borland Studio 2006. Well it seems that the .NET Version is 1.1 and i need to port it to 3.5. My problem is that the project is a .bdsgroup and .groupproj. To make my work comfortable, i'd like to get a solution file .sln. What's the best way to this? (im not really sure i'm doing...

.NET GC Clarification Needed for non .net classes in a .net project.

Hi All, I am combating some memory issues in my app and am finally managing to get to the bottom of it. I have had an example recently where my process memory went up to 800mb when processing a task. I have managed to get this to settle at 140mb now which is perfectly acceptable. However this has made me question my understanding of the...