November 22nd, 2002, 10:50 AM
Easy tutorial on DLL's?
can someone point me in the direction of a friendly DLL tutorial (or just tell me :D ). 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?
November 24th, 2002, 11:25 AM
I found this tutorial great
100 trillion calculations per nanosecond
November 24th, 2002, 04:19 PM
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.
November 24th, 2002, 10:19 PM
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.