Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Help translating some C code to VFP, please
Message
From
05/06/2008 00:33:02
Thomas Ganss (Online)
Main Trend
Frankfurt, Germany
 
 
To
04/06/2008 14:35:35
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
01321678
Message ID:
01321785
Views:
14
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform