I’m updating an existing DLL project written in C. For multiple reasons, both 32bit and 64bit versions of this are required.
The application using these DLLs is written in Visual Basic 6 and is needed by a class within the project. This class contains a module full of Public Declare Functions to the DLL; the class is a wrapper to the functions in the module.
There are no references in the Visual Basic 6 project itself. So far I’ve finished coding the 32bit version and am happy with it.
Are there any issues with changing the file name in the module to point at the 64bit DLL, given the 64bit DLL will be called from a 32bit DLL, within a 32bit application, written in Visual Basic 6?
You can’t call 64 bit code from 32 bit. The only way to do this run the 64 bit code in a 64 bit process and use some sort of inter-process communication to talk to them.