LigH
20th December 2001, 20:21
Dear friends,
I'm trying hard to use the AZID.DLL in an own Delphi program. But I get very strange problems, so I hope someone has much experience in both C and Delphi and can give me good hints how to solve them.
As far as I found out, "cdecl" calling mode is required, and the "int" fields in the ac3opts record really are longint wide. Now my problem is the callback function in ac3_readframe: The buffer address is not the same as the address of the allocated buffer, instead it jumps around like crazy but each time seems to request 1 byte. On request I could give you more details - but please announce private help first, I don't want to discuss every detail here.
I'm trying hard to use the AZID.DLL in an own Delphi program. But I get very strange problems, so I hope someone has much experience in both C and Delphi and can give me good hints how to solve them.
As far as I found out, "cdecl" calling mode is required, and the "int" fields in the ac3opts record really are longint wide. Now my problem is the callback function in ac3_readframe: The buffer address is not the same as the address of the allocated buffer, instead it jumps around like crazy but each time seems to request 1 byte. On request I could give you more details - but please announce private help first, I don't want to discuss every detail here.