开发者

call another class in dll file

开发者 https://www.devze.com 2023-03-13 19:35 出处:网络
I have my own class i开发者_JAVA技巧nside the file name \"Render.h\" and the class implementation is inside the

I have my own class i开发者_JAVA技巧nside the file name "Render.h" and the class implementation is inside the "Render.cpp".Now I want to access or call this class (Render.cpp) in my DLL file.

I want the file "Load .h" which is a dll file to recognize this class "Render.h".

What should I do? Please do help me.(in c ++)


include the Render.h into Load.h (or Load.cpp depending on your context) and include Render.cpp in the DLL project.

0

精彩评论

暂无评论...
验证码 换一张
取 消