The problem of generating 64-bit dll for 32-bit projects in vs

In

vs, there was a problem generating 64-bit dll from a 32-bit cPP project.
Web solutions usually change the solution platform to x64, but because the 32-bit dll library is called in this project, changing the project environment to 64-bit won"t work.
so, is there a way to generate 64-bit dll? from a 32-bit project without modifying the project environment?

ask something about jni:
because you need to use jni technology, you try to generate a 64-bit dll file from a 32-bit project. Is there an alternative?

Aug.16,2021

64-bit programs cannot call 32-bit dll,32-bit programs or 64-bit dll.
can only write another 32-bit transit program, call 32-bit dll, and communicate information with 64-bit programs in interprocess communication.

Menu