LIBRTMP Delphi:使用dll [英] LIBRTMP Delphi: use dll

查看:139
本文介绍了LIBRTMP Delphi:使用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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆