I'm writing ac# code to do : 1- get file file zipped folder. 2- add file to zipped folder. 3- if the file is Image then do compression and re-size the image with some conditions.
and its working perfectly :)
i need to put the code inside a library and build it so i can get a DLL file, and that's easy too i have no problem with it.
the problem is: how can i pass parameter to that DLL file. i need to use it like this:
<a href='myDLL.dll?image=XX&width=XX&height=XX&compression=XX' />
please help me on this.
我认为无法从html调用dll,为什么不为此使用HttpHandler ?
In order to create a dll file which can be usable by other project, you should create a new "Class Library" project. This is a specific type of a project which returns only a .dll file as a result. Then you should add this dll to your other projects in order to use the functions.
Here is more info about the topic: MSDN Class Library
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.