View Full Version : How to create a .DLL file from a .C file?

26th November 2012, 10:53
Hi guys!

I'm looking for a method how to create a .DLL file from a .C file .That dll file contains utility functions.
Is it possible that i will not declare it as a class this utility module?


26th November 2012, 12:12
this question has nothing to do with qt programming. Therefore you are in the wrong forum...

If you only have a .c file, then you need to make a .h or .hpp file to go with it. Then you will need the usual export symbols to make the dll. google for 'c++ dll' - I'm sure there will be plenty of examples.

26th November 2012, 12:38
You have to compile it to a .dll