Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problemas com FOPEN compartilhado
Message
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Problemas com FOPEN compartilhado
Miscellaneous
Thread ID:
00919583
Message ID:
00919583
Views:
83
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
Next
Reply
Map
View

Click here to load this message in the networking platform