Hi,
xutuan Zhang wrote:
--- Stephan Bergmann <[EMAIL PROTECTED]> wrote:
.
.
.
file:///home/chatter/OpenOffice.org1.1.4/user/uno_packages/cache/services.rdb:
failed! (cannot register implementation: cannot get uno
environments!)!
This error message suggests that your
componet_getImplementationEnvironment function is not implemented
properly. See the Devloper's Guide for details.
Oh, thanks for mentioning. I didn't put an effort on checking this
function.. I thought the code is correct because it works fine on
Windows. I guess I will have to re-read developer's Guide again (FYI:
there is little information re C++), at the meantime, can you expalin
why the code works on Windows and not on Linux and Solaris.
an implementation can look like this:
extern "C" void SAL_CALL component_getImplementationEnvironment(
char const ** envTypeName, uno_Environment **)
{
*envTypeName = CPPU_CURRENT_LANGUAGE_BINDING_NAME;
}
You should check your compiler defines
Windows:
cl -c -GX -MT -I... -DWIN32 -DWNT -DCPPU_ENV=msci ...
Linux:
gcc -c -O -fpic -I... -DUNX -DGCC -DLINUX -DCPPU_ENV=gcc3 ...
Juergen
Thanks,
Xutuan
___________________________________________________________
How much free photo storage do you get? Store your holiday
snaps for FREE with Yahoo! Photos http://uk.photos.yahoo.com
---------------------------------------------------------------------
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]