[Solved] XCountable.hpp

Discussions about using 3rd party extension with OpenOffice.org
Post Reply
Iain44
Posts: 12
Joined: Fri Sep 05, 2014 8:55 pm

[Solved] XCountable.hpp

Post by Iain44 »

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.
Last edited by Hagar Delest on Tue Dec 23, 2014 10:34 pm, edited 1 time in total.
Reason: tagged [Solved].
OpenOffice 4.1 on Windows 7
Iain44
Posts: 12
Joined: Fri Sep 05, 2014 8:55 pm

Re: XCountable.hpp

Post by Iain44 »

Iain44 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?
Use the XCountable.idl file in <sdk>\examples\cpp\counter 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'
:-)
OpenOffice 4.1 on Windows 7
Post Reply