error LNK2038: mismatch detected for ‘RuntimeLibrary’: value ‘MT_StaticRelease’ doesn’t match value ‘MDd_DynamicDebug
依赖库用了mt, 但是本工程用了MDd
error LNK2038: mismatch detected for ‘RuntimeLibrary’: value ‘MT_StaticRelease’ doesn’t match value ‘MDd_DynamicDebug
依赖库用了mt, 但是本工程用了MDd
Dialog.cpp(1351,42): error C2065: ‘_lpa’: undeclared identifier
Dialog.cpp(1351,42): error C2065: ‘_convert’: undeclared identifier
Dialog.cpp(1351,42): error C2065: ‘_acp’: undeclared identifier
==========================================
和 A2T 函数有关。
有人说USES_CONVERSION可以解决。
atlconv.h
1>C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.40.33807\include\cstdlib(23,41): error C2733: ‘abs’: you cannot overload a function with ‘extern “C”‘ linkage
1>C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.40.33807\include\cstdlib(27,40): error C2733: ‘abs’: you cannot overload a function with ‘extern “C”‘ linkage
1>C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.40.33807\include\cstdlib(31,46): error C2733: ‘abs’: you cannot overload a function with ‘extern “C”‘ linkage
1>C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.40.33807\include\exception(282,28): error C2733: ‘==’: you cannot overload a function with ‘extern “C”‘ linkage
1>C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.40.33807\include\exception(287,28): error C2733: ‘==’: you cannot overload a function with ‘extern “C”‘ linkage
1>C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.40.33807\include\exception(295,28): error C2733: ‘!=’: you cannot overload a function with ‘extern “C”‘ linkage
1>C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.40.33807\include\exception(299,28): error C2733: ‘!=’: you cannot overload a function with ‘extern “C”‘ linkage
本文出自:https://blog.csdn.net/kangear/article/details/18141741
1>api.obj : error LNK2001: unresolved external symbol _IID_IADs
1>api.obj : error LNK2001: unresolved external symbol _IID_IADsContainer
const IID IID_IADs;
const IID IID_IADsContainer;
std::cout << std::hex << std::setiosflags(std::ios::uppercase) << std::setfill(‘0’) << std::setw(2);
std::cout << (int)Val<< std::endl;
本文为原创文章,转载请注明出处!
OUT 46 b9 6a 00 07 00 00 71 16 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
OUT 00 46 b9 6a 00 07 00 00 71 16 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
IN 46 b9 68 00 38 00 01 6e 36 00 46 20 01 ff ff ff 3e 3f bf af f7 00 74 55 00 f7 e3 06 8a 16 28 46
IN 00 46 b9 68 00 38 00 01 6e 36 00 46 20 01 ff ff ff 3e 3f bf af f7 00 74 55 00 f7 e3 06 8a 16 28
OUT 46 b9 6a 00 0e 01 00 00 00 00 00 00 80 00 f9 16 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
OUT 00 46 b9 6a 00 0e 01 00 00 00 00 00 00 80 00 f9 16 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
IN 46 b9 68 00 07 01 00 70 16 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
IN 00 46 b9 68 00 07 01 00 70 16 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
OUT 46 b9 6a 00 0b 05 00 00 5a a5 01 79 16 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
OUT 00 46 b9 6a 00 0b 05 00 00 5a a5 01 79 16 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
IN 46 b9 68 00 07 05 00 74 16 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
IN 00 46 b9 68 00 07 05 00 74 16 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
OUT 46 b9 6a 00 0b 03 01 00 5a a5 01 78 16 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
OUT 00 46 b9 6a 00 0b 03 01 00 5a a5 01 78 16 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
IN 46 b9 68 00 0e 03 f7 e3 c9 80 08 e2 23 04 a9 16 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
IN 00 46 b9 68 00 0e 03 f7 e3 c9 80 08 e2 23 04 a9 16 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
OUT 46 b9 6a 00 8b 02 00 00 5a a5 02 02 84 ca d8 ca 79 7d 73 74 f8 7e 70 30 12 02 6b 74 f8 7e 70 80
OUT 00 46 b9 6a 00 8b 02 00 00 5a a5 02 02 84 ca d8 ca 79 7d 73 74 f8 7e 70 30 12 02 6b 74 f8 7e 70
OUT d0 10 78 e4 74 f8 7e 70 90 12 02 6b 12 02 c6 6c dd 74 fa ca b8 7a f1 82 7a e1 83 e4 93 7c 7b da
OUT 00 d0 10 78 e4 74 f8 7e 70 90 12 02 6b 12 02 c6 6c dd 74 fa ca b8 7a f1 82 7a e1 83 e4 93 7c 7b
OUT 82 7a e1 83 e4 93 7c 7b da b8 43 bf 16 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
OUT 00 82 7a e1 83 e4 93 7c 7b da b8 43 bf 16 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
IN 46 b9 68 00 08 02 54 00 c6 16 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
IN 00 46 b9 68 00 08 02 54 00 c6 16 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
OUT 46 b9 6a 00 8b 02 00 80 5a a5 12 02 6b 0b 74 0b d0 be d0 10 78 e4 74 f8 7e 70 98 12 02 6b 12 02
OUT 00 46 b9 6a 00 8b 02 00 80 5a a5 12 02 6b 0b 74 0b d0 be d0 10 78 e4 74 f8 7e 70 98 12 02 6b 12
OUT 79 da d8 22 75 a0 00 d2 81 c2 84 d2 c5 7e 34 00 04 12 02 de 74 f8 7e 70 30 12 02 6b 7e 34 00 0a
OUT 00 79 da d8 22 75 a0 00 d2 81 c2 84 d2 c5 7e 34 00 04 12 02 de 74 f8 7e 70 30 12 02 6b 7e 34 00
OUT 9a 74 f8 7e 70 01 12 02 6b 7e 36 c3 16 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
OUT 00 9a 74 f8 7e 70 01 12 02 6b 7e 36 c3 16 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
IN 46 b9 68 00 08 02 54 00 c6 16 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
IN 00 46 b9 68 00 08 02 54 00 c6 16 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
OUT 46 b9 6a 00 8b 02 01 00 5a a5 34 00 01 12 02 de 74 f8 7e 70 06 12 02 6b 7e 34 00 0a 12 02 9a 74
OUT 00 46 b9 6a 00 8b 02 01 00 5a a5 34 00 01 12 02 de 74 f8 7e 70 06 12 02 6b 7e 34 00 0a 12 02 9a
OUT 34 12 02 6b 7e f0 80 6c ee 74 f8 7c 7f 0b f0 12 02 6b 74 f8 7e 70 80 12 02 6b 6c dd 74 fa 6c 77
OUT 00 34 12 02 6b 7e f0 80 6c ee 74 f8 7c 7f 0b f0 12 02 6b 74 f8 7e 70 80 12 02 6b 6c dd 74 fa 6c
OUT f8 7e 70 88 12 02 6b 6c dd 74 36 01 16 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
OUT 00 f8 7e 70 88 12 02 6b 6c dd 74 36 01 16 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
IN 46 b9 68 00 08 02 54 00 c6 16 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
IN 00 46 b9 68 00 08 02 54 00 c6 16 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
OUT 46 b9 6a 00 8b 02 01 80 5a a5 fa 6c 77 12 02 6b 0b d0 be d0 10 78 f2 0b e0 be e0 20 40 d8 74 f8
OUT 00 46 b9 6a 00 8b 02 01 80 5a a5 fa 6c 77 12 02 6b 0b d0 be d0 10 78 f2 0b e0 be e0 20 40 d8 74
OUT 17 1b c0 68 1d 1b c0 68 23 2e c0 03 78 3a 74 f8 0a 3d 2e 34 00 80 80 1c 74 f8 0a 3d 2e 34 00 90
OUT 00 17 1b c0 68 1d 1b c0 68 23 2e c0 03 78 3a 74 f8 0a 3d 2e 34 00 80 80 1c 74 f8 0a 3d 2e 34 00
OUT 6b 74 fa 7c 7f 12 02 6b da 3b 36 62 16 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
OUT 00 6b 74 fa 7c 7f 12 02 6b da 3b 36 62 16 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
IN 46 b9 68 00 08 02 54 00 c6 16 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
IN 00 46 b9 68 00 08 02 54 00 c6 16 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
OUT 46 b9 6a 00 8b 02 02 00 5a a5 22 75 93 00 75 94 00 75 91 00 75 92 00 75 95 00 75 96 00 75 b1 00
OUT 00 46 b9 6a 00 8b 02 02 00 5a a5 22 75 93 00 75 94 00 75 91 00 75 92 00 75 95 00 75 96 00 75 b1
OUT 00 05 12 02 de 7e 34 02 d8 12 00 03 80 f7 7c ab 6c 77 0a 2a 7c b7 60 05 3e 24 14 78 fb 5e 24 00
OUT 00 00 05 12 02 de 7e 34 02 d8 12 00 03 80 f7 7c ab 6c 77 0a 2a 7c b7 60 05 3e 24 14 78 fb 5e 24
OUT 12 02 44 7c bf c4 54 f0 12 02 33 b0 16 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
OUT 00 12 02 44 7c bf c4 54 f0 12 02 33 b0 16 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
IN 46 b9 68 00 08 02 54 00 c6 16 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
IN 00 46 b9 68 00 08 02 54 00 c6 16 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
OUT 46 b9 6a 00 8b 02 02 80 5a a5 44 da f8 22 75 84 01 7e 44 04 1f e4 7a 49 b0 1b 44 78 f9 7e f8 00
OUT 00 46 b9 6a 00 8b 02 02 80 5a a5 44 da f8 22 75 84 01 7e 44 04 1f e4 7a 49 b0 1b 44 78 f9 7e f8
OUT 40 fa 22 7d 23 6d 33 80 02 0b 34 bd 32 40 fa 22 6d 33 0b 34 be 34 00 01 40 f8 22 7e 34 00 01 02
OUT 00 40 fa 22 7d 23 6d 33 80 02 0b 34 bd 32 40 fa 22 6d 33 0b 34 be 34 00 01 40 f8 22 7e 34 00 01
OUT ff ff ff ff ff ff ff ff ff ff 42 60 16 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
OUT 00 ff ff ff ff ff ff ff ff ff ff 42 60 16 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
IN 46 b9 68 00 08 02 54 00 c6 16 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
IN 00 46 b9 68 00 08 02 54 00 c6 16 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
OUT 46 b9 6a 00 33 04 00 00 5a a5 ff ff ff 00 ff ff 00 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
OUT 00 46 b9 6a 00 33 04 00 00 5a a5 ff ff ff 00 ff ff 00 ff ff ff ff ff ff ff ff ff ff ff ff ff ff
IN 46 b9 68 00 08 04 54 00 c8 16 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
IN 00 46 b9 68 00 08 04 54 00 c8 16 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
OUT 46 b9 6a 00 07 ff 01 70 16 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
OUT 00 46 b9 6a 00 07 ff 01 70 16 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
本文为原创文章,转载请注明出处!