[PD] readanysf for windows? (again)

Hans-Christoph Steiner hans at at.or.at
Fri Apr 29 20:46:15 CEST 2011


On Apr 29, 2011, at 11:12 AM, Patrice Colet wrote:

>
> ----- "august" <august at alien.mur.at> a écrit :
>
>>>> I've attached the dll if someone (matteo?) wants to try
>>>
>>> Wow great! Of course I will try it and even stress it a little bit
>> :)
>>
>> yes, please stress it extensively.
>>
>> Patrice, was it just one .mp3 file that couldn't play  or do no mp3
>> files play at all?  If not, maybe you are missing libmad.
>>
>> Also, it shouldn't crash even if the library is missing.  Any way you
>> can run it through gdb and see where it did crash?
>
> any mp3 crashes
>
> here is the message I get when it crashes:
>
> Program received signal SIGSEGV, Segmentation fault.
> [Switching to Thread 7728.0x154c]
> 0x039760f3 in libiconv () from c:\MinGW\bin\libiconv-2.dll
> (gdb) BFD: C:\Windows\SysWOW64\AUDIOKSE.dll: Warning: Ignoring  
> section flag IMAGE_SCN_MEM_NOT_PAGE
>
> do you want an archive containing all needed DLL's?
>
> I couldn't get a linker option that would ignore missing ones
> -- 
> Patrice Colet

Sounds like SetDllDirectory() is the function needed here, it works  
starting with XP SP1:

http://msdn.microsoft.com/en-us/library/ms686203(v=vs.85).aspx

This thing about DLL search order is useful too:
http://msdn.microsoft.com/en-us/library/ms682586(v=vs.85).aspx

.hc


----------------------------------------------------------------------------

News is what people want to keep hidden and everything else is  
publicity.          - Bill Moyers





More information about the Pd-list mailing list