Code::Blocks Forums
User forums => Using Code::Blocks => Topic started by: ArtistandEngineer on March 25, 2014, 10:41:58 pm
-
I have searched online and here in Code::Blocks in the forum for examples of creating plain vanilla C DLLs. I found ways to create C++ and C# DLLs, but not C.
Is it possible to create a plain C DLL here in Code::Blocks?
If so, do you have suggestions for places to look for examples? I am looking for a place to start. :-)
Thanks!
Colleen
-
Create a shared library project and rename main.cpp to main.c and you have C DLL project, simple as that...
-
Thank you, oBFusCATed! :-)
I have a degree in Computer Science from 1985. Professionally, my path never met up with programming in Windows until now (I worked in embedded avionics). Can you recommend a good beginner's "Programming in Windows" book?
Because now I see that I need to know how to compile the DLL file correctly and how to "tell" the programs invoking the DLL functions where to look to find the DLL functions, etc. I do not want to waste your time online here asking you.
Thanks!
Colleen
-
For DLL, the best info you can find is on msdn.com (Microsoft's help site).