The easiest way to use class member functions exported from the DLL from the EXE side is outlined below.
(1) Export the class in the DLL and build it.
Example) ( Test_Class.h ) class EXPORTS_CLASS TEST_CLASS{ void TestFunc(){ ::OutputDebugStringW( L "TEST_CLASS::TestFunc() is call \n")}};
(2)Copy the resulting DLL to the EXE execution environment.
(3) Refer the completed LIB to the linker of the EXE project.
(4) In EXE, #include "Test_Class.h", create an instance of TEST_CLASS, and call TestFunc() from that instance.
(5) Build the EXE.
Once the above can be done, it is a good idea to start considering how to get the class function of the DLL written in C++ language by GetProcAddress().
Translated with DeepL.com (free version)