dllexported方法转换为类成员 [英] dllexported method into a class member

查看:54
本文介绍了dllexported方法转换为类成员的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

感谢您的支持.当前,正面临一个奇怪的问题,即

Thanks for all your support. Currently, am facing strange problem ie.,

我在类型为dll的dll中有一个全局方法. __declspec(dllexported).现在,我想用作另一个类的成员变量.

I have a global method in a dll which is of type  __declspec(dllexported). Now I want to use as a member variable of another class.

我的疑问是:

1.有可能吗?

2.如果是这样,请分享操作步骤

2. If so, please share the procedure

感谢和问候,

nch srinivas

nch srinivas.

 

推荐答案

您没有描述完整的问题.

You didn't describe your complete problem.

是的,您可以访问另一个类的公共成员变量.

Yes you can access public member variable of another class.


这篇关于dllexported方法转换为类成员的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆