Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Delphi 1 -> 2

0 views
Skip to first unread message

Absec Ltd

unread,
Oct 14, 1997, 3:00:00 AM10/14/97
to

I am going to upgrade my Delphi 1 programs to Delphi 2.
Is it a straight matter of recompiling in the Delphi 2 environment?


Gary Jones

unread,
Oct 14, 1997, 3:00:00 AM10/14/97
to

In article <34434F2B...@absec.co.uk>, Absec Ltd
<enqu...@absec.co.uk> wrote

>I am going to upgrade my Delphi 1 programs to Delphi 2.
>Is it a straight matter of recompiling in the Delphi 2 environment?
>

I've done this several times. I can't say whether it's true for *any* D1
application, but I've never had any problems.

--
Gary Jones (Replace "zappa" with "demon" in e-mail address)
PGP public key available from servers
Key ID: 6AFBEAA1
Key fingerprint: FF F0 6C 8A AC 42 1D 63 20 F3 AE 22 6C E1 79 83

Bernd Lehmann

unread,
Oct 15, 1997, 3:00:00 AM10/15/97
to Absec Ltd

Absec Ltd schrieb:

> I am going to upgrade my Delphi 1 programs to Delphi 2.
> Is it a straight matter of recompiling in the Delphi 2 environment?

The important items you have to notice are:

- the size of integer is 4 like longint,
- the format of string have changed, string in Delphi 1 is like
shortString in Delphi 2,
- for calling DLL's it can be used stdcall or fastcall (in most cases
use stdcall),
- if you use windows structures (records) do not use a packed record.

Regards Bernd

0 new messages