|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
1200+ fellow developers rate and compare features of the top IDEs, like Visual Studio, Eclipse, RAD, Delphi and others, across 13 categories. Enjoy this FREE Download of the IDE User Satisfaction Study by Evans Data Corporation. Download Now!
|
|
#1
|
|||
|
|||
|
Easy tutorial on DLL's?
Hi,
can someone point me in the direction of a friendly DLL tutorial (or just tell me ). I've found a few, but they seem more intent on telling me about them than how to write them. Basically I'd like it to say, "take your function, put in here, rename it and compile, then call it like this".Also, can a console app use a DLL aswell? |
|
#3
|
|||
|
|||
|
Cheers for that, the third page is just about what I was looking for. I've come across this site before when I was first looking for C/C++ resources, but never bookmarked it, I have now, there's a couple of nice tutorials. Just a pity there's no print version, I like to be able to have the whole tutorial on one page and save it as a web archive for later viewing.
|
|
#4
|
|||
|
|||
|
I like a bit more error checking with GetLastError() and to check that all the functions are locked down.
Also you should free the library after you use it with FreeLibrary() -> even if the calls to GetProcAddress() fail.
__________________
The essence of Christianity is told us in the Garden of Eden history. The fruit that was forbidden was on the Tree of Knowledge. The subtext is, All the suffering you have is because you wanted to find out what was going on. You could be in the Garden of Eden if you had just kept your f***ing mouth shut and hadn't asked any questions. Frank Zappa |
![]() |
| Viewing: Dev Shed Forums > Programming Languages > C Programming > Easy tutorial on DLL's? |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|