Hi,
xutuan Zhang wrote:
Dear Jürgen,
[I'm writing Add-ins for Calc using C++, but having problems register
my Add-in under linux. ]
In your email When you said:
4a. Client applications
C++: rename your application with leading "_", copy unoapploader
binary in the same directory and rename it to your original
application name
If I have an add-in, e.g., MyAddin.uno.so and MyAddin.uno.rdb, do you
mean I should rename them to _MyAddin.uno.so and _MyAddin.rdb?
no, sorry for the confusion. This step is onyl necessary when you
develop a cleint application which uses a remote connection to a running
office. It is not necessary for components.
What do you mean by "unoapploader binary"? Should I copy it over and
rename it to, say, "MyAddin"?
It is a loader helper application in the SDK\<platform>\bin directory.
You would start the renamed helper application, which ensures that your
application is started with the appropriate environment. The default
office is found and started automatically ...
Juergen
4b. UNO components
zip all necessary files into a zip file with the extension
*.uno.pkg,
create a manifest.xml with the appropriate entries
For details of UNO packages see the Developers Guide or ask me again.
Do I need "manifest.xml" if my addin is written in C++?
My package has the following structure now:
+MyAddinPkg.zip
|-- MyAddin.uno.so
|-- MyAddin.uno.rdb
(and it works under Windows XP/OOo 1.1.4/SDK 1.1.0 and latest snapshot
builds)
From your email, I got that I should have it like:
+MyAddin.uno.pkg
|-- _MyAddin.uno.so
|-- _MyAddin.uno.rdb
|-- MyAddin (renamed from so-called "unoapploader binary")
Thank you very much indeed. I look forward to your reply.
Best Regards,
Xutuan
___________________________________________________________
Yahoo! Messenger - NEW crystal clear PC to PC calling worldwide with voicemail http://uk.messenger.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]