简体   繁体   中英

How to let java applet download file

I am new to Java Applets.

I have the following situation: the client asks for a Java Applet to do Function1, i already have this Function1 developed and tested but in C#. so i say that i can use my C# dlls in Java applet.

I already tried to use UnmanagedExports and it works fine with simple cases, but i faced a problem when i have dependencies for the dll that is called from Java Applet . the problem is that Java Applet crashes when the dll have any dependencies and i did not find any solution for this case.

My Questions are:

1- How to solve dependencies problem using UnmanagedExports?

2- If no solution for problem 1, what is the best approach that i should use to complete this task.

I think that Java Applets can setup an application on client PC, this application can run on a standalone app context (this application will be ac# application that can perform the task on the background and gives the feedback to the Java Applet). Is this possible?

要回答您的第一个问题,请尝试使用Dependency Walker来解析特定 DLL 的依赖项。

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.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM