converting delphi code to delphi .NET
Hi,I'm looking at converting quite a bit of old delphi code to delphi .NET . I'm wondering can it be converted to VB.NET for certain ? Or perhaps there are some unsupported functions etc in delphi and I should keep the code delphi ?
There are about 10,000 lines of code. Anyone brave enough to take an estimate on how long it would take to convert 10,000 lines ?is going from delphi to delphi.NET smooth ? Would going to another language cause complications ?Thanks!
mike123
Mike123,
Sorry I can not help, however, I have the s...
Delphi.NET loading Delphi.Win32 DriverHi,
What I'm trying to do is marshal an array of cardinal (or integer) back into managed memory from a win32 dll.
I know how to pass managed memory into a win32 dll
{code}
var aa : array of Integer;
Buffer : IntPtr;
begin
SetLength(aa,2);
aa[0] := 1;
aa[1] := 80;
if not Supports(ExtractFilePath(Application.ExeName)+'Win32_Library\SDK_Driver.Win32.io', TypeOf(IMyFunctions), MyFunctions) then Exit; //loads the driver into memory. MyFunctions contains the method names found in the SDK_Driver.
Buffer := Marshal.AllocHGlobal(2 * {Marshal.SystemDefaultC...
delphi Win32 using delphi .NET dllHi,
I'm trying to use a delphi.NET dll in delphi.WIN32. I am currently using CodeGear Delphi 2007 with version2(base version) of .NET
I can get the dll to import into the WIN32 application the only problem is when i include things such as: "using Classes,DateUtils, SysUtils" in the .NET dll the win32 application will instantly hang when any of the dll functions are called.
Any help would be great thanks.
Also I have tried this example and it also crashes for me? http://cc.embarcadero.com/Item/22688
-Braden
I also found this..
"The problem is that, wehn you instal...
Delphi and Delphi for .NetIt seems that Delphi for .Net is slower than Delphi Win32 native applicaiton.
I would like to know is it true all .Net application is slower than Win32 native applicaiton or it is Delphi for .Net only.
Your information is great appreciated,
Inung
On 2011-06-21 18:20:17 +0100, Inung Huang said:
> It seems that Delphi for .Net is slower than Delphi Win32 native applicaiton.
> I would like to know is it true all .Net application is slower than
> Win32 native applicaiton or it is Delphi for .Net only.
If you are only running the code in the application once then, yes, yo...
Convert a Delphi 2006 WinForms project to Delphi PrismHow can I go about doing this short of recreating the project and transfering code?
Just wondering what to expect if we go to Prism.
Thanks.
--
Don Gollahon
Don Gollahon wrote:
> How can I go about doing this short of recreating the project and
> transfering code?
>
> Just wondering what to expect if we go to Prism.
>
> Thanks.
Hi Don,
Have you checked out the migration tool Oxidizer ?
http://prismwiki.codegear.com/en/Oxidizer
Cheers,
John
--
John Moshakis wrote:
>Don Gollahon wrote:
>
>> How can I go about doing th...
Convert a Win32 to Delphi .NET in D2006The win32 app is a D2006 app as well. How do I convert it to be a Delphi .NET app short of recreating the forms and copy/pasting code? Is there a conversion tool in Delphi to do this?
I would think with VCL .NET there would be a way to change the target project type.
--
Don Gollahon
Don Gollahon wrote:
> The win32 app is a D2006 app as well. How do I convert it to be a
> Delphi .NET app short of recreating the forms and copy/pasting code?
> Is there a conversion tool in Delphi to do this?
>
> I would think with VCL .NET there would be a way to change the...
Convert Delphi 5 ADO App to Delphi 2007 ADO.NETI have an appliction tha that is writen in Delphi 5 with ADOConnetion, ADOTable, and ADOQuery components.
I need to upgrade to Delphi 2007 and use ADO.NET.
I have the program building in with Delphi 2007. Is there anything I need to do to convert the ADO to ADO.NET?
> I need to upgrade to Delphi 2007 and use ADO.NET.
Why ?
--
With best regards,
Dmitry Arefiev
AnyDAC (www.anydac.com) - Oracle, MS SQL Server, IBM DB2, MySQL,
Firebird, Interbase, PostgreSQL, Sybase ASA, SQLite, MS Access, DBX,
ODBC, InMem - universal high-speed native data access engine
Reasons for ...
Delphi.NET vs Prism+Win32+HydraIt seems one of the reasons people have been using Delphi.NET has been
for easy reuse of Delphi.Win32 code in ASP.NET applications. If we
assume resurrecting Delphi.NET with both RTL.NET and VCL.NET is out of
the question, what is the /technically/ most sound path for further
development of such applications?
1. Porting everything to C#
2. Back-porting the reused code to Win32, porting the ASP.NET specific
code to Prism, and using e.g. RO Hydra for accessing the Win32 code from
..NET
3. Something else?
> 1. Porting everything to C#
> 2. Back-porting the reused code to...
Any difference between Delphi Prism 2011 and Delphi Prism XE?Looking at the features in Delphi Prism XE, they look the same as the new items in the 2011 release back in may. I there anything new in the XE release? or did they simply change the product branding? Just wondering if I need to update it or now when i download the rest.
Thanks,
Hi Dan,
> Looking at the features in Delphi Prism XE, they look the same as the new items in the 2011 release back in may. I there anything new in the XE release? or did they simply change the product branding? Just wondering if I need to update it or now when i download the rest.
See http://w...
Delphi for PHP or Delphi PRISMHi,
I have the opportunity to develop a web-based library management system.
Nothing fancy, just being able to do the usual CRUD stuff for books and
provide a search facility. Borrowing is to be done via an email request
to the library admin who then sends out the book(s). Since both Delphi
for PHP and Delphi PRISM will enable me to develop the app, which one
will allow me to deliver it in less time and also increase (even how
small) my marketability as a web developer? Thanks.
Phillip Flores
Phillip Flores wrote:
> Hi,
>
> I have the opportunity to develop a...
Delphi and Delphi Prism licensing questionWhen I buy Delphi and Delphi Prism, do I get a "named user licence" or a "workstation licence"?
Can I install both products on two machines I use with the same licence keys?
I have a Mac Pro ("Cyrus") running Vista 64 in VMware and a MacBook ("Blacky") running Vista 32 in Parallels. Can I install Delphi and Delphi Prism on both Cyrus and Blacky since I use both machines (and like to have all dev tools I use installed on both machines at all times)?
Andrew Brehm wrote:
> When I buy Delphi and Delphi Prism, do I get a "named user licence...
Converting from Delphi 2005 to Delphi XE5I have developed a number of Windows applications in Delphi 2005.
I recently purchased Delphi XE5.
I have started by trying to compile an existing 2005 application.
I am getting a 7 errors about FMXTeeEditor.
[dcc32 Error] E1026 File not found: 'FMXTee.Editor.Brush.fmx'
Not able to find a solution to this. Any help greatly appreciated.
Did you open every form before compiling? The old forms get updated with new properties when they are opened. I would make a copy of the old project before doing any of this.
maybe you have links to the older tchart files....i.e its not usi...
Api to skydrive delphi or delphi.netDear Good afternoon ...
Does anyone have any idea or some documentation on how to implement or delphi.net via delphi api to access skydrive files. Thank you for your help.
...
delphi.Net Delphi 2005 Project Upgrades?Our company aquired the software property from another last year.
Most of the projects were written in Delphi 2007. We purchased Delphi XE which gave us access to previous versions, including D 2007... all is well.
However, 3 projects were written Delphi 2005 for .Net.
The VM we received from this company included D2005 but it was licensed from the previous developer.
I've contacted Embarcadero about obtaining a copy and or a license+registration for Delphi 2005 and was told this product is no longer available.
I'm under the impression Delphi for .Net was abandoned.
My qu...