Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
CREATEOBJECT not working
Message
From
01/03/2007 19:36:54
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Miscellaneous
Thread ID:
01200023
Message ID:
01200162
Views:
34
>Didn't work. I created a Class Library and put the control in it on my development computer and now a WinSock that was connecting with _VFP.AutoYield set to TRUE and using DOEVENTS, now never can get a connect state of 7. This is baffling. When I was not using the OLEControl on the form and just using CREATEOBJECT(...) it worked on my computer and not the client computer..due to the license issue. I'm out of ideas. Any ideas?

Create a subclass of olecontrol with winsock as its oleclass. Then createobject() that.

When you use createobject with the oleclass directly, it counts as "open for development". If it's in a saved class, doing a createobject() on that class counts as runtime, and then you shouldn't be getting that message.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform