I do not have access to the 32 bit dll so I am unable to upgrade it to 64 bits. I also do not want to downgrade the 64 bit code to 32 bits. The only option I'm aware of is using a com wrapper.(https://blog.mattmags.com/2007/06/30/accessing-32-bit-dlls-from-64-bit-code/) However, from my knowledge, this will significantly decrease the performance which is unacceptable. Are these my only options?
this may be just as bad as the com option, but can you make some sort of high performance 32 bit program that uses the dll and uses shared memory or messaging or something as a go-between to the 64 bit program?
can you tap a 32 bit dll in a 64 bit program directly with assembly?
I also do not want to downgrade the 64 bit code to 32 bits.
The operative word here is want. Do you have an actual need for the application to be 64-bit? Since the overwhelming majority of applications don't, I'm going to guess no. But with the complete absence of any information about your project we can't know for sure.