Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Using UIAutomation
Message
 
 
To
13/04/2011 00:09:45
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Environment versions
Visual FoxPro:
VFP 9
Miscellaneous
Thread ID:
01506966
Message ID:
01507103
Views:
52
It works for me under Win7. I dunno why it doesn't work for you

>
>Thanks for helping with this.
>
>I had tried using the Object Browser on that DLL, but I get an error dialog to say it can't be loaded as it's invalid or not a type library.
>The CreateObjectEx line doesn't work either, saying that it can't find the class.
>
>As an experiment I tried running RegSvr32 on the UIAutomationCore DLL and it says that it can't register it because while it can be loaded, there is no DllRegisterServer entry point. I checked both my machine (XP SP3) and the server I'm working on (Server® 2008 Enterprise) and neither of the DLLs have a DllRegisterServer entry point.
>
>I don't suppose you have any other ideas?
>
>
>>Try
>>
>>oUIA = CREATEOBJECTEX("{ff48dba4-60ef-4201-aa87-54103eef594e}", "", "{30CBE57D-D9D0-452A-AB13-7AC5AC4825EE}")
>>
>>
>>You can use VFP Object Browser to look for more info in C:\WINDOWS\SYSTEM32\UIAUTOMATIONCORE.DLL
>>
--sb--
Previous
Reply
Map
View

Click here to load this message in the networking platform