dll wont open

Just starting out? Need help? Post your questions and find answers here.
adi_online
New User
New User
Posts: 1
Joined: Thu Apr 25, 2024 12:45 pm

dll wont open

Post by adi_online »

Hi everyone,
I want to access a dll (librtlsdr.dll) using openlibrary. However when i try to it fails to give me a handle. I have tried accessing other dll's and they work fine. I thought it might be a corrupted file or wrong version. I have tried different rtl-sdr dll and i get the same error. Could someone explain what I am doing wrong here:

a simple one liner: libNo.i=OpenLibrary(#PB_Any,"d:\librtlsdr.dll")


Thanks
User avatar
jacdelad
Addict
Addict
Posts: 2032
Joined: Wed Feb 03, 2021 12:46 pm
Location: Riesa

Re: dll wont open

Post by jacdelad »

Where do I get this dll?
Have you counter checked if it's for the right architecture (x86 vs x64)?
Which PB version? Windows version?
Good morning, that's a nice tnetennba!

PureBasic 6.21/Windows 11 x64/Ryzen 7900X/32GB RAM/3TB SSD
Synology DS1821+/DX517, 130.9TB+50.8TB+2TB SSD
Post Reply