LB Booster
« Windows 10 issue »

Welcome Guest. Please Login or Register.
Apr 1st, 2018, 04:05am



ATTENTION MEMBERS: Conforums will be closing it doors and discontinuing its service on April 15, 2018.
We apologize Conforums does not have any export functions to migrate data.
Ad-Free has been deactivated. Outstanding Ad-Free credits will be reimbursed to respective payment methods.

Thank you Conforums members.
Speed up Liberty BASIC programs by up to ten times!
Compile Liberty BASIC programs to compact, standalone executables!
Overcome many of Liberty BASIC's bugs and limitations!
LB Booster Resources
LB Booster documentation
LB Booster Home Page
LB Booster technical Wiki
Just BASIC forum
BBC BASIC Home Page
Liberty BASIC forum (the original)

« Previous Topic | Next Topic »
Pages: 1  Notify Send Topic Print
 thread  Author  Topic: Windows 10 issue  (Read 597 times)
Hans
New Member
Image


member is offline

Avatar




PM

Gender: Male
Posts: 31
xx 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
User IP Logged

Richard Russell
Administrator
ImageImageImageImageImage


member is offline

Avatar




Homepage PM


Posts: 1348
xx 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.
User IP Logged

Hans
New Member
Image


member is offline

Avatar




PM

Gender: Male
Posts: 31
xx 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
User IP Logged

Richard Russell
Administrator
ImageImageImageImageImage


member is offline

Avatar




Homepage PM


Posts: 1348
xx 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.
« Last Edit: Dec 17th, 2016, 2:59pm by Richard Russell » User IP Logged

Pages: 1  Notify Send Topic Print
« Previous Topic | Next Topic »

| |

This forum powered for FREE by Conforums ©
Terms of Service | Privacy Policy | Conforums Support | Parental Controls