[Solved] XCountable.hpp

Discussions about using 3rd party extension with OpenOffice.org

[Solved] XCountable.hpp

Postby Iain44 » Fri Dec 12, 2014 1:32 am

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

Postby Iain44 » Tue Dec 23, 2014 5:51 pm

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
Iain44
 
Posts: 12
Joined: Fri Sep 05, 2014 8:55 pm


Return to Extensions

Who is online

Users browsing this forum: No registered users and 1 guest