Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Why one code works, while other doesn't?
Message
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00466654
Message ID:
00467340
Vues:
34
>>> Actually, VFP can handle strings only less than 16MB. I put 5000000 ( < than 5MB) just to be sure. So, for files less than 5MB I use now Memo approach and for other files low-level functions. Anyway, I'm not completely satisfied with the speed. Your on-liner seems to be a little bit faster (difference is about 1 sec.), but Mike warned me, that I can have Memory problems with that.
>>>
>>>Anyway, I think C fll should be faster in this case (I'm not 100% sure, though). If you can find this C code and send it to me with the instructions of creating FLL (I did it once with Cetin's code, but it was ~1,5 years ago), I would really appreaciate it.
>
>I'm sorry. I found the EXE (it actually stripped some commas form an ungly AS/400 file), but not the C source. That was used from a FPW 2.6 app and I think that it was launched with a plain RUN command.
>
>I don't have a C++ in this machine (gladly, I don't need it!), but I have it at home, or in some other's machine. If no other gentleman with a bit more experience does it, tell me and I'll write it. 8-)

Well, I have VC here and at home, so I probably have to write it by myself. I'll try to find Cetin's code for another FLL and try to write it. It should not be too hard, besides, it's a good case for refreshing my C++ knowledge (since I'm stuck in VFP now, I start forgetting C++ :()

Anyway, if in the meantime you'll find something, feel free to send it to me :))

Thanks a lot.
If it's not broken, fix it until it is.


My Blog
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform