Actually prior to these errors, I've had this error : "Could not find 16-bit type, add support for your architecture."
I then added: #define WNT #define CPPU_ENV msci I hope this is the right way to solve that error. And then i'm stuck again. > From: shaun...@hotmail.com > To: dev@openoffice.org > Date: Wed, 5 Aug 2009 15:21:21 +0800 > Subject: [dev] Compile errors for OpenOffice SDK example > > > Hi all, > I'm not sure if this is the right forum to ask this, do help me redirect if > this is the wrong place. My problem is as follows: > I am trying to configure OpenOffice SDK 3.1.0 on Windows XP on VS2008 C++ > with OpenOffice 3.0.1 installed. I've managed to run cppumaker and it made > all the include files in cppinclude. However, when i tried to compile the > documentloader example, I've have numerous compile errors(26) in type.h such > as syntax errors, missing ')', ';' etc. There are also errors in any.h like > missing type specifier -int assumed: C++ does not support default-int, > 'TypeClass' undeclared identifier. And type.hxx errors like {ctor} member > function redelclaration not allowed and '_pType' : function-style initializer > appears to be a function definition. I've also got tons of warnings(358) from > reference.h with C+ exception specification ignored except to indicate a > function is not __delspec(nothrow). > > How can I compile and use UNO? Am i missing some other configuration? > > Thanks in advance. > > Cheers,Wei Min > > _________________________________________________________________ > See all the ways you can stay connected to friends and family > http://www.microsoft.com/windows/windowslive/default.aspx _________________________________________________________________ What can you do with the new Windows Live? Find out http://www.microsoft.com/windows/windowslive/default.aspx