A Windows DLL? Turbo C? Oh my! Please do yourself a favor and get a modern Windows compiler.
I like free stuff, so I use MinGW. If you don't like command-line tools, you would probably prefer Microsoft Visual C++.
hi,
u cannot create .dll with turbo c compiler, turbo c compiler was not meant to program windows, hence buy ur self a windows compiler and read the documentation.
DLL file stand for Dynamic Link Library. It contains the code that is to be loaded by the main program. The purpose of DLL file is to reduce the memory space consumption of the program. You can use either Visual C++ or Borland C++ to compile your code into DLL file.
hi,
DLL can taken as dynamic header files .Like in turbo C u use stdio.h and compile the program and what happens there is that the dependant modules and your program module gets linked to get an executable.That way to execute your program u dont need any other components to be loaded alongside.But the drawback is that suppose you have 10 programs written in turbo C using the same blah blah function from stdio.h,and when u execute them at a time then u ll have 10 copies of thaat blah blah fucntion.SO memory wastage.So they came up with the load time dynamic linking(some runtime dynamic linking) in the form of DLLs.The DLL will have the loadable module fo tat blahblah function and will be common for all the 10 programs.Am I clear??
regards,
Kareja
to add to this statement by the above user I need to stress something.
Before you use it, need to know how to call this function. For an individual work with 2-3 libraries, by you or using someone's .dll file, you can find out yourself by examining the library API calls. If we are talking for numerous libraries you need some help file to know how to call them properly. if you plan for someone to use your library build a good documentation.