The terms of the End User License Agreement for Visual C++ Introductory Edition do not permit redistribution of executables you create with this Product.对最终用户许可协议的条款为Visual C + +入门版不允许你的可执行此产品创造的再分配。我用了VC++ DLL 在VB中使用了,就出现这个情况,
//dll1.cpp文件
void _stdcall add(int* a)
{
*a=100;
}
//dll1.def文件
EXPORTS
addVB中模块中代码
Declare Sub add Lib "dll1.dll" (ByRef a As Long)VB中窗口中代码
Dim a As Long
Call add(a)
MsgBox a
运行时就出现
The terms of the End User License Agreement for Visual C++ Introductory Edition do not permit redistribution of executables you create with this Product.之后现出现
输出100的对话框这是为什么,难道是VC++版本问题??
//dll1.cpp文件
void _stdcall add(int* a)
{
*a=100;
}
//dll1.def文件
EXPORTS
addVB中模块中代码
Declare Sub add Lib "dll1.dll" (ByRef a As Long)VB中窗口中代码
Dim a As Long
Call add(a)
MsgBox a
运行时就出现
The terms of the End User License Agreement for Visual C++ Introductory Edition do not permit redistribution of executables you create with this Product.之后现出现
输出100的对话框这是为什么,难道是VC++版本问题??
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货