Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problemas com FOPEN compartilhado
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Problemas com FOPEN compartilhado
Divers
Thread ID:
00919583
Message ID:
00919583
Vues:
82
Estou migrando um sistema de clipper, que Abre um arquivos texto de forma compartilhada com outro sistema:


Código em Clipper :
#include 'FILEIO.CH'
lnOPen = FOPEN( 'vendas.dat',FO_READWRITE+FO_SHARED )   
O similar em VFP
lnOPen = FOPEN( 'vendas.dat',12 )   
Em VFP isto me retorna um -1, isto é não abre o Arquivo. Não temos um FO_SHARED no VFP, que para o clipper FO_SHARED tem um valor de 64. Alguém poderia me ajudar nisto ?
Paulo Cesar Carneiro
desenvolvimento@controplan.com.br


"My God, what have we done?"
-- Capt. Robert Lewis, co-pilot of the Enola Gay, recalling the moment the atomic bomb exploded over Hiroshima

At 8:15 a.m. on August 6 1945
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform