I have a program written in C on LINUX environment. I have another wrapper application written in C++ on Windows.
I have a DLL of my C code which I cannot change/modify (I also have access to the original source code) but without exports. I cannot modify the original source code so I have just added a a DEF file to export the functions that I need to use in my wrapper.
My question is, can I use this DLL now without recompiling my C code to incorporate the DEF file? Because I have a lot of problems recompiling because of the different OS's that each program was developed on.
My C code returns 100+ errors when recompiled (as C) on MS Visual Studio because, for example, uint8_t illegal use of type and undefined memcmp..etc.
Any help is appreciated.