Export function from a C++ DLL using DEF file

preview_player
Показать описание
This video shows how to create a C++ DLL with functions that are exported.
There are two ways of exporting methods from a C++ library:
1. Using the keyword __declspec
2. Using the DEF file.

Also, this video shows how to find the exports present in a C++ DLL using the DumpBin command.
Рекомендации по теме
Комментарии
Автор

i want to see the what is context in the mylib.cpp, pls 😄

nemowhere
Автор

I need to export dll classes through c#. Kindly make video on that.

trueindian
Автор

When I create C++ DLL project, result of build is *.dll *.lib, C++ console add *.dll *.lib and include *.h.
When I create C++ Static lib project, result of build is *.lib, C++ console add *.lib and include *.h.
Your *.def use for what? I don't understand

huyvole
Автор

Thanks! Please, remove noise from audio next time..

ReckyXXX
join shbcf.ru