Yan Wu wrote: > Hello Andreas, > > After I run "build debug=t" for module basic,then copy > sb680mi.dll,sb680mi.pdb to the directory <OFFICE_INSTALL>/program/. Now > the swriter.exe,scalc.exec,sdraw.exe cant be loaded any more. If I build > it without debug=t,there would be no such problem. Currently I dont know > why and cant debug down to SbxValue::PutString().
It's not the exe files that are in trouble, the libraries of our applications don't load as they have a missing symbol. You must rebuild them. The reason why this happens most often is that the Microsoft compiler often does not inline some "inline" methods, at least not with the optimization switches we are using. These methods then get compiled as "normal" functions that are exported as all other symbols in the library. This seems to have happened for the sb library. If some of these methods are used in e.g. Writer, it then has a reference to that symbol in the sb-library. For whatever reason the Microsoft compiler decides to inline these methods when the library it built with debug=t and so without any optimization. If the methods now is treated as "inline" it is no longer exported. Now Writer has a missing symbol. Ciao, Mathias -- Mathias Bauer (mba) - Project Lead OpenOffice.org Writer OpenOffice.org Engineering at Sun: http://blogs.sun.com/GullFOSS Please don't reply to "[EMAIL PROTECTED]". I use it for the OOo lists and only rarely read other mails sent to it. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]