Re: Delphi code makes an appearance in the Daily WTF
This message is in MIME format. Since your mail reader does not
understand this format, some or all of this message may not be legible.
Content-Type: text/plain; charset="Utf-8"
"Andy Syms" <firstname.lastname@example.org> wrote in message
> Kevin Frevert wrote:
>> Probably the bigger WTF is why the original developer put it there
>> (I'll reply for those curious).
> We're waiting...
The code is somewhat a line-for-line conversion of the 'converted...SEPA components for Delphi with Source Code (Delphi 5
in the european union change next year the Bankingformat to the SEPA Format.
All peoples and companies must change the bankingssoftware and the costumer data form acountnummers in the new IBAN and BIC numbers.
- generate SEPA XML'S
- Calc IBAN
- BIC Database (DE,AT and CH)
Bankinssoftware for Develpoers (Germany only)
El 26/10/13 21:38, A...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!
Sorry I can not help, however, I have the s...delphi 2006 code in delphi 2010
is there any option to make delphi 2006 code work in delphi 2010? something like in java IDEs where you can define the code level you like to use?
the problem is, that i made a project with 2006 and sent it to my customer. they got 2010 and it compiles fine, but it just doesn't work. it deals with en-/decryption of text, we assumed, that it has something to do with ansi vs. unicode strings... but we cant find the exact position where the error occurs.
i am a bit dissapointed, because everywhere i read that the new IDE will always be downwards compatible and so on.. but in ...Transferring Delphi 5 BDE code to Delphi 2006 Nexus Embedded server code
In an application where I have used BDE in Delphi 5 I would like to
transfer the whole project to Nexus Embedded server that in general
implies mostly exchanging tTable with tnxTable etc.
But, in a procedure I regenerate indexes using dbiRegenIndexes(basehandler).
This function seems not to be supported anymore, so I just wonder if
such a call is needed at all in Nexus Embedded Server, and if needed,
what is now the correct syntax ??
I don't know the answer to your question but if you can't find answers
here you may like to know that nexus db have there own free newsgr...Code Porting
Basically, I am moving an app from Delphi 5 to Delphi 2009 which is all great (yeah right!) and I am having a couple of issues with some thirdparty components that we have the source code for.
Being that I wanted to make the task as easy as possible, I was able to download the component in Delphi 2007 format. I have now managed to port that to 2009 so it compiles only with warnings and no errors. So all is good at this moment.
Now I am trying to install the component into the IDE by using the install menu option from the project manager. This is where I run into errors. ...Delphi 6 to Delphi 2010 character codes conversion
I an converting a unit from Delphi 6 to Delphi 2010. Everything works except for a couple of character codes, the decimal values are(224 and 227). As far as I can tell when data is loaded from the socket into a buffer, the codes are ok. When they are written to another buffer these 2 codes use the upper case version of the characters(192 and 224). I don' t see it on any other of the codes. I set the code page in the compiler options to 1252, but that did not work. Any other options I can set in Delp
hi 2010 to correct this?
Jan B wrote:
> I an converting a unit from D...Delphi and Delphi for .Net
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.
Your information is great appreciated,
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...Is it worth to move my code from Delphi 2009 to Delphi 2010?
we are working on Delphi 2009 till this day because we do not have the time to upgrade our code to the newest version. There is always something more important (features, bugs...) and our code has 2+ million lines.
I thought that instead of moving from D2009 to XE7 I could atleast move code to D2010 because it is more or less backward compatible and it shouldn't take me that much of a work. I wanted to ask you about your opinion. Is it a good version to move to?
> I thought that instead of moving from D2009 to XE7 I could atleast
> move ...Code works in Delphi 7 but not in Delphi 2010 [Edit]
i have a procedure that open's a file by passing the file name as the parameter to the executable.
something like this
C : \ P r o g r a m F i l e s \ Da c k e r \ D r a c k e r . e x e " G : \ D E l p h i 7 \ D e l p h i 7 A p p _ l o g . t "
The source code is
RegDataType, RegDataSize: DWORD;
CmdLine: array [0..560] of Char;
Ret := windows.RegOpenKeyEx(HKEY_CURRENT_USER,
...Delphi 7.0 code convert to delphi XE ...
I create an application using Web Server Application then CGI stand alone... In WebModule I add ModuleController component and IWPageProcedure...
Below is my code in Delphi 7.0, this is how to call another units in webmodule...
procedure TWebModule1.proMainGetForm(ASender: TIWPageProducer; AWebApplication: TIWApplication; var VForm: TIWPageForm);
VForm := TfrmMain.Create(AWebApplication);
procedure TWebModule1.proLogInGetForm(ASender: TIWPageProducer; AWebApplication: TIWApplication; var VForm: TIWPageForm);
VForm := TfrmLogIn.Create(AWebA...Attempting to compile Delphi 5 code in Delphi XE5 is failing
If I'm not in the correct formum please tell me which one I should be in.
Just upgraded to Delphi XE5 and am attempting to compile one of my Delphi 5 projects. I used Interbase Express
I use either
TDataSource -> TCDSProvider -> TDataSetProvider -> TIBQuery or
TDataSource -> TClientDataSet -> TDataSetProvider -> TIBQuery
Also used TIBDatabase, TIBTransaction, and TIBStoredProc
I open the smallest project I have and click compile and almost immediately I receive this error
Checking project dependencies...
Compiling CITranEngine.dproj...converting delphi 2007 code to delphi XE2 -- emptyparam problem
Hi, I am trying to convert my applicantion code from delphi 2007 to delphi XE2 and i got stuck in this error "[DCC Error] ADODB_TLB.pas(4888): E2033 Types of actual and formal var parameters must be identical". This happens when we use emptyparam as an argument in a function that wants an olevariant.
function TAcadDatabase.CopyObjects(Objects: OleVariant): OleVariant;
Result := DefaultInterface.CopyObjects(Objects, EmptyParam, EmptyParam); //this is where we get the ERROR
The coyobjects function as this signature: " function CopyObjects(Object...Delphi 2009 automatic bug reports appear as Delphi.NET issues
For automatic bug reports, Delphi 2009 seems to put 'Delphi.NET' into
the field for 'Project'. I will try to verify it and enter it in QC.
Unfortunately this means I have to use the QC database for 'testing',
but will delete my test entries if I have verified the problem.
Michael Justin wrote:
> For automatic bug reports, Delphi 2009 seems to put 'Delphi.NET' into
> the field for 'Project'.
AFAIK this is as expected. There is no project "RAD Studio" and so
"Delphi.NET" has been choosen as proj...