BGNG
New member
While I am well familiar with the operations of C++, the extent of my work done with it is nothing more than linear procedural stuff made exclusively into DLLs for me to use in Visual Basic.
But in the light of my current project, there is a DLL I wish to make and document it for anyone to use. But there's a problem: I don't know how to incorporate DLLs into C++ programs, nor can I find any straight-forward documentation on how to do so. Any experiments with the LoadLibrary() function have failed, and I'm not sure how to go about doing it.
What I want to do is have a declaration module that references a DLL file only. No .LIB or .OBJ files involved. I would LIKE to have it all wrapped up in one tidy .H file, but I'm uncertain if that is possible or not.
How would I make such a header file to access, say, TheFunction() from a DLL, and only a DLL in C++?
But in the light of my current project, there is a DLL I wish to make and document it for anyone to use. But there's a problem: I don't know how to incorporate DLLs into C++ programs, nor can I find any straight-forward documentation on how to do so. Any experiments with the LoadLibrary() function have failed, and I'm not sure how to go about doing it.
What I want to do is have a declaration module that references a DLL file only. No .LIB or .OBJ files involved. I would LIKE to have it all wrapped up in one tidy .H file, but I'm uncertain if that is possible or not.
How would I make such a header file to access, say, TheFunction() from a DLL, and only a DLL in C++?