Hi,

We have a command line service which uses the HASP libraries

dim file as folderitem = app.ExecutableFile.Parent.Child(filename)

if file<>nil then
  app.debugmessage(file.NativePath+" "+str(file.Exists))
else
  app.debugmessage("HASP File is NIL")
end if

dim ok as boolean = HASPHLDMBS.LoadLibrary(file)

ok returns true always on PC
ok returns true directly when compiled

However, after I code sign the files (Frameworks, hasp.dylib then executable) 
ok returns false.

Annoyingly there is no error in system log regarding gatekeeper failing or the 
reason, that I can see.

ok returns true is the HASP dylibs is code signed only. i.e. it only goes wrong 
after the main executable is code signed.

This is the executable code sign I use (with and without --deep)
codesign --timestamp -o runtime -f -s "Developer ID Application: Bodoni Systems 
Ltd" /path/to/executable

As far as I can see, the executable is signed properly, because I can embed it 
into an installer and Notarize it.

In fact it all runs perfectly, except for  HASPHLDMBS.LoadLibrary(file) returns 
false.

Anyone got an idea what is wrong?

Regards,

Lee


_______________________________________________
mbsplugins@monkeybreadsoftware.info mailing list
%(list_address)s
https://ml-cgn08.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info

Reply via email to