Hi Rick,

rick cameron escribió:
"Ariel Constenla-Haile" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED]
Hi Rick,

rick cameron escribió:
Hi

I'm an absolute newbie at programming against the OOo SDK. I am looking at
the office_connect.cxx sample from the Professional UNO section of the
developer's guide, and trying to build it in Visual C++ 2005.

There is a #include of TypeClass.hdl but this file isn't in C:\Program
Files\OpenOffice.org_2.4_SDK. Where do I find it?
You must dump the headers from the office's type library, using the tool
that comes with the SDK: cppumaker (in SDK\windows\bin\cppumaker.exe).

[detailed instructions removed - see the general development ML/NG]
Regards
Ariel.


--
Ariel Constenla-Haile
La Plata, Argentina


Hi, Ariel

When I run cppumaker I get this error:

cppumaker.exe : init registries failed, check your registry files.

Any ideas?


Sounds like it can't find the office installation. Before running cppumaker.exe you must set the SDK environment. Did you set your dev. environment running C:\Program Files\OpenOffice.org2.4_SDK\setsdkenv_windows.bat ?

Every time you want to use any of the SDK tools, or compile any of its examples, you MUST *first* set the environment.


> cd C:\Program Files\OpenOffice.org2.4_SDK
> setsdkenv_windows.bat
> cd windows\bin
> ...

Tell me if this solves the problem.

Regards
Ariel.



--
Ariel Constenla-Haile
La Plata, Argentina

[EMAIL PROTECTED]
[EMAIL PROTECTED]

http://www.ArielConstenlaHaile.com.ar/ooo/



"Aus der Kriegsschule des Lebens
                - Was mich nicht umbringt,
        macht mich härter."
                Nietzsche Götzendämmerung, Sprüche und Pfeile, 8.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to