Syntax error in oleacc.h

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Syntax error in oleacc.h

Aaron Cohen
It looks like I am unable to use the oleacc.h library due to the error below. I am assuming I forgot to do something. Any suggestions would be appreciated. Thanks!

C:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/oleacc.h:149: error: syntax error before "const"
C:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/oleacc.h:150: error: syntax error before "const"
C:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/oleacc.h: In function `DECLARE_INTERFACE_':
C:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/oleacc.h:155: error: `QueryInterface' undeclared (first use in this function)
C:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/oleacc.h:155: error: (Each undeclared identifier is reported only once
C:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/oleacc.h:155: error: for each function it appears in.)
C:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/oleacc.h:155: error: `THIS_' undeclared (first use in this function)
C:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/oleacc.h:155: error: syntax error before "REFIID"
C:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/oleacc.h:156: error: `ULONG' undeclared (first use in this function)
C:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/oleacc.h:156: error: `AddRef' undeclared (first use in this function)
C:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/oleacc.h:156: error: `THIS' undeclared (first use in this function)
C:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/oleacc.h:156: error: called object is not a function
C:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/oleacc.h:156: error: syntax error before "PURE"
C:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/oleacc.h:157: error: `Release' undeclared (first use in this function)
C:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/oleacc.h:157: error: called object is not a function
C:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/oleacc.h:157: error: syntax error before "PURE"
C:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/oleacc.h:158: error: `GetTypeInfoCount' undeclared (first use in this function)
C:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/oleacc.h:158: error: syntax error before "UINT"
C:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/oleacc.h:159: error: `GetTypeInfo' undeclared (first use in this function)
C:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/oleacc.h:159: error: syntax error before "UINT"
C:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/oleacc.h:160: error: `GetIDsOfNames' undeclared (first use in this function)
C:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/oleacc.h:160: error: syntax error before "REFIID"
C:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/oleacc.h:161: error: `Invoke' undeclared (first use in this function)
C:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/oleacc.h:161: error: syntax error before "DISPID"
C:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/oleacc.h:163: error: `get_accParent' undeclared (first use in this function)
C:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/oleacc.h:163: error: syntax error before "IDispatch"
C:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/oleacc.h:164: error: `get_accChildCount' undeclared (first use in this function)
C:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/oleacc.h:164: error: syntax error before "long"
C:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/oleacc.h:165: error: `get_accChild' undeclared (first use in this function)
C:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/oleacc.h:165: error: syntax error before "VARIANT"
C:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/oleacc.h:166: error: `get_accName' undeclared (first use in this function)
C:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/oleacc.h:166: error: syntax error before "VARIANT"
C:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/oleacc.h:167: error: `get_accValue' undeclared (first use in this function)
C:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/oleacc.h:167: error: syntax error before "VARIANT"
C:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/oleacc.h:168: error: `get_accDescription' undeclared (first use in this function)
C:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/oleacc.h:168: error: syntax error before "VARIANT"
C:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/oleacc.h:169: error: `get_accRole' undeclared (first use in this function)
C:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/oleacc.h:169: error: syntax error before "VARIANT"
C:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/oleacc.h:170: error: `get_accState' undeclared (first use in this function)
C:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/oleacc.h:170: error: syntax error before "VARIANT"
C:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/oleacc.h:171: error: `get_accHelp' undeclared (first use in this function)
C:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/oleacc.h:171: error: syntax error before "VARIANT"
C:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/oleacc.h:172: error: `get_accHelpTopic' undeclared (first use in this function)
C:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/oleacc.h:172: error: syntax error before "BSTR"
C:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/oleacc.h:173: error: `get_accKeyboardShortcut' undeclared (first use in this function)
C:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/oleacc.h:173: error: syntax error before "VARIANT"
C:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/oleacc.h:174: error: `get_accFocus' undeclared (first use in this function)
C:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/oleacc.h:174: error: syntax error before "VARIANT"
C:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/oleacc.h:175: error: `get_accSelection' undeclared (first use in this function)
C:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/oleacc.h:175: error: syntax error before "VARIANT"
C:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/oleacc.h:176: error: `get_accDefaultAction' undeclared (first use in this function)
C:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/oleacc.h:176: error: syntax error before "VARIANT"
C:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/oleacc.h:178: error: `accSelect' undeclared (first use in this function)
C:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/oleacc.h:178: error: syntax error before "long"
C:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/oleacc.h:179: error: `accLocation' undeclared (first use in this function)
C:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/oleacc.h:179: error: syntax error before "long"
C:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/oleacc.h:180: error: `accNavigate' undeclared (first use in this function)
C:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/oleacc.h:180: error: syntax error before "long"
C:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/oleacc.h:181: error: `accHitTest' undeclared (first use in this function)
C:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/oleacc.h:181: error: syntax error before "long"
C:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/oleacc.h:182: error: `accDoDefaultAction' undeclared (first use in this function)
C:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/oleacc.h:182: error: syntax error before "VARIANT"
C:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/oleacc.h:184: error: `put_accName' undeclared (first use in this function)
C:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/oleacc.h:184: error: syntax error before "VARIANT"
C:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/oleacc.h:185: error: `put_accValue' undeclared (first use in this function)
C:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/oleacc.h:185: error: syntax error before "VARIANT"
C:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/oleacc.h: At top level:
C:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/oleacc.h:188: error: syntax error before '*' token
C:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/oleacc.h:190: error: syntax error before "AccessibleChildren"
C:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/oleacc.h:190: error: syntax error before '*' token
C:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/oleacc.h:191: error: syntax error before "AccessibleObjectFromEvent"
C:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/oleacc.h:191: error: syntax error before '*' token
C:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/oleacc.h:192: error: syntax error before "AccessibleObjectFromPoint"
C:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/oleacc.h:192: error: syntax error before '*' token
C:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/oleacc.h:193: error: syntax error before "AccessibleObjectFromWindow"
C:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/oleacc.h:193: error: syntax error before "void"
C:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/oleacc.h:194: error: syntax error before "CreateStdAccessibleObject"
C:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/oleacc.h:194: error: syntax error before "void"
C:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/oleacc.h:195: error: syntax error before "CreateStdAccessibleProxyA"
C:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/oleacc.h:195: error: syntax error before "void"
C:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/oleacc.h:196: error: syntax error before "CreateStdAccessibleProxyW"
C:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/oleacc.h:196: error: syntax error before "void"
C:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/oleacc.h:197: error: syntax error before "GetOleaccVersionInfo"
C:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/oleacc.h:197: error: syntax error before '*' token
C:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/oleacc.h:198: error: syntax error before "WINAPI"
C:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/oleacc.h:199: error: syntax error before "WINAPI"
C:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/oleacc.h:200: error: syntax error before "WINAPI"
C:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/oleacc.h:201: error: syntax error before "WINAPI"
C:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/oleacc.h:202: error: syntax error before "WINAPI"
C:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/oleacc.h:203: error: syntax error before "ObjectFromLresult"
C:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/oleacc.h:203: error: syntax error before "void"
C:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/oleacc.h:204: error: syntax error before "WindowFromAccessibleObject"
C:/MinGW/bin/../lib/gcc/mingw32/3.4.5/../../../../include/oleacc.h:204: error: syntax error before '*' token
Build error occurred, build is stopped
Time consumed: 1563  ms.  

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
MinGW-users mailing list
[hidden email]

You may change your MinGW Account Options or unsubscribe at:
https://lists.sourceforge.net/lists/listinfo/mingw-users
Reply | Threaded
Open this post in threaded view
|

Re: Syntax error in oleacc.h

sisyphus1

----- Original Message -----
From: "Aaron Cohen" <[hidden email]>
To: <[hidden email]>
Sent: Sunday, October 05, 2008 11:46 AM
Subject: [Mingw-users] Syntax error in oleacc.h


> It looks like I am unable to use the oleacc.h library due to the error  
> below. I am assuming I forgot to do something.

#include <windows.h>
#include <oleacc.h>

Cheers,
Rob

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
MinGW-users mailing list
[hidden email]

You may change your MinGW Account Options or unsubscribe at:
https://lists.sourceforge.net/lists/listinfo/mingw-users
Reply | Threaded
Open this post in threaded view
|

Re: Syntax error in oleacc.h

Aaron Cohen
That did the trick! Thanks!


On Oct 5, 2008, at 2:01 AM, Sisyphus wrote:

>
> ----- Original Message -----
> From: "Aaron Cohen" <[hidden email]>
> To: <[hidden email]>
> Sent: Sunday, October 05, 2008 11:46 AM
> Subject: [Mingw-users] Syntax error in oleacc.h
>
>
>> It looks like I am unable to use the oleacc.h library due to the  
>> error
>> below. I am assuming I forgot to do something.
>
> #include <windows.h>
> #include <oleacc.h>
>
> Cheers,
> Rob
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's  
> challenge
> Build the coolest Linux based applications with Moblin SDK & win  
> great prizes
> Grand prize is a trip for two to an Open Source event anywhere in  
> the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> MinGW-users mailing list
> [hidden email]
>
> You may change your MinGW Account Options or unsubscribe at:
> https://lists.sourceforge.net/lists/listinfo/mingw-users


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
MinGW-users mailing list
[hidden email]

You may change your MinGW Account Options or unsubscribe at:
https://lists.sourceforge.net/lists/listinfo/mingw-users