C++ Builder - Exporting DLL Classes

  Рет қаралды 3,934

VCL Examples

VCL Examples

Күн бұрын

Пікірлер: 6
@williankoessler5935
@williankoessler5935 3 жыл бұрын
Is it possible to export a static method from a class, that creates an object from that class and returns it?
@vclexamples
@vclexamples 3 жыл бұрын
I guess that would be a circular problem where you are trying to export a dll class by using one of its methods, while you cannot export a dll class method without exporting the class first. That is one of the reasons I used global functions in this video to create/delete dll class objects.
@sfirouz
@sfirouz 2 жыл бұрын
Could you please make a video about importing classes from DLLs made by other compilers like MSVC/ Specifically libraries like OpenCV that has classes exported but in MSVC way. Being able to use OpenCV will open many doors to us.
@zearcher4633
@zearcher4633 Жыл бұрын
can classes and functions be used in other apps, by creating a form inside DLL, and in its. cpp file, creating the functions and classes, and then like in the other video, including the form and Application->CreateForm to use it, without this special approach
@vclexamples
@vclexamples Жыл бұрын
Yes. You can use Application->CreateForm. Just be sure to use DLL_EXPORT macro instead of PACKAGE in the "extern" statement after form's class declaration.
@zearcher4633
@zearcher4633 Жыл бұрын
@@vclexamples thank you!
Using Libraries in C++ (Static Linking)
18:43
The Cherno
Рет қаралды 450 М.
C++ Builder - DLL Form (using Clang)
15:43
VCL Examples
Рет қаралды 1,9 М.
1% vs 100% #beatbox #tiktok
01:10
BeatboxJCOP
Рет қаралды 57 МЛН
REAL or FAKE? #beatbox #tiktok
01:03
BeatboxJCOP
Рет қаралды 15 МЛН
How Many Balloons To Make A Store Fly?
00:22
MrBeast
Рет қаралды 198 МЛН
Quando eu quero Sushi (sem desperdiçar) 🍣
00:26
Los Wagners
Рет қаралды 14 МЛН
How to Create a C++ dll in visual studio 2019
17:38
C++ Better Explained
Рет қаралды 20 М.
31 nooby C++ habits you need to ditch
16:18
mCoding
Рет қаралды 838 М.
C++ Builder - Creating and Using Resource DLLs
13:50
VCL Examples
Рет қаралды 2,6 М.
Write Better Code!  |  How to Create Shared Libraries in C/C++
13:59
My 10 “Clean” Code Principles (Start These Now)
15:12
Conner Ardman
Рет қаралды 301 М.
15 Years Writing C++ - Advice for new programmers
4:04
SyncMain
Рет қаралды 1,3 МЛН
Creating C++ DLL (Dynamic Link Library) using MingW64 (gcc) Compiler under Microsoft Windows
16:09
Should you learn C++?? | Prime Reacts
20:29
ThePrimeTime
Рет қаралды 406 М.
C++ Builder - DLL Form
15:45
VCL Examples
Рет қаралды 15 М.
Premature Optimization
12:39
CodeAesthetic
Рет қаралды 841 М.
1% vs 100% #beatbox #tiktok
01:10
BeatboxJCOP
Рет қаралды 57 МЛН