Note: My english is bad...
I am creating classes to work with ADO(soon it will publish them.). Use VFPCOM.DLL to be able to catch the events that ADO fire, until here there is no problem until drop the class in a form, and it is not possible to close it without emitting CLEAR ALL...
CODE is more or less like this:
Method MiClase.INIT
MiClase.oVFPCOMM=createobjet(...
MiClase.oVFPCOMM.BindEvents(....
Method MiClase.Destroy
MiClase.oVFPCOMM.UnBindEvents..
MiClase.oVFPCOMM=.NULL..
What do you suggest to me?
*-- Original
Estoy creando unas clases para trabajar con ADO (pronto las publicare..). Uso VFPCOM.DLL para poder atrapar los eventos que ADO dispara, hasta aqui no hay problema hasta que suelto la clase en un formulario, y no es posible cerrarlo sin emitir CLEAR ALL...
El codigo es mas o menos asi..
Metodo MiClase.INIT
MiClase.oVFPCOMM=createobjet(...
MiClase.oVFPCOMM.BindEvents(...
.
.
.
Metodo MiClase.Destroy
MiClase.oVFPCOMM.UnBindEvents..
MiClase.oVFPCOMM=.NULL.
.
.
Que me sugieren?
The Life is Beautiful!
Programmer in
Delphi, VS.NET
MCP