Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Gather Name Objeto que não funciona em COM
Message
De
14/07/2002 13:53:24
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Titre:
Gather Name Objeto que não funciona em COM
Divers
Thread ID:
00678502
Message ID:
00678502
Vues:
65
Tenho este codigo como metodo de uma classe:

Procedure AtualizaConfig (oRegistro as Object)
Use Config
Go Top
Gather Name oRegistro
Use
EndFunc

Esta acontecendo que se eu instancio esta classe via VFP nativo (arquivo PRG e tal...) ela funciona, o gather atualiza o registro.
Mas qdo gero um COM desta classe, instancio este COM e tento executar este metodo.... Pluft... Gather jah era... nao funciona.. o registro continua sempre com o mesmo valor... e nao gera erro algum...
Resolvi isto trocando o Gather por um Replace, daí funcionou como COM. Mas fica a dúvida.. alguém (hein Lassala?? hehe) já usou este Gather Name Objeto em objetos COM? Funcionou?

[ ] ' s
Juliano Martins Terterola
Microsoft Certified Professional
Porto Alegre - RS - Brazil
9 years of Visual FoxPro experience

"Though we know that time has wings
We're the ones who have to fly..."
Neil Peart - Rush
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform