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.

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e52670-44505.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e52670-44505.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?