开发者

Silverlight marshalling DLLs and cross platform / cross browser?

开发者 https://www.devze.com 2022-12-13 12:25 出处:网络
We have a DLL that is written in C , I beleive. Currently, we have a windows application that allows a user to select some files and then pass the files (an array of file names from the file system) t

We have a DLL that is written in C , I beleive. Currently, we have a windows application that allows a user to select some files and then pass the files (an array of file names from the file system) to the DLL to be processed. We would like to have the application be an add-in to IE or FireFox , run on a MAC or PC, and sill allow us to marshal the DLL开发者_C百科. Would silverlight work for this situation or will the DLL need to be coded for other platforms.


I am pretty sure you won't be able to use silverlight for this. Simply because of the security model. You can do the file-picker thing no problem from silverlight, but I am pretty sure you can not P/Invoke.

see this article on Dr. Dobbs

0

精彩评论

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

关注公众号