Trying to understand: https://wiki.openoffice.org/wiki/Constr ... Components
I have files counter.hxx (listing 2), counter.cxx (lising 9) and countermain.cxx (listing 4) as given on that page.
Intellisense (MS 2013) shows --> #include <foo/XCountable.hpp> -->
IntelliSense: cannot open source file "foo/XCountable.hpp" c:\....\counter.cxx [line] 42
Where is this "foo"? Is it something to do with an idl file?
Thanks.
[Solved] XCountable.hpp
[Solved] XCountable.hpp
Last edited by Hagar Delest on Tue Dec 23, 2014 10:34 pm, edited 1 time in total.
Reason: tagged [Solved].
Reason: tagged [Solved].
OpenOffice 4.1 on Windows 7
Re: XCountable.hpp
Use the XCountable.idl file in <sdk>\examples\cpp\counter fileIain44 wrote: Trying to understand: https://wiki.openoffice.org/wiki/Constr ... Components
Intellisense (MS 2013) shows --> #include <foo/XCountable.hpp> -->
IntelliSense: cannot open source file "foo/XCountable.hpp" c:\....\counter.cxx [line] 42
Where is this "foo"? Is it something to do with an idl file?
Create a urd file:
idlc -I"<sdk>\idl" XCountable.idl
copy 'types.rdb' to local folder
regmerge types.rdb /UCR XCountable.urd
cppumaker -O. -Tfoo/XCountable -BUCR types.rdb
generates foo/XCountable.hpp
Add path to 'foo/XCountable' in 'VC++ Directories/Include Directories'
Add libraries to 'linker/input'
![Smile :-)](./images/smilies/icon_smile.gif)
OpenOffice 4.1 on Windows 7