Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VFP as COM freezes application.
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Titre:
VFP as COM freezes application.
Divers
Thread ID:
00390022
Message ID:
00390022
Vues:
50
I'm trying to automate a VFP .exe from Visual Lisp running in autocad. When I show a form, the autocad display is frozen and when you move the form around the screen by dragging it with the taskbar, the autocad display can't update itself.

This is just a test with 2 classes, one is the form, and one creates the form and issues a read events.

Here is code in the class that instantiates the form class. It's set as olepublic.
x = createobject("helloform")
x.show(2)
read events
release x
the only code in the form is 'clear events' in the forms destroy. I set the form properties as:

.autocenter = .t.
.desktop = .f.
.showwindow = 2 && as top-level

I compile as a .exe

Any ideas why AutoCAD can't update it's display while the form is showing?

Any ideas?
Roi
'MCP' Visual FoxPro

In Rome, there was a poem.
About a dog, who found two bone.
He lick the one, he lick the other.
He went pyscho, he drop dead!
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform