Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Gather Name Objeto que não funciona em COM
Message
From
14/07/2002 13:53:24
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Title:
Gather Name Objeto que não funciona em COM
Miscellaneous
Thread ID:
00678502
Message ID:
00678502
Views:
64
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
Next
Reply
Map
View

Click here to load this message in the networking platform