Information générale
Catégorie:
Contrôles ActiveX en VFP
The timer idea is great not only for debugging but for control over the DLL.
But I'm having the worst time trying to implement the idea. Do you see
any problem with my approach?
1. Created a prg that contains definition for an xtimer class based on the timer class, in it I check for the file through the timer event.
I make sure that enabled is .t. and interval is 2000 milliseconds
2. I add this xtimer class by doing an ADD OBJECT timerobj AS xtimer in the
begining of myoleserver class.
If I run my oleserver class by set procedure to file_that_contains_my_oleserver class and then CREATEOBJECT('myoleserver'), the timer works, but as soon as
I build the DLL and create the object from the DLL the timer doesn't work?....
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement