Porting a dll from 32 to 64 bit

  • Thread starter Thread starter GiulianoRescaldani
  • Start date Start date
G

GiulianoRescaldani

Guest
I ported a 32 bit dll with some functions inside called from Excel VBA to 64 bit. I started a new "Solution" with a single "Project" in freshly installed Visual Studio 2019 and I just used the old source and .def files. I have TWO problems:

-I had to remove the calls to MessageBox because it is flagged as undefined (an I do have #include <windows.h>)

-The dll itself wants to load VCRUNTIME140_APP.dll and UCRBASED.dll.


My suspect is I am not configuring the correct "type" of "Solution" or of "Project" and I am actually compiling a sort of Application.

I made all the suggested tricks: deinstall/install VS2019, VC Redistributable, ecc. with no success.


One strange thing is that in Project -> Properties -> Configuration Properties -> General -> Windows Store App Support I read "YES" and there is no way to set it to "NO". I fear this is the problem.

Continue reading...
 
Back
Top