Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Help translating some C code to VFP, please
Message
De
05/06/2008 00:33:02
Thomas Ganss (En ligne)
Main Trend
Frankfurt, Allemagne
 
 
À
04/06/2008 14:35:35
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
01321678
Message ID:
01321785
Vues:
15
>Would somebody be kind enough to translate the following C code to VFP, please. The code is used to calculate CRC for "chunks" of a PNG file.

Why port to vfp instead of compiling a fll ? You *will* incur a performance penalty when running this type of code in vfp (both from tight loops of interpreted language and not having types pre-compiled, so if you plan to work on massive amounts of data this would be contra-productive.

If you really need vfp source (debugging ?), think about compiling with the dotnetcompiler into a dotnet-dll and calling that from vfp: one expensive call between runtimes should still result in better times created by static typing.

regards

thomas
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform