Can someone show me an example of including a DLL or function in a C program ?
C / C++ / MFC
4
Posts
3
Posters
0
Views
1
Watching
-
You know which functions to add by deciding what your code needs to do and studying the documentation for those features. The documentation will also show which DLL contains which functions. If you are talking about the C library then see C Run-Time Library Reference[^].
-
Microsoft has an tutorial on both making the DLL and Including it another C++ program. It's no different for C just make the extensions .C instead of .CPP Walkthrough: Creating and Using a Dynamic Link Library (C++)[^] The only difference between a C and C++ DLL is C++ does name mangling Name mangling - Wikipedia[^]
In vino veritas