Sorry,
 
I am using Code-Blocks with MingW 64 bits, I also #include <Oleacc.h> in my source file, but getting the error.
 

 
> Date: Tue, 10 Jul 2012 19:00:30 +0300
> From: eliz@gnu.org
> To: mingw-users@lists.sourceforge.net
> Subject: Re: [Mingw-users] Problem using AccessibleObjectFromWindow() function !!!
>
> > From: Trinh Dao <hoang.dao@hotmail.com>
> > Date: Tue, 10 Jul 2012 06:21:37 +0000
> >
> > Hi all, I am trying to use the function AccessibleObjectFromWindow() but getting error " undefine reference to IID_IAccessible" and " undefine reference to 'AccessibleObjectFromWindow@16'"
>
> That generally means that you didn't mention the right libraries on
> the link command line, or (mauch more rarely) the MinGW w32api doesn't
> yet support this function. In this case, I'm guessing that you didn't
> use -loleacc on the link command line.
>
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> MinGW-users mailing list
> MinGW-users@lists.sourceforge.net
>
> This list observes the Etiquette found at
> http://www.mingw.org/Mailing_Lists.
> We ask that you be polite and do the same. Disregard for the list etiquette may cause your account to be moderated.
>
> _______________________________________________
> You may change your MinGW Account Options or unsubscribe at:
> https://lists.sourceforge.net/lists/listinfo/mingw-users
> Also: mailto:mingw-users-request@lists.sourceforge.net?subject=unsubscribe