LIBRTMP Delphi:使用dll [英] LIBRTMP Delphi: use dll
问题描述
我之前的任务是将rtmp流从服务器加载并保存到您的计算机。在浏览互联网时,我得出的结论是,必须使用库 LIBRTMP 。我在Delphi XE2中工作,并且在此页面中找到的唯一合适的代码 Pascal页面上的销售。
我在将此代码转换为delphi的可用形式,因为类型 cint
, pcchar
等类型我不认识。
我不使用C或C ++,不能给我指导工作的方向,还是解决这个问题更容易?
I have before me the task of loading and saving rtmp stream from the server to your computer. Exploring the internet, I came to the conclusion that it is necessary to use the library LIBRTMP. I work in Delphi XE2 and the only appropriate code I found on this page and sales on Pascal page.
I am having difficulties with the translation of this code into a usable form for delp because types cint
, pcchar
and etc I did not recognize.
I do not work with C or C + +, could you give me directions to work, or it's easier to solve this problem?
推荐答案
您可以使用以下代码在Delphi中映射这些类型:
You can map those types in Delphi using following code:
Type
cint = longint;
cchar = shortint;
pcchar = ^cchar;
并尝试重新编译代码。
这篇关于LIBRTMP Delphi:使用dll的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!