Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Generate C/C++ DLL using visual studio code

Is it possible to use Visual Studio Code to generate a DLL file?

In Visual Studio Community Edition, there is a wizard that provides options for setting up a project to output a DLL.

like image 492
mr_js Avatar asked Aug 13 '26 15:08

mr_js


1 Answers

I'm not sure, but if this helps there you go:

if using GCC with mingW32 or mingw64 the following command should be used.

if using windows:

x86_64-w64-mingw32-gcc -shared objectfile.o -o outputfile.dll

if using mac or linux:

gcc -shared objectfile.o -o outputfile.dll
like image 188
Fontanot Avatar answered Aug 16 '26 06:08

Fontanot



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!