The solution has nothing to do with whether you can call exported functions.
For the discussion below, I'm assuming unmanaged code.
Make the project containing the function you want to call a DLL, export that
function using __declspec(dllexport) or a .DEF file, and then do one of the
following in the other project:
1. Create a function pointer with the same signature as your exported
function, then use LoadLibrary and GetProcAddress to initialize that function
pointer to point to your exported function, OR
2. Import the function directly by using #include on a header file that
declares the exported function and link to the DLL's import library.
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.