Thanks to any and all who attempted to solve this. Please consider the issue closed. I switched computer recently and made the mistake of not regenerating (or copying over) the complete types.rdb file from idl specs.
Happy Holidays! --Tai --- On Tue, 11/25/08, Tai Vo <[EMAIL PROTECTED]> wrote: > From: Tai Vo <[EMAIL PROTECTED]> > Subject: [dev] MS Word 2007 docx with OOo SDK 3.0 > To: dev@openoffice.org > Date: Tuesday, November 25, 2008, 4:41 PM > Hi all, > I'm attempting to load a Word 2007 document using > XComponentLoader::loadComponentFromURL(). The following > line of code resulted in an unhandled exception in Visual > C++ Pro 2005. > > Reference< XComponent > rMyDoc= > rCompLoader->loadComponentFromURL(myUrl, > frame, 0, loadProperties); > > This is the message that comes in a Visual Studio dialog > box: > "Unhandled exception at 0x000000b8 in myprog.exe: > 0xC0000005: Access violation reading location > 0x000000b8." > > I have wrapped this code in a try{} block that has a > catch(...) clause, but VS2005 just complains about the > exception without moving on to that handler. > > The code works just fine when I open other document types > like word 97, ODT, RTF, etc. As for the loadProperties, > I've tried both with and without FilterName = > "writer_MS_Word_2007", the result is the same > unhandled exception. > > I'm new to OOo development with the SDK 3.0rc4 and can > really use some pointers in the right direction. Note that > I have OOo 3.0 install and have confirmed that swriter can > open a word 2007 docx document. I'm just not able to do > that via UNO. Looking forward to your input. Thanks! > > --Tai > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]