Hello everyone,
My question doesn't have direct relevance to BASS other than the fact that I am making a LIB file in C/C++, and it involves threading.
I figured out the basic threading and the necessity to switch to /MT option for the linker (I use Visual Studio). I also figured out that the project that uses my library needs to be /MT, otherwise it has runtime errors involving threads etc.
But then I realised that I need a C++ project for my C++ library. Once I converted my library to C, C users could run it but C++ users couldn't.
Does anyone know more info on how to write libraries accessible using both C and C++, and how I should deal with threading (other than by making every .exe use the /MT switch)? Please help!
~Olego~