Macro encryption different in between 4.2 and 5.1

SOS sos at pmg.be
Tue Jul 12 06:57:11 UTC 2016


sorry i mixed up the situation
extension *Build in 4.2 and used in 5.1*:
must be:
extension *Build in 5.1 and used in 4.2*: the functions and Sub's in the 
libraries are not available,  its only after opening the library  
"manualy" and after entering the password that make the functions and 
the sub's available in memory.
Build in 4.2 and used in 5.1 gives no problems

greetz
Fernand
On 11/07/2016 17:05, SOS wrote:
> A extension made with password protected Basic Libraries using LO 5.1  
> do not "load" properly the libraries under LO 4.2
>
> We load a  password protected library using the folowing code.
> If (Not GlobalScope.BasicLibraries.isLibraryLoaded("DbUtils")) Then
> GlobalScope.BasicLibraries.LoadLibrary("DbUtils")
> End If
> extension Build and used in 4.2  makes all functions and sub's 
> available in memory.
> extension Build and used in 5.1  makes all functions and sub's 
> available in memory.
> extension Build in 4.2 and used in 5.1: the functions and Sub's in the 
> libraries are not available,  its only after opening the library  
> "manualy" and after entering the password that make the functions and 
> the sub's available in memory.
>
> The extensions are build under Windows
> There is a difference in size between the extension build in 5.1 and 4.2
> 5.1 gives 69 KB
> 4.2 gives 67 KB
> There is no error after 
> "GlobalScope.BasicLibraries.LoadLibrary("DbUtils")
> once the librarie is opened with the password, then 
> "GlobalScope.BasicLibraries.LoadLibrary("DbUtils")"  is working fine 
> even after closing LO !!!!!!
>
> Can someone confirm this behavior and sould i filled a issue ?
>
> Thanks
>
> Fernand
>
> _______________________________________________
> LibreOffice mailing list
> LibreOffice at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/libreoffice

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice/attachments/20160712/beaed714/attachment.html>


More information about the LibreOffice mailing list