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
> 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