Date: prev next · Thread: first prev next last
2011 Archives by date, by thread · List index


Hi Peter,

Peter J. Puchyr schrieb:
Thanks, Regina, for your reply.  The information was helpful.

Unfortunately, this "totally outdated" function is actually necessary.

I have developed a dll to be called from Basic.  The dll must be
declared in a Basic Declare statement, and that statement requires
that the name of the dll be enclosed in quotations.   If I hard code
the full pathname to the dll in the Declare statement, it all works fine.

The problem is that my client has international offices, and I have no
idea what the path on any given engineer's machine will be.  I know the
name of the dll file itself, and one of the user inputs in the spreadsheet
is
selection of the path to the dll, which is then stored in Basic as a
variable.   By setting the directory using the ChDir statement, the
dll is found and all works well.

As I understand it, the Declare statement cannot use a variable for the
library name.   Hence the need for the ChDir.

The alternative of forcing the clients to put the dll somewhere in the
search
path is not acceptable.   The clients are engineers without administrator
privileges.

I'm not sure what you mean by "totally outdated".  Is there some
alternative?

A lot of things are done nowadays using UNO. But dll is a special case, so you should ask in dev@api.openoffice.org.

kind regards
Regina

--
Unsubscribe instructions: E-mail to users+help@libreoffice.org
Posting guidelines + more: http://wiki.documentfoundation.org/Netiquette
List archive: http://listarchives.libreoffice.org/www/users/
All messages sent to this list will be publicly archived and cannot be deleted

Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.