| |

VerySource

 Forgot password?
 Register
Search
Author: humphrey

java how to call vb dll

[Copy link]

0

Threads

23

Posts

17.00

Credits

Newbie

Rank: 1

Credits
17.00

 China

Post time: 2020-6-25 09:15:01
| Show all posts
JNI technology, and not just a dll file can be called, this dll file must be written according to the header file generated by the java class through the javah command.
Reply

Use magic Report

0

Threads

21

Posts

19.00

Credits

Newbie

Rank: 1

Credits
19.00

 China

Post time: 2020-6-30 11:15:01
| Show all posts
The only normal way:

Use c/c++ to write a jni that calls vb dll

Crooked idea:

To study the rundll32.exe program, you can call the functions in the dll from the command line.

For example, rundll32 user.exe, exitwindows can be shut down in 98
Reply

Use magic Report

1

Threads

6

Posts

7.00

Credits

Newbie

Rank: 1

Credits
7.00

 China

 Author| Post time: 2020-7-9 10:00:01
| Show all posts
I have seen some of the process upstairs. I have generated some header files through javah, and then generated dlls.This is correct for c/c++ dll generation.
I will ask the question because when I encounter a vb dll, the process of generating the header file is impossible to start, can I understand it? I don’t know any way to call vb dll other than Jacob? I also hope to understand the process clearly ,Thank you!
Reply

Use magic Report

You have to log in before you can reply Login | Register

Points Rules

Contact us|Archive|Mobile|CopyRight © 2008-2023|verysource.com ( 京ICP备17048824号-1 )

Quick Reply To Top Return to the list