16,551
社区成员
发帖
与我相关
我的任务
分享
e:\mfc\activextest\activextest\debug\scommon.tlh(105) : error C2146: 语法错误 : 缺少“;”(在标识符“EnumData”的前面)
1>e:\mfc\activextest\activextest\debug\scommon.tlh(105) : error C4430: 缺少类型说明符 - 假定为 int。注意: C++ 不支持默认 int
1>e:\mfc\activextest\activextest\debug\scommon.tlh(107) : error C4430: 缺少类型说明符 - 假定为 int。注意: C++ 不支持默认 int
1>e:\mfc\activextest\activextest\debug\scommon.tlh(107) : warning C4183: “EnumData”: 缺少返回类型;假定为返回“int”的成员函数
1>e:\mfc\activextest\activextest\debug\scommon.tlh(552) : error C2143: 语法错误 : 缺少“}”(在“常量”的前面)
1>e:\mfc\activextest\activextest\debug\scommon.tlh(555) : error C2143: 语法错误 : 缺少“;”(在“}”的前面)
1>e:\mfc\activextest\activextest\debug\scommon.tlh(555) : error C2059: 语法错误 : “}”
1>e:\mfc\activextest\activextest\debug\scommon.tli(63) : error C2143: 语法错误 : 缺少“;”(在“_ClsConfig::EnumData”的前面)
1>e:\mfc\activextest\activextest\debug\scommon.tli(63) : error C2433: “_CollectionPtr”: 不允许在数据声明中使用“inline”
1>e:\mfc\activextest\activextest\debug\scommon.tli(63) : error C4430: 缺少类型说明符 - 假定为 int。注意: C++ 不支持默认 int
1>e:\mfc\activextest\activextest\debug\scommon.tli(63) : error C4430: 缺少类型说明符 - 假定为 int。注意: C++ 不支持默认 int
1>e:\mfc\activextest\activextest\debug\scommon.tli(67) : error C2064: 项不会计算为接受 2 个参数的函数
1>生成日志保存在“file://e:\MFC\ActiveXTest\ActiveXTest\Debug\BuildLog.htm”
1>e:\mfc\activextest\activextest\debug\scommon.tlh(552) : error C2143: 语法错误 : 缺少“}”(在“常量”的前面)
1>e:\mfc\activextest\activextest\debug\scommon.tlh(555) : error C2143: 语法错误 : 缺少“;”(在“}”的前面)
1>e:\mfc\activextest\activextest\debug\scommon.tlh(555) : error C2059: 语法错误 : “}”
#import "msvbvm60.dll" no_namespace rename("EOF", "EndOfFile") rename("RGB","ColorRGB")
enum __declspec(uuid("65dff665-16f2-4b2a-a945-1fa4e8a1876a"))
dwFlags
{
LWA_COLORKEY = 1,
LWA_ALPHA = 2,
LWA_COMBINE = 3
};
import "C:\\Users\\JQY\\Desktop\\DLL\\SCommon.dll" no_namespace
inline long _ClsConfig::ReNameValue ( BSTR * INIKey, BSTR * INIValue, BSTR * NewValue ) {
long _result = 0;
HRESULT _hr = raw_ReNameValue(INIKey, INIValue, NewValue, &_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _result;
}
inline _CollectionPtr _ClsConfig::EnumData ( BSTR * INIKey, BSTR * INIValue ) {
struct _Collection * _result = 0;
HRESULT _hr = raw_EnumData(INIKey, INIValue, &_result);
if (FAILED(_hr)) _com_issue_errorex(_hr, this, __uuidof(this));
return _CollectionPtr(_result, false);
}
long ReNameValue (
BSTR * INIKey,
BSTR * INIValue,
BSTR * NewValue );
_CollectionPtr EnumData (
BSTR * INIKey,
BSTR * INIValue );
_bstr_t GetData (
BSTR * INIKey,
BSTR * INIValue );
。。。。
struct __declspec(uuid("ae7390d0-832f-4c5a-8348-82191624044a"))
__ClsDynamicUI : IDispatch
{
//
// Wrapper methods for error-handling
//
// Methods:
HRESULT ActionCompleted (
IDispatch * * Obj,
enum EnumActPara * ActionType,
BSTR * Tip,
VARIANT_BOOL * Breaked );
};
enum __declspec(uuid("65dff665-16f2-4b2a-a945-1fa4e8a1876a"))
dwFlags
{
LWA_COLORKEY = 1,
LWA_ALPHA = 2,
LWA_COMBINE = 3
};