点云技术相关产学研社区

 找回密码
 立即注册加入PCL中国点云技术相关产学研社区

扫一扫,访问微社区

查看: 1758|回复: 0

DLL中导出数据

[复制链接]
发表于 2015-9-13 00:06:26 | 显示全部楼层 |阅读模式
在DLL编写时,头文件中
_declspec( dllexport ) int i;   
  _declspec( dllexport ) int *j;  
    _declspec( dllexport ) char *sz;
源码中,
      extern int *i;      
extern int **j;      
extern char **sz;
http://stackoverflow.com/questio ... -variables-from-dll
https://support.microsoft.com/en-us/kb/90530
回复

使用道具 举报

本版积分规则

QQ|小黑屋|点云技术相关产学研社区 ( 陕ICP备13001629号 )

GMT+8, 2024-4-29 21:46 , Processed in 3.300982 second(s), 16 queries .

Powered by Discuz! X3.4

© 2001-2017 Comsenz Inc.

快速回复 返回顶部 返回列表