Home > Back-end >  Under transplanted into DelphiXE delphi7 under program, what need to be aware of? Everybody to give
Under transplanted into DelphiXE delphi7 under program, what need to be aware of? Everybody to give

Time:10-14

Have been using DELPHI7 development, now the company said with DelphiXE environment (crack), ask masters predecessors, DELPHI7 program transplantation to DelphiXE under what need to be aware of? Everybody to give advice!

CodePudding user response:

Should be no problem, as long as you control the installation is complete..

CodePudding user response:

External control without source estimation in not, need to pay attention to bytes, delphi7
Char is 1 byte, xe is 2 bytes, string under xe for widestring
Is delphi7 ansistring on by default

CodePudding user response:

Thank you, you still have what advice and pay attention to??????? Say!

CodePudding user response:

Char string this kind of question is sick people enough.


In addition if you are users of indy, in very disgusting.



There are many control temporarily does not support XE




If want to change must hold to, in the later, you won't be thinking about D7

CodePudding user response:

In my experience, head to tell the original poster: Unicode is your biggest problem, especially in information management system development,
Unicode problem caused by the program code is not that simple, I encountered the most headache experience is that the original use AnsiString format saved to the database content, reed, after successful upgrading to D2010 compiled through, one new compilation support Unicode programs, in the process of query, incredibly can't correctly identify some original AnsiString format string stored in the database,
There could be many way to solve this problem, my experience is, first to convert the string field in the database format, which is a start in the database string field is set to support Unicode format,

CodePudding user response:

The pony across the river,,, you actually test is the way
Is nothing more than judgment or intercept to string length, there are still some WINAPI calls to specified string type, and other basic need not be changed

CodePudding user response:

I also try to upgrade, but let a person tired, now the new project is xe. The old is still using delphi7 maintenance

CodePudding user response:

If you did not even figure out why you need XE, so still need not big,

CodePudding user response:

Turned out to have been use D7, new company with delphixe, delphixe control is not only hard to find, there are many problems, the most disgusting is the problem of window is too small, and not to maximize D7.

CodePudding user response:

xe? All used

CodePudding user response:

With what bai, what habits, the new is not necessarily the best

CodePudding user response:

Xe has fully support unicode default string is the inside of the d7 widestring

Length should pay attention to the


To pay special attention to pchar d7 is pansichar and default in the xe is pwidechar

Pay attention to modify the code is not correct otherwise the results


Above is my development experience


CodePudding user response:

Can you tell me where the original poster also use Delphi? Upgrade was successful, I also want to do the Delphi recently upgraded to rose from D5 to D2010, which used to control a Indy, FastReport, can give some advice? Thank you very much!

CodePudding user response:

Never used, are not delphi2011 now

CodePudding user response:

INDY upgrade up more troublesome, a lot of methods, and events have changed,

CodePudding user response:

D5 to D2010 this span is a bit big
  • Related