开发者

accessing a *dll from PHP joomla

开发者 https://www.devze.com 2023-04-01 21:34 出处:网络
I have a *.dll that controls picture file sizes. 开发者_如何转开发It contains a simple function:

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.


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


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...

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号