- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
{
...
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Intel C++ Compiler is 100% compatible with VC. Thus whatever is safe to use with VC is also safe to use with the Intel Compiler.

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page