Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
DLL Question
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
DLL Question
Divers
Thread ID:
00415545
Message ID:
00415545
Vues:
45
I have a DLL which I launch from a form.

The DLL is created into a property on the form:

ThisForm.oDLL = CREATEOBJECT("MyDll.Class")


The DLL works fine.

Now I want to be able to cancel it, so I added a
lCanceled property and a method to set it.

So in the form, I can use


ThisForm.oDLL.Cancel()


which sets the canceled property in the DLL. This
property is checked at various points in the processing, and
if True, causes all processing to stop and it stops.

Or at least thats what's supposed to happen.

The propblem is that once the DLL starts, the form never gets
control back long enough for the call to the Cancel method
to work.

Anyonw have any ideas?
Everything makes sense in someone's mind
public class SystemCrasher :ICrashable
In addition, an integer field is not for irrational people
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform