newlisp.dll in windows 10 load error

Q&A's, tips, howto's

newlisp.dll in windows 10 load error

Postby HPW » Mon Nov 23, 2015 7:08 pm

Hello,

I noticed that some of my apps using newlisp.dll throw an error running under win 10.

After getting access to win 10 on my sons laptop I dig into the problem and find the reason:

Doing this pascal-code in my delphi host app does give trouble under win 10:
Code: Select all
DllHandle := LoadLibrary( Pchar( 'newlisp.dll' ));


Giving only the dll-name let the system search in the search-hierachy of windows.
This works on all windows before windows 10.
Because of security concerns MS seems to block now this loading.

The workaround/solution here is to give a full path and filename to LoadLibrary.
So I load the dll now from the same directory as the host-exe.

Regards

Hans-Peter
Hans-Peter
HPW
 
Posts: 1352
Joined: Thu Sep 26, 2002 9:15 am
Location: Germany

Return to newLISP in the real world

Who is online

Users browsing this forum: No registered users and 2 guests

cron