Export function from a C++ DLL using DEF file

  Рет қаралды 5,402

Tech Toffee

Tech Toffee

Күн бұрын

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.
The first method and the initial code shown in this video are explained in • Export function from C... . This video focuses on the second method.
Also, this video shows how to find the exports present in a C++ DLL using the DumpBin command.

Пікірлер
@shanecherniss
@shanecherniss 2 жыл бұрын
Straight and to the point. Thank you
@us2393
@us2393 2 жыл бұрын
good video. thx
@nemowhere
@nemowhere 4 ай бұрын
i want to see the what is context in the mylib.cpp ,pls 😄
@shems08
@shems08 3 жыл бұрын
was helpful thanks!
@techtoffee919
@techtoffee919 3 жыл бұрын
Glad it helped!
@trueindian2108
@trueindian2108 2 жыл бұрын
I need to export dll classes through c#. Kindly make video on that.
@e-k4110
@e-k4110 5 жыл бұрын
great content. congrats
@huyvole9724
@huyvole9724 4 жыл бұрын
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
@ReckyXXX
@ReckyXXX 4 жыл бұрын
Thanks! Please, remove noise from audio next time..
Export function from C++ DLL using DeclSpec
5:27
Tech Toffee
Рет қаралды 10 М.
C enums 📅
4:27
Bro Code
Рет қаралды 69 М.
Почему Катар богатый? #shorts
0:45
Послезавтра
Рет қаралды 2 МЛН
I Sent a Subscriber to Disneyland
0:27
MrBeast
Рет қаралды 104 МЛН
UFC 287 : Перейра VS Адесанья 2
6:02
Setanta Sports UFC
Рет қаралды 486 М.
Sharing functions between files in C
9:00
CodeVault
Рет қаралды 32 М.
Export a C++ class from a DLL
5:48
Tech Toffee
Рет қаралды 12 М.
Using DLL(C++) in Excel VBA
8:50
Yinqiu. Zhang
Рет қаралды 26 М.
C can do this too and it's faster than Python
2:09:48
Tsoding Daily
Рет қаралды 14 М.
Write Better Code!  |  How to Create Shared Libraries in C/C++
13:59
Using Dynamic Libraries in C++
10:07
The Cherno
Рет қаралды 245 М.
What's inside a .EXE File?
8:27
Inkbox
Рет қаралды 444 М.
Marshaling Classes - P/INVOKE WITH C# AND C++ TUTORIAL #4
10:48
SingletonSean
Рет қаралды 10 М.
DLL for Excel VBA
8:31
Gerson Suaznabar
Рет қаралды 4,3 М.
Почему Катар богатый? #shorts
0:45
Послезавтра
Рет қаралды 2 МЛН