Migrating From Delphi 7 to Delphi 2010We did not know which forum was the best for this question.
We have been wanting to migrate from Delphi 7 to a later version for years but it appears to be a daunting task. We first looked at D2006 and that was a radical new world. We bought D2010 a couple of years ago and not done much with it because there are so many parts to our applications. We have done a few new applications in D2010 and they seem to work okay. D2010 has not been impressive, perhaps because of the strangeness compared to D7.
Is is possible for us to do a phased sort of migration where we do a form at a time? ...
Using Delphi 7 and Delphi 2010I had a project in Delphi 7.
I worked on it in Delphi 2010.
When I try to open the .dpr again in Delphi 7, the IDE toolbar widens across both monitors, and Delphi 7 locks up.
It appears that Delphi 2010 modifies the .dpr in a way that makes Delphi 7 unable to open it again.
All my forms & units appear to open fine in D7 after D2010, except for the warnings on the ExplicitHeight and ExplicitWidth properties being missing...
I can easily recreate the .dpr, but is this expected behavior?
Thanks.
Tom Field wrote:
> I had a project in Delphi 7.
>
> I worked o...
Pchar for PansiCharhello, I use a DLL developed in D7 and not have the same sources. I will use Delphi 2010 and the functions do not work
function TkmInitialize(LOGXMLDIR: PChar; TkmByExt: dWord): dWord; stdcall; external 'trackbuffer.dll';
function TkmCreateStream(FileName: PChar; Var Stream: dWord; Var Error: dWord): PChar; stdcall; external 'trackbuffer.dll';
function TkmLogEnd(Stream: dWord; MediaDuration, MediaPosition, MediaType: dWord; MediaName: PChar): dWord; stdcall; external 'trackbuffer.dll';
function TkmIsTkm(FileName: PChar): Bool; stdcall; external 'trackbuffer.dl...
Code works in Delphi 7 but not in Delphi 2010 [Edit]hello,
i have a procedure that open's a file by passing the file name as the parameter to the executable.
something like this
{code}
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 "
{code}
The source code is
{code}
procedure OpenFileWithExe
var
hReg: HKEY;
Ret: Longint;
RegDataType, RegDataSize: DWORD;
CmdLine: array [0..560] of Char;
Len: Integer;
SInfo: TStartupInfo;
PInfo: TProcessInformation;
begin
Ret := windows.RegOpenKeyEx(HKEY_CURRENT_USER,
...
Delphi 7 to Delphi XE2Hi,
Still using that old workhorse, Delphi7, but am going to the conference in
London hosted by Embarcadero on Delphi XE2.
Although I would like to "move with the times" and am keen to get the
UNICODE and 64-bit support offered by the latest IDEs, I confess to being
more than a little scared about all the UNICODE/String/AnsiString and 32/64
bit issues I'm probably going to fall over. Anyone recently upgraded from
Delphi7 to one of the latest Delphi IDEs?
Thanks,
Alain
On 03/02/2012 08:55, Alain Dekker wrote:
> Still using that old workhorse, Delphi7, but...
from delphi 6 to delphi 2010Hi.
It is possible, with component RX, dxforumlibrary, InfoPower3000Pro,
StringAlignGrid.
Accepts communication BDE.
Thank by comments.
excequiel arostica wrote:
>Hi.
> It is possible, with component RX, dxforumlibrary,
>InfoPower3000Pro, StringAlignGrid. Accepts communication BDE.
>
>Thank by comments.
Rx is dead and sources are taken over by jcl/jvcl. I dont know about
the rest of the components and i have no experiences with bde over the
last 9 years.
excequiel arostica wrote:
> Hi.
> It is possible, with component RX, dxforumlibrary,...
Delphi 2007 to Delphi 7I've written a class in Delphi 2007 that is not supported in Delphi 7. What
would be the best way to achive what I've done in Delphi 2007 in Delphi 7?
Thanks,
Tom
type BondConstants = class
{ Bond Types }
type BondType = record
const
TREASURY = 3;
AGENCY = 0;
CORP = 1;
MUNI = 2;
SBA = 5;
MBS = 4;
CMO = 6;
end;
{ Day Count Methods }
type DayCount = record
const
ACTUAL_360 = 2;
ACTUAL_365 = 1;
ACTUAL_ACTUAL = 1;
d30_360 = 0;
...
Delphi XE / Delphi 2010Hello!
I noticed that Embarcadero® Delphi® 2010 Version is not on the list of products on
Embarcadero page.
Or is it still possible to buy it?
Will RAD Studio XE compile programs written in Delphi 2010 without problems.?
Thanks.
Am 13.09.2010 09:04, schrieb Petra Nemec:
> Will RAD Studio XE compile programs written in Delphi 2010 without problems.?
As always you will probably have to recreate the projects as the import
is still a bit -- special.
Christian
Hello!
Does anybody know if it is still possible to get a Delphi2010 trial version
(if yes where)?
...
Delphi 7 to Delphi XEHave been using Delphi 7 for many moons ( have got later versions but never
upgraded to )
My first problem is:
Component Palette. in XE it is a small toolbar docked in top right
in Delphi 7 it gives a large view of all the components.
I am struggling to be able to cope/access my components.in Delphi XE.
Can I make the component pallette tool bar the same size as Delphi 7, or is
there a fast way to view/choose all available components in XE, that I have
not spotted yet?
Kind Regards,
Robert.
Hi,
What I know is that in Delphi 2010 and XE you can choose
between t...
dll fails when compiled with delphi 2010, but works with delphi 7I may be doing good if someone can just point me to the right forum
I have not created a dll for some time and have not written one with 2010 before. The dll I am creating will be called as a cfx function by either a ColdFusion or BlueDragon webserver. I have written cfx DLLs in the past.
The function declaration is below, it is the standard declaration from ColdFusion or Bluegradon documention on creating a CFX.
procedure ProcessTagRequest(Request: TCFXRequest); export; cdecl;
Since this was the first time using 2010 I wrote a very basic function to build off that was not much mor...
dynamical DLL loading in delphi 7 & delphi 2010Hello,
i am loading a DLL dynamical in Delphi 7 and Delphi 2010:
[delphi]
var
hDLL: THandle;
pCode: Pointer;
type
TProcMainEntry = function: TForm;
begin
hDll := 0;
if FileExists(Pfad + vpeDllName) then
hDLL := LoadLibrary(PChar(Pfad + vpeDllName))
else
SetLastError(2);
if hDLL = 0 then
RaiseLastOSError;
pCode := GetProcAddress(hDLL, PChar(vpeFunction));
if pCode = nil then
RaiseLastOSError;
Result := TProcMainEntry(pcode)();
[/delphi]
in delphi 7 there's a variable filled with data of the main application which used in the...
Delphi 7 versus Delphi 2010 compiler directive {$Q-}Hi,
Could it be correct that there's a bug in Delphi7 where the compiler directive {$Q-} and {$Q+} works completely the
opposite?
When trying to build an existing Delhi 7 project in Delphi 2010 i found this weird behaviour.
In D7 {$Q-} set overflow cheking on and in Delphi 2010 off ?????
Regards,
Arno Brinkman
ABVisie
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Firebird open source database with many powerful SQL features:
http://www.firebirdsql.org
http://www.firebirdsql.info
General database developer support:
http://www.databasedevelopmentforum.com
Support list for ...
.EXE is almost twice a big in Delphi 2010 compared to Delphi 7?While migrating from Delphi 7, I have a program whose .exe is about 18 megs
in Delphi 7, but in Delphi 2010, it's about 35 megs.
Is this in line with what others have seen, or am I missing some switch?
I'm configuring the "Release" Build Configuration. And I'm right-clicking
on "Release" in the Project Manager and selecting Build.
I haven't been able to find any addition project options to bring this
number down:
Current Configuration:
Emit RTTI: False
Debug info: False
Map file: Off
Include Remote debug symbols:
{$WEAKLINKRTTI ON} ...
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...
Price of upgrade from Delphi 2010 Professional to Delphi 2010 Enterprise?It's weird, but I could not find the answer on so simple question not in Embarcadero Shop, neither by the forum search.
For example, the shop info about Enterprise upgrade says:
The Upgrade product is available to registered owners of 2006-2009 versions, blah-blah...
So, if I'm Delphi 2010 Professional user, I even not eligible for upgrade? I have to buy a new version of Enterprise???
But if I'm Delphi 2006 Professional user, I can upgrade.
Please clarify this nonsense for me.
Exact question is in the subject.
Thanks!
Hi Dmitri,
> It's weird, but I could not...