DLL加载和调用类方法 [英] DLL load and call class method
本文介绍了DLL加载和调用类方法的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
要在VC ++中加载DLL和调用函数,我们使用LoadLibrary和GetProcAddress,它们需要方法的错误名称。它会实例化一个类对象然后调用该方法吗?
To load a DLL and call function in VC++, we use LoadLibrary and GetProcAddress , which needs mangled name of the method. Does it instantiate a class object and then call the method?
如果没有,那么我该如何在类中调用方法,却实例化该类的对象然后调用方法?
If it does not then how can I call a method in a class but instantiating an object of the class and then call a method?
加载.h文件,加载类,实例化对象然后在VC ++中调用方法的过程是什么
What is process to load .h file, load class, instantiate object and then call a method in VC++
推荐答案
查看全文