I am currently working on learning to code the windows api and coding C++.
I have one stupid beginners question. I am wondering after you create a DLL that uses C++ how to link it to your windows application exe.
I am currently working on learning to code the windows api and coding C++.
I have one stupid beginners question. I am wondering after you create a DLL that uses C++ how to link it to your windows application exe.
you should use the lib file created togehter with the dll to link functions from the dll
All problems in computer science can be solved by another level of indirection,
except for the problem of too many layers of indirection.
– David J. Wheeler
Then put the DLL in the path. The current directory works (but it eliminates any small amount of free disk space you might have, copying it for every program). \windows\system32 works, too, or any other directory in the path (your compiler's bin directory is probably in there too).
dwk
Seek and ye shall find. quaere et invenies.
"Simplicity does not precede complexity, but follows it." -- Alan Perlis
"Testing can only prove the presence of bugs, not their absence." -- Edsger Dijkstra
"The only real mistake is the one from which we learn nothing." -- John Powell
Other boards: DaniWeb, TPS
Unofficial Wiki FAQ: cpwiki.sf.net
My website: http://dwks.theprogrammingsite.com/
Projects: codeform, xuni, atlantis, nort, etc.
Any tutorials that someone can reference me to......