Hello,
is it safe to use a class exported from third party VC++ DLL?
I use Intel C++ with Visual Studio integration, so every C++ project is compiled with Intal C++ compiler.
I will use some 3rd party library, which comes without source code - only headers and builds for specific Microsoft VC++ compiler. This library contains classes which are exported with _declspec(dllexport). Is it safe to use those classes with Intel C++ compiler under Visual Studio? Of course the binary dll which I use was built with the same Version of VC++ which I use with Intel C++.
Sample code below:
#ifndef EXPORT_API
# define EXT_API _declspec(dllimport)
# endif
#else
# define EXT_API _declspec(dllexport)
# endif
#endif
class EXT_API SomeClassFromDll
{
...