Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
FOPEN() fail faster?
Message
De
26/09/2007 16:32:05
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
 
À
26/09/2007 15:29:11
Mike Yearwood
Toronto, Ontario, Canada
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP1
Divers
Thread ID:
01255774
Message ID:
01257024
Vues:
25
>>That's technology of the Star Trek: slow light. Now you have a flash which takes five seconds - that's progress :)
>
>:) I'm using the flash drive so I can backup small DBs and have time to monitor it. In the real environment the .bak will be over 200Gb so it's not just nicety to have it show something like progress.
>
>This gets weirder the further I go. Now, I've set a timer to monitor the file creation. The wierd thing is - I know the file size is growing as the backup runs. If I start Windoze Exploder and navigate to the file, when I click on the file, my VFP exe shows the new size. Explorer doesn't! Navigate to another file and back, same thing. Hit F5 in Explorer, the file size changes and so does my VFP exe.
>
>So first question. Is there a way to make VFP force Windows to "refresh" itself?

Forget exploder, it's unreliable. What does fsize() say at that time?

>Second question Does anybody understand C++ code? I've got a sample called mprocess.cpp which comes with SQL Server. It uses the SQL Server Virtual Device Interface which looks promising, but I never did C++!

If it says "interface", maybe it can be instantiated, automated... words like 'implements', 'getinterface()' come to mind. Does our friend Object Browser have anything to say about that? I assume the cpp is compiled into a dll somewhere - maybe it has some sort of API?

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform