[fpc-pascal] File Descriptor in Windows ?

fredvs fiens at hotmail.com
Sun Mar 22 21:28:13 CET 2015


Yep, there is a answer from mpg123 creator in forum list ;-) =>

>> In Linux, no problem, i use the Input-Handle of a pipe as file
>> descriptor.
>> => mpg123_open_fd(MyMP123Handle, InputHandle)
>> But if using Input-Handle of a pipe in Windows, at mpg123_read() i get
>> that error:
>> MPG123_BAD_RVA
>> 
>> What does it mean ?

> Are you mixing C runtimes? A libmpg123 DLL from MinGW and your code built
> with Visual C?
> I reckon that those file descriptors may not be compatible. I don't have a
> Windows system running myself.

Ok, conclusion of the story => fpc is perfect and not the guilty  ;-)

Now, i have to make that descriptors compatible. ;-(

Many thanks.

Fre;D





-----
Many thanks ;-)
--
View this message in context: http://free-pascal-general.1045716.n5.nabble.com/File-Descriptor-in-Windows-tp5721448p5721467.html
Sent from the Free Pascal - General mailing list archive at Nabble.com.



More information about the fpc-pascal mailing list