我有以下错误:
error C2440: type cast : cannot convert from std::_Vector_iterator<_Ty,_Alloc> to DWORD
with
[
_Ty=LPCSTR ,
_Alloc=std::allocator<LPCSTR >
]
No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called
采用视频演播室,2005年。 这一工作涉及的是较老的视觉演播室,但不是在现场。 这部法律造成了错误:
std::vector<LPCSTR> factions;
...
*(DWORD*)(offset+0x571) = (DWORD)factions.begin(); <- error here
我如何解决这一问题?