从 PHP joomla 访问 *dll
我有一个控制图片文件大小的 *.dll。它包含一个简单的函数:
CopyPic (PChar: inFileName, outFileName: PChar, MaxSize: Int, MaxWidth: int, MaxHeight: int)
...并返回一个 int 用于错误检查。
我需要从 PHP 代码访问它。我希望它通过 Java 运行。
I have a *.dll that controls picture file sizes. It contains a simple function:
CopyPic (PChar: inFileName, outFileName: PChar, MaxSize: Int, MaxWidth: int, MaxHeight: int)
...and returns an int for error checking.
I need to access it from PHP code. I would it run through Java.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我相信你已经把这一切搞混了。
但无论如何,请查看
http://php.net/manual/en/function。 system.php
http://support.microsoft.com/kb/164787
I believe you have mixed it all up.
But anyway, take a look at
http://php.net/manual/en/function.system.php
http://support.microsoft.com/kb/164787
看看这个。从未使用过它,但其他人报告成功...
编辑您也可以使用.NET 和/或 COM< /a> 虽然不要问我怎么...
Check this out. Never used it but other people have reported success...
EDIT You can also probably do it with .NET and/or COM although don't ask me how...