Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP as COM freezes application.
Message
 
To
All
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Title:
VFP as COM freezes application.
Miscellaneous
Thread ID:
00390022
Message ID:
00390022
Views:
49
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!
Next
Reply
Map
View

Click here to load this message in the networking platform