Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Corrupt memo files
Message
De
22/05/1998 08:54:03
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
 
À
20/05/1998 13:02:51
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00100432
Message ID:
00101130
Vues:
56
>Make sure to look at your app's existing Reindex procedures. I've seen quite a few pieces of code that flips the value of header bytes that in 2.x used to control whether the table has an associated CDX, and now controls -- you guessed it -- information about the memo file. <g>

I've noticed on time, so I reset only the lowest bit of it, like this:
...
=fseek(Handle_ln,28)
cbyte_ln=BitAnd(asc(fread(Handle_ln,1)),254)
=fseek(Handle_ln,28)
=fwrite(Handle_ln,chr(cbyte_ln))
...

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
Répondre
Fil
Voir

Click here to load this message in the networking platform