about the dll and lib
-
in a source file(.cpp and .h), how can I know it call the dll? if it calls the dll, how can I make it call the static lib instead of dll, can anyone give me specific instruction about this topic?
My head asplode.
Nobody can give you wiser advice than yourself. - Cicero .·´¯`·->Rajesh<-·´¯`·. Codeproject.com: Visual C++ MVP
-
in a source file(.cpp and .h), how can I know it call the dll? if it calls the dll, how can I make it call the static lib instead of dll, can anyone give me specific instruction about this topic?
wendyyue wrote:
in a source file(.cpp and .h), how can I know it call the dll? if it calls the dll, how can I make it call the static lib instead of dll, can anyone give me specific instruction about this topic?
The calling of a lib or dll is determined at link time. If you link with the dll's import library, the code will call the dll. If you link with the static library, your code will call that. Nathan
-
My head asplode.
Nobody can give you wiser advice than yourself. - Cicero .·´¯`·->Rajesh<-·´¯`·. Codeproject.com: Visual C++ MVP
asplode? i think you mean to say explode :-)
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
Never mind - my own stupidity is the source of every "problem" - Mixturecheers, Alok Gupta VC Forum Q&A :- I/IV Support CRY- Child Relief and You