get_accName is not a member of 'IAccessible'
I'm trying to read the url of my firefox/Mozilla window, so far I have the IAccessible object that I obtained with :
IAccessible *ac =0 ;
AccessibleObjectFromWindow( hwnd,OBJID_CLIENT ,&IID_IAccessible , (void **)&ac );
where hwnd is the handle to the window of the address bar.
This seems to be working correctly
Now when I do : ac.get_accName(myVariant) and try to compile, I get the following:
'get_accName' : is not a member of 'IAccessible'
I have included oleacc.h and linked the oleacc.lib, could please anyone help?
Thanks a lot