Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
DLL Question
Message
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
00415545
Message ID:
00415551
Views:
24
Try ON ESCAPE or ON KEY LABEL in your DLL.

>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?
Ken Wardwell
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform