.dll portaudio bug import on win

Just starting out? Need help? Post your questions and find answers here.
det_uio
User
User
Posts: 14
Joined: Wed Jul 30, 2025 8:16 am

.dll portaudio bug import on win

Post by det_uio »

Hello,

I get this error with windows . (It is ok with MacOs, see https://www.purebasic.fr/french/viewtopic.php?t=19391)

From this line :
ImportC "C:|Users\detro\Downloads\portaudio_sndfile\portaudio-19.7.0\build\msvc|x64\Release\portaudio_x64.dl]"

I get
error:
C:\Users\detro\Downloads\portaudio sndfile\portaudio-19.7.0\build\m
svc\x64\Release\portaudio_x64.dll: bad file type. Did you specify a DLL instead of an import library?

It has been compiled with visual studio and works fine in a c programme.

// Edit: Changed font size; Moved from "Bugs - Windows" to "Coding Questions" (Kiffi)
Fred
Administrator
Administrator
Posts: 18162
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Re: .dll portaudio bug import on win

Post by Fred »

you need to use the .lib, not the .dll.
det_uio
User
User
Posts: 14
Joined: Wed Jul 30, 2025 8:16 am

Re: .dll portaudio bug import on win

Post by det_uio »

Thanks

:D
Post Reply