Calling functions in a DLL from C++

前端 未结 7 2457
清歌不尽
清歌不尽 2020-11-30 00:17

I have a solution in VS 2008 with 2 projects in it. One is a DLL written in C++ and the other is a simple C++ console application created from a blank project. I would like

7条回答
  •  一个人的身影
    2020-11-30 00:55

    Presuming you're talking about dynamic runtime loading of DLLs, you're looking for LoadLibrary and GetProAddress. There's an example on MSDN.

提交回复
热议问题