Author |
Topic: Windows 10 issue (Read 596 times) |
|
Hans
New Member
member is offline
Gender:
Posts: 31
|
|
Windows 10 issue
« Thread started on: Dec 16th, 2016, 12:49pm » |
|
I have many programs using DLL's. Since I have Windows 10 on my PC once in a while I get the message: "No such DLL function xxx at line yyy" and the program is terminated. xxx and yyy vary according to which program I run. I get this message while running, not while compiling. It looks like a message of LBB, not from Windows itself. When I restart my computer all works OK again. It never occured using Windows 8 and does not occure on my windows 7 laptop.
I am afraid it will be difficult to track down the cause. So far I could not find a pattern in the occurence. Hope somebody has a clue.
Hans
|
|
Logged
|
|
|
|
Richard Russell
Administrator
member is offline
Posts: 1348
|
|
Re: Windows 10 issue
« Reply #1 on: Dec 16th, 2016, 2:29pm » |
|
on Dec 16th, 2016, 12:49pm, Hans wrote:Hope somebody has a clue. |
|
Are these 'system' DLLs, i.e. ones that are supplied as standard with Windows, or are they 'custom' DLLs that you have installed specifically for your application?
If they are standard Windows DLLs this definitely should not happen, and it would likely point to some problem with your particular PC I'm afraid. If they are DLLs you have downloaded, the most likely cause is that they are not being found at run time. You should check that they are stored in a suitable place.
In recent versions of Windows the rules governing where an application searches for DLLs are complicated. You can read this MSDN article for more information.
Normally, it should be safe to store the DLL(s) in the directory where your compiled BASIC program (.exe) is stored.
LBB simply calls the LoadLibrary API function. It is very unlikely that LBB is in any way responsible for the problem.
Richard.
|
|
Logged
|
|
|
|
Hans
New Member
member is offline
Gender:
Posts: 31
|
|
Re: Windows 10 issue
« Reply #2 on: Dec 17th, 2016, 1:52pm » |
|
These are not system DLLs, but, among others, cheetah2.dll and msghook.dll. They normaly work fine in LBB, like so since I restarted my PC yesterday. What I forgot to tell, the problem does not occure in LB4.5.
The DLLs haven't changed in years and reside on the same location for many years, never causing problems.
Hans
|
|
Logged
|
|
|
|
Richard Russell
Administrator
member is offline
Posts: 1348
|
|
Re: Windows 10 issue
« Reply #3 on: Dec 17th, 2016, 2:37pm » |
|
on Dec 17th, 2016, 1:52pm, Hans wrote:the problem does not occure in LB4.5. |
|
In that case you have a solution: use LB 4.5!
Do you have a virus scanner program? They can sometimes be responsible for this kind of problem. You could try disabling the virus scanner to see if it makes a difference. Personally I am happy to use only the standard Windows Defender in Windows 10.
Richard.
|
|
|
|
|