Link error: undefined reference to `AccessibleObjectFromPoint@16'

Hi all
I am trying to execute this using mingw, windows 7 (and wxwidgets)

POINT ptScreen;
ptScreen.x=10;
ptScreen.y=10;
IAccessible *ppacc;
VARIANT pvarChild;

AccessibleObjectFromPoint(ptScreen,&ppacc, &pvarChild);

And the link error arises:

undefined reference to `AccessibleObjectFromPoint@16'

Why? Why @16?

Thanks a lot

Alex
Try adding "Oleacc.lib" or "oleacc" to linker dependencies list
It is sollely "Oleacc"

Thanks a lot!!

Alex
Topic archived. No new replies allowed.