I am trying to import MSWORD.OLB file to my wxWidgets project.
However I get following compile errors below. Is there anything I can do to fix them?
Severity Code Description Project File Line Suppression State Details
Error (active) E0020 identifier “VBEPtr” is
undefined MyProgram D:VSProjectsMyProgramuiaction.dirReleaseMSWORD.tlh 30517
Error (active) E0020 identifier “VBEPtr” is
undefined MyProgram D:VSProjectsMyProgramuiaction.dirReleaseMSWORD.tlh 30740
Error (active) E0020 identifier “VBEPtr” is
undefined MyProgram D:VSProjectsMyProgramuiaction.dirReleaseMSWORD.tlh 31995
Error (active) E0020 identifier “VBEPtr” is
undefined MyProgram D:VSProjectsMyProgramuiaction.dirReleaseMSWORD.tlh 32048
Error (active) E0020 identifier “_VBProjectPtr” is
undefined MyProgram D:VSProjectsMyProgramuiaction.dirReleaseMSWORD.tlh 32603
Error (active) E0020 identifier “_VBProjectPtr” is
undefined MyProgram D:VSProjectsMyProgramuiaction.dirReleaseMSWORD.tlh 32994
Error (active) E0020 identifier “_VBProjectPtr” is
undefined MyProgram D:VSProjectsMyProgramuiaction.dirReleaseMSWORD.tlh 34855
Error (active) E0020 identifier “_VBProjectPtr” is
undefined MyProgram D:VSProjectsMyProgramuiaction.dirReleaseMSWORD.tlh 34909
Error (active) E0018 expected a
‘)’ MyProgram D:VSProjectsMyProgramuiaction.dirReleaseMSWORD.tlh 35513
Error (active) E0020 identifier “VBEPtr” is
undefined MyProgram D:VSProjectsMyProgramuiaction.dirReleaseMSWORD.tlh 60272
Error (active) E0020 identifier “VBEPtr” is
undefined MyProgram D:VSProjectsMyProgramuiaction.dirReleaseMSWORD.tlh 60492
Error (active) E0020 identifier “_VBProjectPtr” is
undefined MyProgram D:VSProjectsMyProgramuiaction.dirReleaseMSWORD.tlh 60663
Error (active) E0020 identifier “_VBProjectPtr” is
undefined MyProgram D:VSProjectsMyProgramuiaction.dirReleaseMSWORD.tlh 61004
Severity Code Description Project File Line Suppression State Details
Error C2059 syntax error:
‘constant’ MyProgram D:VSProjectsMyProgramuiaction.dirReleaseMSWORD.tlh 7923
Error C3646 ‘VBE’: unknown override
specifier MyProgram D:VSProjectsMyProgramuiaction.dirReleaseMSWORD.tlh 30517
Error C4430 missing type specifier – int assumed. Note: C++ does not
support
default-int MyProgram D:VSProjectsMyProgramuiaction.dirReleaseMSWORD.tlh 30517
Error C3646 ‘GetVBE’: unknown override
specifier MyProgram D:VSProjectsMyProgramuiaction.dirReleaseMSWORD.tlh 30740
Error C2059 syntax error:
‘(‘ MyProgram D:VSProjectsMyProgramuiaction.dirReleaseMSWORD.tlh 30740
Error C2238 unexpected token(s) preceding
‘;’ MyProgram D:VSProjectsMyProgramuiaction.dirReleaseMSWORD.tlh 30740
Error C3646 ‘VBE’: unknown override
specifier MyProgram D:VSProjectsMyProgramuiaction.dirReleaseMSWORD.tlh 31995
Error C4430 missing type specifier – int assumed. Note: C++ does not
support
default-int MyProgram D:VSProjectsMyProgramuiaction.dirReleaseMSWORD.tlh 31995
Error C3646 ‘GetVBE’: unknown override
specifier MyProgram D:VSProjectsMyProgramuiaction.dirReleaseMSWORD.tlh 32048
Error C2059 syntax error:
‘(‘ MyProgram D:VSProjectsMyProgramuiaction.dirReleaseMSWORD.tlh 32048
Error C2238 unexpected token(s) preceding
‘;’ MyProgram D:VSProjectsMyProgramuiaction.dirReleaseMSWORD.tlh 32048
Error C3646 ‘VBProject’: unknown override
specifier MyProgram D:VSProjectsMyProgramuiaction.dirReleaseMSWORD.tlh 32603
Error C4430 missing type specifier – int assumed. Note: C++ does not
support
default-int MyProgram D:VSProjectsMyProgramuiaction.dirReleaseMSWORD.tlh 32603
Error C3646 ‘GetVBProject’: unknown override
specifier MyProgram D:VSProjectsMyProgramuiaction.dirReleaseMSWORD.tlh 32994
Error C2059 syntax error:
‘(‘ MyProgram D:VSProjectsMyProgramuiaction.dirReleaseMSWORD.tlh 32994
Error C2238 unexpected token(s) preceding
‘;’ MyProgram D:VSProjectsMyProgramuiaction.dirReleaseMSWORD.tlh 32994
Error C3646 ‘VBProject’: unknown override
specifier MyProgram D:VSProjectsMyProgramuiaction.dirReleaseMSWORD.tlh 34855
Error C4430 missing type specifier – int assumed. Note: C++ does not
support
default-int MyProgram D:VSProjectsMyProgramuiaction.dirReleaseMSWORD.tlh 34855
Error C3646 ‘GetVBProject’: unknown override
specifier MyProgram D:VSProjectsMyProgramuiaction.dirReleaseMSWORD.tlh 34909
Error C2059 syntax error:
‘(‘ MyProgram D:VSProjectsMyProgramuiaction.dirReleaseMSWORD.tlh 34909
Error C2238 unexpected token(s) preceding
‘;’ MyProgram D:VSProjectsMyProgramuiaction.dirReleaseMSWORD.tlh 34909
Error C2146 syntax error: missing ‘)’ before identifier
‘GetHWND’ MyProgram D:VSProjectsMyProgramuiaction.dirReleaseMSWORD.tlh 35513
Error C3646 ‘GetHWND’: unknown override
specifier MyProgram D:VSProjectsMyProgramuiaction.dirReleaseMSWORD.tlh 35513
Error C2059 syntax error:
‘)’ MyProgram D:VSProjectsMyProgramuiaction.dirReleaseMSWORD.tlh 35513
Error C2238 unexpected token(s) preceding
‘;’ MyProgram D:VSProjectsMyProgramuiaction.dirReleaseMSWORD.tlh 35513
Error C2497 ‘Word::Tasks::ExitWindowsEx’: ‘implementation_key’ can
only be applied to function
declarations MyProgram D:VSProjectsMyProgramuiaction.dirReleaseMSWORD.tlh 56525
Error C2350 ‘Word::Tasks::ExitWindowsEx’ is not a static
member MyProgram D:VSProjectsMyProgramuiaction.dirReleaseMSWORD.tlh 56525
Error C2440 ‘initializing’: cannot convert from ‘initializer list’ to
‘HRESULT’ MyProgram D:VSProjectsMyProgramuiaction.dirReleaseMSWORD.tlh 56525
Error C2039 ‘GetVBE’: is not a member of
‘Word::_Application’ MyProgram D:VSProjectsMyProgramuiaction.dirReleaseMSWORD.tlh 60272
Error C4430 missing type specifier – int assumed. Note: C++ does not
support
default-int MyProgram D:VSProjectsMyProgramuiaction.dirReleaseMSWORD.tlh 60272
Error C2497 ‘VBEPtr’: ‘implementation_key’ can only be applied to
function
declarations MyProgram D:VSProjectsMyProgramuiaction.dirReleaseMSWORD.tlh 60272
Error C2146 syntax error: missing ‘;’ before identifier
‘GetVBE’ MyProgram D:VSProjectsMyProgramuiaction.dirReleaseMSWORD.tlh 60272
Error C4430 missing type specifier – int assumed. Note: C++ does not
support
default-int MyProgram D:VSProjectsMyProgramuiaction.dirReleaseMSWORD.tlh 60272
Error C2039 ‘GetVBE’: is not a member of
‘Word::_Global’ MyProgram D:VSProjectsMyProgramuiaction.dirReleaseMSWORD.tlh 60492
Error C4430 missing type specifier – int assumed. Note: C++ does not
support
default-int MyProgram D:VSProjectsMyProgramuiaction.dirReleaseMSWORD.tlh 60492
Error C2497 ‘VBEPtr’: ‘implementation_key’ can only be applied to
function
declarations MyProgram D:VSProjectsMyProgramuiaction.dirReleaseMSWORD.tlh 60492
Error C2086 ‘int Word::VBEPtr’:
redefinition MyProgram D:VSProjectsMyProgramuiaction.dirReleaseMSWORD.tlh 60492
Error C2146 syntax error: missing ‘;’ before identifier
‘GetVBE’ MyProgram D:VSProjectsMyProgramuiaction.dirReleaseMSWORD.tlh 60492
Error C4430 missing type specifier – int assumed. Note: C++ does not
support
default-int MyProgram D:VSProjectsMyProgramuiaction.dirReleaseMSWORD.tlh 60492
Error C2039 ‘GetVBProject’: is not a member of
‘Word::_Document’ MyProgram D:VSProjectsMyProgramuiaction.dirReleaseMSWORD.tlh 60663
Error C4430 missing type specifier – int assumed. Note: C++ does not
support
default-int MyProgram D:VSProjectsMyProgramuiaction.dirReleaseMSWORD.tlh 60663
Error C2497 ‘_VBProjectPtr’: ‘implementation_key’ can only be applied
to function
declarations MyProgram D:VSProjectsMyProgramuiaction.dirReleaseMSWORD.tlh 60663
Error C2146 syntax error: missing ‘;’ before identifier
‘GetVBProject’ MyProgram D:VSProjectsMyProgramuiaction.dirReleaseMSWORD.tlh 60663
Error C4430 missing type specifier – int assumed. Note: C++ does not
support
default-int MyProgram D:VSProjectsMyProgramuiaction.dirReleaseMSWORD.tlh 60663
Error C2039 ‘GetVBProject’: is not a member of
‘Word::Template’ MyProgram D:VSProjectsMyProgramuiaction.dirReleaseMSWORD.tlh 61004
Error C4430 missing type specifier – int assumed. Note: C++ does not
support
default-int MyProgram D:VSProjectsMyProgramuiaction.dirReleaseMSWORD.tlh 61004
Error C2497 ‘_VBProjectPtr’: ‘implementation_key’ can only be applied
to function
declarations MyProgram D:VSProjectsMyProgramuiaction.dirReleaseMSWORD.tlh 61004
Error C2086 ‘int Word::_VBProjectPtr’:
redefinition MyProgram D:VSProjectsMyProgramuiaction.dirReleaseMSWORD.tlh 61004
Error C2146 syntax error: missing ‘;’ before identifier
‘GetVBProject’ MyProgram D:VSProjectsMyProgramuiaction.dirReleaseMSWORD.tlh 61004
Error C4430 missing type specifier – int assumed. Note: C++ does not
support
default-int MyProgram D:VSProjectsMyProgramuiaction.dirReleaseMSWORD.tlh 61004
Error C2589 ‘(‘: illegal token on right side of
‘::’ MyProgram D:VSProjectsMyProgramuiaction.dirReleaseMSWORD.tlh 61140
Error C2062 type ‘unknown-type’
unexpected MyProgram D:VSProjectsMyProgramuiaction.dirReleaseMSWORD.tlh 61140
Error C2059 syntax error:
‘)’ MyProgram D:VSProjectsMyProgramuiaction.dirReleaseMSWORD.tlh 61140