Trouble calling a DLL
Posted: Fri May 25, 2018 9:20 pm
I am writing a program using Liberty Basic and thought I'd see how things might be using LBB.
Here is a snippet of code....
Open "IsFile32.dll" For DLL As #ff
CallDLL #ff, "IsFile",temp$ As ptr, result As long
close #ff
I get an error code when I try and run the program, saying that the DLL is not available. I put the IsFile32.dll in the same folder as the LBB application. So not sure what the problem happens to be.
Any help would be appreciated.
Milfredo
Here is a snippet of code....
Open "IsFile32.dll" For DLL As #ff
CallDLL #ff, "IsFile",temp$ As ptr, result As long
close #ff
I get an error code when I try and run the program, saying that the DLL is not available. I put the IsFile32.dll in the same folder as the LBB application. So not sure what the problem happens to be.
Any help would be appreciated.
Milfredo