Page 1 of 1

latest version has problems compiling, strcpy_s' :

Posted: Thu Nov 07, 2013 1:17 pm
by generil
here is what it says when I try to build eqmain.dll

--------------------Configuration: MQ2Main - Win32 Release--------------------
Compiling...
Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 12.00.8168 for 80x86
Copyright (C) Microsoft Corp 1984-1998. All rights reserved.
cl /Zp1 /MT /w /W0 /GX /Zi /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "CINTERFACE" /D "EQLIB_EXPORTS" /Fo"Intermediate/" /Fd"Intermediate/" /FD /c
"C:\Users\Owner\Desktop\mozilla downloads\MQ2-20131106\MQ2Main\MQ2Data.cpp"
"C:\Users\Owner\Desktop\mozilla downloads\MQ2-20131106\MQ2Main\MQ2DataTypes.cpp"
"C:\Users\Owner\Desktop\mozilla downloads\MQ2-20131106\MQ2Main\MQ2Windows.cpp"
MQ2Data.cpp
C:\Users\Owner\Desktop\mozilla downloads\MQ2-20131106\MQ2Main\MQ2Data.cpp(197) : error C2065: 'strcpy_s' : undeclared identifier
MQ2DataTypes.cpp
C:\Users\Owner\Desktop\mozilla downloads\MQ2-20131106\MQ2Main\MQ2DataTypes.cpp(1124) : error C2065: 'strcpy_s' : undeclared identifier
MQ2Windows.cpp
C:\Users\Owner\Desktop\mozilla downloads\MQ2-20131106\MQ2Main\MQ2Windows.cpp(972) : error C2065: 'strcpy_s' : undeclared identifier
Generating Code...
Error executing cl.exe.

MQ2Main.dll - 3 error(s), 0 warning(s)


Everything worked fine until patch and then mq was updated.

Re: latest version has problems compiling, strcpy_s' :

Posted: Thu Nov 07, 2013 1:42 pm
by elix
Posting in multiple places is a sin you know.

Short answer: use a newer version of Visual Studio.

Re: latest version has problems compiling, strcpy_s' :

Posted: Fri Nov 08, 2013 1:16 am
by generil
now I am getting this:
Error 1 error C3068: 'EQClasses::CStmlWnd::AppendSTML' : a 'naked' function cannot contain objects that would require unwinding if a C++ exception occurred C:\Users\Owner\Desktop\mozilla downloads\MQ2-20131106\MQ2Main\EQClasses.cpp 141 1 MQ2Main

Re: latest version has problems compiling, strcpy_s' :

Posted: Fri Nov 08, 2013 2:59 am
by Wolve
Please stop double posting.

Re: latest version has problems compiling, strcpy_s' :

Posted: Fri Jan 16, 2026 6:31 pm
by xyilla

Re: latest version has problems compiling, strcpy_s' :

Posted: Fri Jan 16, 2026 6:32 pm
by xyilla

Re: latest version has problems compiling, strcpy_s' :

Posted: Fri Jan 16, 2026 6:35 pm
by xyilla