diff --git a/HEZON_ITK/HEZON_ITK.vcxproj b/HEZON_ITK/HEZON_ITK.vcxproj index 0a10e2a..176127b 100644 --- a/HEZON_ITK/HEZON_ITK.vcxproj +++ b/HEZON_ITK/HEZON_ITK.vcxproj @@ -165,6 +165,7 @@ + diff --git a/HEZON_ITK/HEZON_ITK.vcxproj.filters b/HEZON_ITK/HEZON_ITK.vcxproj.filters index ac74c21..6349df5 100644 --- a/HEZON_ITK/HEZON_ITK.vcxproj.filters +++ b/HEZON_ITK/HEZON_ITK.vcxproj.filters @@ -83,6 +83,9 @@ epm-handler + + epm-handler + diff --git a/HEZON_ITK/bs_bom_check.cpp b/HEZON_ITK/bs_bom_check.cpp index 9c8c0fc..4e89cb4 100644 --- a/HEZON_ITK/bs_bom_check.cpp +++ b/HEZON_ITK/bs_bom_check.cpp @@ -53,6 +53,7 @@ int bs_bom_check(EPM_rule_message_t msg) { pass = true; break; + } } if (!pass) diff --git a/HEZON_ITK/epm_handler_common.h b/HEZON_ITK/epm_handler_common.h index 977449f..78b07a3 100644 --- a/HEZON_ITK/epm_handler_common.h +++ b/HEZON_ITK/epm_handler_common.h @@ -49,6 +49,7 @@ int bs_bypass(void *retValType); int jd_schedule_joint(EPM_action_message_t msg); int jd_batch_process(EPM_action_message_t msg); int jd_add_attachments(EPM_action_message_t msg); +int jd_check_wlms_len(EPM_rule_message_t msg); ////��������Ϣǩ��汾������ȥ //int qtmc_sign_ir(EPM_action_message_t msg); diff --git a/HEZON_ITK/epm_register_handler.cxx b/HEZON_ITK/epm_register_handler.cxx index de89c37..825341f 100644 --- a/HEZON_ITK/epm_register_handler.cxx +++ b/HEZON_ITK/epm_register_handler.cxx @@ -160,6 +160,16 @@ extern DLLAPI int CUST_init_module(int *decision, va_list args) } else { printf("register jd_add_attachments successfully\n"); + } + + ifail = EPM_register_rule_handler("jd_check_wlms_len", "jd_check_wlms_len", + (EPM_rule_handler_t)jd_check_wlms_len); + if (ifail) { + printf("register jd_check_wlms_len failed\n"); + } + else { + printf("register jd_check_wlms_len successfully\n"); + } //if(ifail == ITK_ok) //{ diff --git a/HEZON_ITK/jd_check_wlms_len.cpp b/HEZON_ITK/jd_check_wlms_len.cpp new file mode 100644 index 0000000..aa9350e --- /dev/null +++ b/HEZON_ITK/jd_check_wlms_len.cpp @@ -0,0 +1,48 @@ +#include "util.h" + +int jd_check_wlms_len(EPM_rule_message_t msg) +{ + POM_AM__set_application_bypass(true); + tag_t root_task, *attachments; + int att_cnt; + EPM_ask_root_task(msg.task, &root_task); + //øµ + EPM_ask_attachments(root_task, EPM_target_attachment, &att_cnt,&attachments); + for (int i = 0; i < att_cnt; i++) + { + if (isTypeOf(attachments[i],"ItemRevision")) + { + int form_att; + tag_t *forms; + AOM_ask_value_tags(attachments[i], "IMAN_master_form_rev", &form_att, &forms); + if (form_att==0) + { + continue; + } + char *wlms; + AOM_ask_value_string(forms[0], "jd2_wlms", &wlms); + cout << "jd2_wlms" << wlms << endl; + int length=0; + for (int i = 0; wlms[i]!=0; i++) + { + if (wlms[i]<128&& wlms[i]>0) + { + length++; + } + else + { + i += 2; + length++; + } + } + cout << "length: " << length << endl; + if (length>40) + { + POM_AM__set_application_bypass(false); + return EMH_store_error_s1(EMH_severity_error, EMH_IDGENERATION_ERROR_BASE, "ַܳ40!!!"); + } + } + POM_AM__set_application_bypass(false); + return EPM_go; + } +} \ No newline at end of file diff --git a/HEZON_ITK/x64/Release/.NETFramework,Version=v4.0.AssemblyAttributes.asm b/HEZON_ITK/x64/Release/.NETFramework,Version=v4.0.AssemblyAttributes.asm index 783245d..826e402 100644 --- a/HEZON_ITK/x64/Release/.NETFramework,Version=v4.0.AssemblyAttributes.asm +++ b/HEZON_ITK/x64/Release/.NETFramework,Version=v4.0.AssemblyAttributes.asm @@ -1,4 +1,4 @@ -; Listing generated by Microsoft (R) Optimizing Compiler Version 19.00.24210.0 +; Listing generated by Microsoft (R) Optimizing Compiler Version 19.00.24215.1 ; Generated by VC++ for Common Language Runtime -.file "C:\Users\lyf\AppData\Local\Temp\.NETFramework,Version=v4.0.AssemblyAttributes.cpp" +.file "C:\Users\89512\AppData\Local\Temp\.NETFramework,Version=v4.0.AssemblyAttributes.cpp" diff --git a/HEZON_ITK/x64/Release/HEZON_ITK.log b/HEZON_ITK/x64/Release/HEZON_ITK.log index e3016c7..b353197 100644 --- a/HEZON_ITK/x64/Release/HEZON_ITK.log +++ b/HEZON_ITK/x64/Release/HEZON_ITK.log @@ -1,202 +1,18 @@ - bs_bom_check.cpp -e:\work\vs_workspace\jditk\hezon_itk\epm_handler_common.h : warning C4819: 该文件包含不能在当前代码页(936)中表示的字符。请将该文件保存为 Unicode 格式以防止数据丢失 -E:\work\include12_2\pom/pom/pom.h(806): warning C4819: 该文件包含不能在当前代码页(936)中表示的字符。请将该文件保存为 Unicode 格式以防止数据丢失 -E:\work\include12_2\pom/pom/pom.h(5417): warning C4819: 该文件包含不能在当前代码页(936)中表示的字符。请将该文件保存为 Unicode 格式以防止数据丢失 -bs_bom_check.cpp(27): warning C4101: “lines”: 未引用的局部变量 -bs_bom_check.cpp(26): warning C4101: “line_cnt”: 未引用的局部变量 - bs_bom_save_check.cpp -e:\work\vs_workspace\jditk\hezon_itk\epm_handler_common.h : warning C4819: 该文件包含不能在当前代码页(936)中表示的字符。请将该文件保存为 Unicode 格式以防止数据丢失 -E:\work\include12_2\pom/pom/pom.h(806): warning C4819: 该文件包含不能在当前代码页(936)中表示的字符。请将该文件保存为 Unicode 格式以防止数据丢失 -E:\work\include12_2\pom/pom/pom.h(5417): warning C4819: 该文件包含不能在当前代码页(936)中表示的字符。请将该文件保存为 Unicode 格式以防止数据丢失 -bs_bom_save_check.cpp(47): warning C4101: “num”: 未引用的局部变量 - bs_bypass.cpp -E:\work\include12_2\pom/pom/pom.h(806): warning C4819: 该文件包含不能在当前代码页(936)中表示的字符。请将该文件保存为 Unicode 格式以防止数据丢失 -E:\work\include12_2\pom/pom/pom.h(5417): warning C4819: 该文件包含不能在当前代码页(936)中表示的字符。请将该文件保存为 Unicode 格式以防止数据丢失 -e:\work\vs_workspace\jditk\hezon_itk\epm_handler_common.h : warning C4819: 该文件包含不能在当前代码页(936)中表示的字符。请将该文件保存为 Unicode 格式以防止数据丢失 - bs_file_transfer.cpp -e:\work\vs_workspace\jditk\hezon_itk\epm_handler_common.h : warning C4819: 该文件包含不能在当前代码页(936)中表示的字符。请将该文件保存为 Unicode 格式以防止数据丢失 -E:\work\include12_2\pom/pom/pom.h(806): warning C4819: 该文件包含不能在当前代码页(936)中表示的字符。请将该文件保存为 Unicode 格式以防止数据丢失 -E:\work\include12_2\pom/pom/pom.h(5417): warning C4819: 该文件包含不能在当前代码页(936)中表示的字符。请将该文件保存为 Unicode 格式以防止数据丢失 - bs_sap.cpp -e:\work\vs_workspace\jditk\hezon_itk\epm_handler_common.h : warning C4819: 该文件包含不能在当前代码页(936)中表示的字符。请将该文件保存为 Unicode 格式以防止数据丢失 -E:\work\include12_2\pom/pom/pom.h(806): warning C4819: 该文件包含不能在当前代码页(936)中表示的字符。请将该文件保存为 Unicode 格式以防止数据丢失 -E:\work\include12_2\pom/pom/pom.h(5417): warning C4819: 该文件包含不能在当前代码页(936)中表示的字符。请将该文件保存为 Unicode 格式以防止数据丢失 -bs_sap.cpp(8): warning C4101: “obj_type”: 未引用的局部变量 -bs_sap.cpp(260): warning C4101: “obj_type”: 未引用的局部变量 -bs_sap.cpp(292): warning C4101: “lines”: 未引用的局部变量 -bs_sap.cpp(290): warning C4101: “line_cnt”: 未引用的局部变量 - bs_signoff.cxx -e:\work\vs_workspace\jditk\hezon_itk\epm_handler_common.h : warning C4819: 该文件包含不能在当前代码页(936)中表示的字符。请将该文件保存为 Unicode 格式以防止数据丢失 -E:\work\include12_2\pom/pom/pom.h(806): warning C4819: 该文件包含不能在当前代码页(936)中表示的字符。请将该文件保存为 Unicode 格式以防止数据丢失 -E:\work\include12_2\pom/pom/pom.h(5417): warning C4819: 该文件包含不能在当前代码页(936)中表示的字符。请将该文件保存为 Unicode 格式以防止数据丢失 -bs_signoff.cxx(63): warning C4996: 'localtime': This function or variable may be unsafe. Consider using localtime_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. - C:\Program Files (x86)\Windows Kits\10\Include\10.0.10240.0\ucrt\time.h(505): note: 参见“localtime”的声明 - bs_sign_cad.cpp -e:\work\vs_workspace\jditk\hezon_itk\epm_handler_common.h : warning C4819: 该文件包含不能在当前代码页(936)中表示的字符。请将该文件保存为 Unicode 格式以防止数据丢失 -E:\work\include12_2\pom/pom/pom.h(806): warning C4819: 该文件包含不能在当前代码页(936)中表示的字符。请将该文件保存为 Unicode 格式以防止数据丢失 -E:\work\include12_2\pom/pom/pom.h(5417): warning C4819: 该文件包含不能在当前代码页(936)中表示的字符。请将该文件保存为 Unicode 格式以防止数据丢失 -bs_sign_cad.cpp(36): warning C4996: 'getenv': This function or variable may be unsafe. Consider using _dupenv_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. - C:\Program Files (x86)\Windows Kits\10\Include\10.0.10240.0\ucrt\stdlib.h(1183): note: 参见“getenv”的声明 - bs_test_release_check.cpp -e:\work\vs_workspace\jditk\hezon_itk\epm_handler_common.h : warning C4819: 该文件包含不能在当前代码页(936)中表示的字符。请将该文件保存为 Unicode 格式以防止数据丢失 -E:\work\include12_2\pom/pom/pom.h(806): warning C4819: 该文件包含不能在当前代码页(936)中表示的字符。请将该文件保存为 Unicode 格式以防止数据丢失 -E:\work\include12_2\pom/pom/pom.h(5417): warning C4819: 该文件包含不能在当前代码页(936)中表示的字符。请将该文件保存为 Unicode 格式以防止数据丢失 -bs_test_release_check.cpp(44): warning C4101: “rels”: 未引用的局部变量 -bs_test_release_check.cpp(45): warning C4101: “val”: 未引用的局部变量 -bs_test_release_check.cpp(44): warning C4101: “win”: 未引用的局部变量 -bs_test_release_check.cpp(44): warning C4101: “top”: 未引用的局部变量 -bs_test_release_check.cpp(44): warning C4101: “tags”: 未引用的局部变量 -bs_test_release_check.cpp(44): warning C4101: “tag”: 未引用的局部变量 -bs_test_release_check.cpp(43): warning C4101: “tag_cnt”: 未引用的局部变量 -bs_test_release_check.cpp(43): warning C4101: “rel_cnt”: 未引用的局部变量 - bs_wl_check.cpp -e:\work\vs_workspace\jditk\hezon_itk\epm_handler_common.h : warning C4819: 该文件包含不能在当前代码页(936)中表示的字符。请将该文件保存为 Unicode 格式以防止数据丢失 -E:\work\include12_2\pom/pom/pom.h(806): warning C4819: 该文件包含不能在当前代码页(936)中表示的字符。请将该文件保存为 Unicode 格式以防止数据丢失 -E:\work\include12_2\pom/pom/pom.h(5417): warning C4819: 该文件包含不能在当前代码页(936)中表示的字符。请将该文件保存为 Unicode 格式以防止数据丢失 - epm_register_handler.cxx -epm_register_handler.cxx(50): warning C4101: “now”: 未引用的局部变量 -epm_register_handler.cxx(49): warning C4101: “expire_date”: 未引用的局部变量 -epm_register_handler.cxx(49): warning C4101: “date_buf”: 未引用的局部变量 -epm_register_handler.cxx(51): warning C4101: “p”: 未引用的局部变量 - bs_custom_main.cxx - jd_add_attachments.cpp -e:\work\vs_workspace\jditk\hezon_itk\epm_handler_common.h : warning C4819: 该文件包含不能在当前代码页(936)中表示的字符。请将该文件保存为 Unicode 格式以防止数据丢失 -E:\work\include12_2\pom/pom/pom.h(806): warning C4819: 该文件包含不能在当前代码页(936)中表示的字符。请将该文件保存为 Unicode 格式以防止数据丢失 -E:\work\include12_2\pom/pom/pom.h(5417): warning C4819: 该文件包含不能在当前代码页(936)中表示的字符。请将该文件保存为 Unicode 格式以防止数据丢失 -jd_add_attachments.cpp(114): warning C4267: “参数”: 从“size_t”转换到“int”,可能丢失数据 - jd_batch_process.cpp -e:\work\vs_workspace\jditk\hezon_itk\HTTPRequest.hpp(193): warning C4267: “参数”: 从“size_t”转换到“int”,可能丢失数据 -e:\work\vs_workspace\jditk\hezon_itk\HTTPRequest.hpp(199): warning C4267: “参数”: 从“size_t”转换到“int”,可能丢失数据 -e:\work\vs_workspace\jditk\hezon_itk\epm_handler_common.h : warning C4819: 该文件包含不能在当前代码页(936)中表示的字符。请将该文件保存为 Unicode 格式以防止数据丢失 -E:\work\include12_2\pom/pom/pom.h(806): warning C4819: 该文件包含不能在当前代码页(936)中表示的字符。请将该文件保存为 Unicode 格式以防止数据丢失 -E:\work\include12_2\pom/pom/pom.h(5417): warning C4819: 该文件包含不能在当前代码页(936)中表示的字符。请将该文件保存为 Unicode 格式以防止数据丢失 -jd_batch_process.cpp(155): warning C4267: “参数”: 从“size_t”转换到“int”,可能丢失数据 -jd_batch_process.cpp(85): warning C4101: “rels”: 未引用的局部变量 -jd_batch_process.cpp(85): warning C4101: “new_process”: 未引用的局部变量 -jd_batch_process.cpp(86): warning C4101: “val”: 未引用的局部变量 -jd_batch_process.cpp(85): warning C4101: “win”: 未引用的局部变量 -jd_batch_process.cpp(85): warning C4101: “top”: 未引用的局部变量 -jd_batch_process.cpp(85): warning C4101: “tags”: 未引用的局部变量 -jd_batch_process.cpp(85): warning C4101: “tag”: 未引用的局部变量 -jd_batch_process.cpp(84): warning C4101: “tag_cnt”: 未引用的局部变量 -jd_batch_process.cpp(84): warning C4101: “rel_cnt”: 未引用的局部变量 - jd_clear_field.cpp -E:\work\include12_2\pom/pom/pom.h(806): warning C4819: 该文件包含不能在当前代码页(936)中表示的字符。请将该文件保存为 Unicode 格式以防止数据丢失 -E:\work\include12_2\pom/pom/pom.h(5417): warning C4819: 该文件包含不能在当前代码页(936)中表示的字符。请将该文件保存为 Unicode 格式以防止数据丢失 -jd_clear_field.cpp(119): warning C4267: “初始化”: 从“size_t”转换到“uint32_t”,可能丢失数据 -jd_clear_field.cpp(181): warning C4190: “GBKToUTF8”有指定的 C 链接,但返回了与 C 不兼容的 UDT“std::basic_string,std::allocator>” - C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\include\xstring(2633): note: 参见“std::basic_string,std::allocator>”的声明 -jd_clear_field.cpp(255): warning C4996: 'getenv': This function or variable may be unsafe. Consider using _dupenv_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. - C:\Program Files (x86)\Windows Kits\10\Include\10.0.10240.0\ucrt\stdlib.h(1183): note: 参见“getenv”的声明 -jd_clear_field.cpp(275): warning C4996: '_snprintf': This function or variable may be unsafe. Consider using _snprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. - C:\Program Files (x86)\Windows Kits\10\Include\10.0.10240.0\ucrt\stdio.h(1952): note: 参见“_snprintf”的声明 -jd_clear_field.cpp(287): warning C4996: 'getenv': This function or variable may be unsafe. Consider using _dupenv_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. - C:\Program Files (x86)\Windows Kits\10\Include\10.0.10240.0\ucrt\stdlib.h(1183): note: 参见“getenv”的声明 -jd_clear_field.cpp(289): warning C4477: “printf”: 格式字符串“%s”需要类型“char *”的参数,但可变参数 1 拥有了类型“const wchar_t *” - jd_clear_field.cpp(289): note: 请考虑在格式字符串中使用“%ls” - jd_clear_field.cpp(289): note: 请考虑在格式字符串中使用“%lls” - jd_clear_field.cpp(289): note: 请考虑在格式字符串中使用“%Ls” - jd_clear_field.cpp(289): note: 请考虑在格式字符串中使用“%ws” -jd_clear_field.cpp(244): warning C4101: “sign_location1”: 未引用的局部变量 -jd_clear_field.cpp(249): warning C4101: “rev_attachments”: 未引用的局部变量 -jd_clear_field.cpp(247): warning C4101: “ref_obj”: 未引用的局部变量 -jd_clear_field.cpp(245): warning C4101: “attach_type”: 未引用的局部变量 -jd_clear_field.cpp(244): warning C4101: “sign_str”: 未引用的局部变量 -jd_clear_field.cpp(504): warning C4101: “err_function”: 未引用的局部变量 -jd_clear_field.cpp(504): warning C4101: “err_string”: 未引用的局部变量 - jd_schedule_joint.cpp -e:\work\vs_workspace\jditk\hezon_itk\epm_handler_common.h : warning C4819: 该文件包含不能在当前代码页(936)中表示的字符。请将该文件保存为 Unicode 格式以防止数据丢失 -E:\work\include12_2\pom/pom/pom.h(806): warning C4819: 该文件包含不能在当前代码页(936)中表示的字符。请将该文件保存为 Unicode 格式以防止数据丢失 -E:\work\include12_2\pom/pom/pom.h(5417): warning C4819: 该文件包含不能在当前代码页(936)中表示的字符。请将该文件保存为 Unicode 格式以防止数据丢失 - jd_signoff.cpp -e:\work\vs_workspace\jditk\hezon_itk\epm_handler_common.h : warning C4819: 该文件包含不能在当前代码页(936)中表示的字符。请将该文件保存为 Unicode 格式以防止数据丢失 -E:\work\include12_2\pom/pom/pom.h(806): warning C4819: 该文件包含不能在当前代码页(936)中表示的字符。请将该文件保存为 Unicode 格式以防止数据丢失 -E:\work\include12_2\pom/pom/pom.h(5417): warning C4819: 该文件包含不能在当前代码页(936)中表示的字符。请将该文件保存为 Unicode 格式以防止数据丢失 -jd_signoff.cpp(82): warning C4267: “初始化”: 从“size_t”转换到“uint32_t”,可能丢失数据 -jd_signoff.cpp(232): warning C4996: 'localtime': This function or variable may be unsafe. Consider using localtime_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. - C:\Program Files (x86)\Windows Kits\10\Include\10.0.10240.0\ucrt\time.h(505): note: 参见“localtime”的声明 -jd_signoff.cpp(247): warning C4996: '_snprintf': This function or variable may be unsafe. Consider using _snprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. - C:\Program Files (x86)\Windows Kits\10\Include\10.0.10240.0\ucrt\stdio.h(1952): note: 参见“_snprintf”的声明 -jd_signoff.cpp(266): warning C4996: 'getenv': This function or variable may be unsafe. Consider using _dupenv_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. - C:\Program Files (x86)\Windows Kits\10\Include\10.0.10240.0\ucrt\stdlib.h(1183): note: 参见“getenv”的声明 -jd_signoff.cpp(369): warning C4996: 'getenv': This function or variable may be unsafe. Consider using _dupenv_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. - C:\Program Files (x86)\Windows Kits\10\Include\10.0.10240.0\ucrt\stdlib.h(1183): note: 参见“getenv”的声明 -jd_signoff.cpp(226): warning C4101: “verdict”: 未引用的局部变量 -jd_signoff.cpp(260): warning C4101: “rev_attachments”: 未引用的局部变量 -jd_signoff.cpp(259): warning C4101: “ref_obj”: 未引用的局部变量 -jd_signoff.cpp(257): warning C4101: “attach_type”: 未引用的局部变量 -jd_signoff.cpp(221): warning C4101: “sign_str”: 未引用的局部变量 - util.cpp -e:\work\vs_workspace\jditk\hezon_itk\epm_handler_common.h : warning C4819: 该文件包含不能在当前代码页(936)中表示的字符。请将该文件保存为 Unicode 格式以防止数据丢失 -E:\work\include12_2\pom/pom/pom.h(806): warning C4819: 该文件包含不能在当前代码页(936)中表示的字符。请将该文件保存为 Unicode 格式以防止数据丢失 -E:\work\include12_2\pom/pom/pom.h(5417): warning C4819: 该文件包含不能在当前代码页(936)中表示的字符。请将该文件保存为 Unicode 格式以防止数据丢失 -util.cpp(32): warning C4267: “初始化”: 从“size_t”转换到“int”,可能丢失数据 -util.cpp(49): warning C4996: '_snprintf': This function or variable may be unsafe. Consider using _snprintf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See online help for details. - C:\Program Files (x86)\Windows Kits\10\Include\10.0.10240.0\ucrt\stdio.h(1952): note: 参见“_snprintf”的声明 - 正在生成代码... -c:\java\jdk1.8.0_231\include\jni.h(1442): warning C4793: “JNIEnv_::CallStaticIntMethod”: 编译为本机的函数: - /clr 下不支持 varargs -c:\java\jdk1.8.0_231\include\jni.h(1445): warning C4793: “JNIEnv_::CallStaticIntMethod”: 编译为本机的函数: - 托管代码中发现一个不受支持的内部函数 -c:\java\jdk1.8.0_231\include\jni.h(1447): warning C4793: “JNIEnv_::CallStaticIntMethod”: 编译为本机的函数: - 托管代码中发现一个不受支持的内部函数 -c:\java\jdk1.8.0_231\include\jni.h(1352): warning C4793: “JNIEnv_::CallStaticObjectMethod”: 编译为本机的函数: - /clr 下不支持 varargs -c:\java\jdk1.8.0_231\include\jni.h(1355): warning C4793: “JNIEnv_::CallStaticObjectMethod”: 编译为本机的函数: - 托管代码中发现一个不受支持的内部函数 -c:\java\jdk1.8.0_231\include\jni.h(1357): warning C4793: “JNIEnv_::CallStaticObjectMethod”: 编译为本机的函数: - 托管代码中发现一个不受支持的内部函数 -c:\java\jdk1.8.0_231\include\jni.h(868): warning C4793: “JNIEnv_::NewObject”: 编译为本机的函数: - /clr 下不支持 varargs -c:\java\jdk1.8.0_231\include\jni.h(871): warning C4793: “JNIEnv_::NewObject”: 编译为本机的函数: - 托管代码中发现一个不受支持的内部函数 -c:\java\jdk1.8.0_231\include\jni.h(873): warning C4793: “JNIEnv_::NewObject”: 编译为本机的函数: - 托管代码中发现一个不受支持的内部函数 -c:\java\jdk1.8.0_231\include\jni.h(1051): warning C4793: “JNIEnv_::CallVoidMethod”: 编译为本机的函数: - /clr 下不支持 varargs -c:\java\jdk1.8.0_231\include\jni.h(1053): warning C4793: “JNIEnv_::CallVoidMethod”: 编译为本机的函数: - 托管代码中发现一个不受支持的内部函数 -c:\java\jdk1.8.0_231\include\jni.h(1055): warning C4793: “JNIEnv_::CallVoidMethod”: 编译为本机的函数: - 托管代码中发现一个不受支持的内部函数 -e:\work\vs_workspace\jditk\hezon_itk\jd_clear_field.cpp(480): warning C4793: “JD_Revise_clear”: 编译为本机的函数: - 托管代码中发现一个不受支持的内部函数 -e:\work\vs_workspace\jditk\hezon_itk\jd_clear_field.cpp(481): warning C4793: “JD_Revise_clear”: 编译为本机的函数: - 托管代码中发现一个不受支持的内部函数 -c:\java\jdk1.8.0_231\include\jni.h(1442): warning C4793: “JNIEnv_::CallStaticIntMethod”: 编译为本机的函数: - /clr 下不支持 varargs -c:\java\jdk1.8.0_231\include\jni.h(1445): warning C4793: “JNIEnv_::CallStaticIntMethod”: 编译为本机的函数: - 托管代码中发现一个不受支持的内部函数 -c:\java\jdk1.8.0_231\include\jni.h(1447): warning C4793: “JNIEnv_::CallStaticIntMethod”: 编译为本机的函数: - 托管代码中发现一个不受支持的内部函数 -c:\java\jdk1.8.0_231\include\jni.h(1352): warning C4793: “JNIEnv_::CallStaticObjectMethod”: 编译为本机的函数: - /clr 下不支持 varargs -c:\java\jdk1.8.0_231\include\jni.h(1355): warning C4793: “JNIEnv_::CallStaticObjectMethod”: 编译为本机的函数: - 托管代码中发现一个不受支持的内部函数 -c:\java\jdk1.8.0_231\include\jni.h(1357): warning C4793: “JNIEnv_::CallStaticObjectMethod”: 编译为本机的函数: - 托管代码中发现一个不受支持的内部函数 -c:\java\jdk1.8.0_231\include\jni.h(868): warning C4793: “JNIEnv_::NewObject”: 编译为本机的函数: - /clr 下不支持 varargs -c:\java\jdk1.8.0_231\include\jni.h(871): warning C4793: “JNIEnv_::NewObject”: 编译为本机的函数: - 托管代码中发现一个不受支持的内部函数 -c:\java\jdk1.8.0_231\include\jni.h(873): warning C4793: “JNIEnv_::NewObject”: 编译为本机的函数: - 托管代码中发现一个不受支持的内部函数 -c:\java\jdk1.8.0_231\include\jni.h(1051): warning C4793: “JNIEnv_::CallVoidMethod”: 编译为本机的函数: - /clr 下不支持 varargs -c:\java\jdk1.8.0_231\include\jni.h(1053): warning C4793: “JNIEnv_::CallVoidMethod”: 编译为本机的函数: - 托管代码中发现一个不受支持的内部函数 -c:\java\jdk1.8.0_231\include\jni.h(1055): warning C4793: “JNIEnv_::CallVoidMethod”: 编译为本机的函数: - 托管代码中发现一个不受支持的内部函数 -e:\work\vs_workspace\jditk\hezon_itk\bs_bom_save_check.cpp(50): warning C4793: “bs_bom_save_check”: 编译为本机的函数: - 托管代码中发现一个不受支持的内部函数 - .NETFramework,Version=v4.0.AssemblyAttributes.cpp -C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppBuild.targets(1189,5): warning MSB8012: TargetPath(E:\work\vs_workspace\jditk\x64\Release\HEZON_ITK.dll) does not match the Linker's OutputFile property value (E:\work\vs_workspace\jditk\x64\Release\bs.dll). This may cause your project to build incorrectly. To correct this, please make sure that $(OutDir), $(TargetName) and $(TargetExt) property values match the value specified in %(Link.OutputFile). + jd_check_wlms_len.cpp +c:\users\89512\documents\visual studio 2015\projects\itk\hezon_itk\epm_handler_common.h : warning C4819: 该文件包含不能在当前代码页(936)中表示的字符。请将该文件保存为 Unicode 格式以防止数据丢失 +C:\Users\89512\Documents\Visual Studio 2015\Projects\itk\packages\teamcenter.12.0.0\lib\native\include\pom/pom/pom.h(816): warning C4819: 该文件包含不能在当前代码页(936)中表示的字符。请将该文件保存为 Unicode 格式以防止数据丢失 +C:\Users\89512\Documents\Visual Studio 2015\Projects\itk\packages\teamcenter.12.0.0\lib\native\include\pom/pom/pom.h(5420): warning C4819: 该文件包含不能在当前代码页(936)中表示的字符。请将该文件保存为 Unicode 格式以防止数据丢失 +C:\Users\89512\Documents\Visual Studio 2015\Projects\itk\packages\teamcenter.12.0.0\lib\native\include\qry/qry.h(591): warning C4819: 该文件包含不能在当前代码页(936)中表示的字符。请将该文件保存为 Unicode 格式以防止数据丢失 +C:\Users\89512\Documents\Visual Studio 2015\Projects\itk\packages\teamcenter.12.0.0\lib\native\include\qry/qry.h(591): warning C4819: 该文件包含不能在当前代码页(936)中表示的字符。请将该文件保存为 Unicode 格式以防止数据丢失 +c:\users\89512\documents\visual studio 2015\projects\itk\hezon_itk\jd_check_wlms_len.cpp(48): warning C4715: “jd_check_wlms_len”: 不是所有的控件路径都返回值 +C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppBuild.targets(1189,5): warning MSB8012: TargetPath(C:\Users\89512\Documents\Visual Studio 2015\Projects\itk\x64\Release\HEZON_ITK.dll) does not match the Linker's OutputFile property value (C:\Users\89512\Documents\Visual Studio 2015\Projects\itk\x64\Release\bs.dll). This may cause your project to build incorrectly. To correct this, please make sure that $(OutDir), $(TargetName) and $(TargetExt) property values match the value specified in %(Link.OutputFile). C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppBuild.targets(1191,5): warning MSB8012: TargetName(HEZON_ITK) does not match the Linker's OutputFile property value (bs). This may cause your project to build incorrectly. To correct this, please make sure that $(OutDir), $(TargetName) and $(TargetExt) property values match the value specified in %(Link.OutputFile). util.obj : warning LNK4006: "bool __cdecl isTypeOf(unsigned int,char const *)" (?isTypeOf@@$$FYA_NIPEBD@Z) 已在 jd_signoff.obj 中定义;已忽略第二个定义 util.obj : warning LNK4006: "bool __cdecl isTypeOf(unsigned int,char const *)" (?isTypeOf@@YA_NIPEBD@Z) 已在 jd_signoff.obj 中定义;已忽略第二个定义 MSVCRT.lib(default_local_stdio_options.obj) : warning LNK4006: __local_stdio_printf_options 已在 libassy_jt.lib(libassy_jt.dll) 中定义;已忽略第二个定义 - 正在创建库 E:\work\vs_workspace\jditk\x64\Release\\bs.lib 和对象 E:\work\vs_workspace\jditk\x64\Release\\bs.exp + 正在创建库 C:\Users\89512\Documents\Visual Studio 2015\Projects\itk\x64\Release\\bs.lib 和对象 C:\Users\89512\Documents\Visual Studio 2015\Projects\itk\x64\Release\\bs.exp jd_signoff.obj : warning LNK4248: 无法解析 typeref 标记(01000016)(为“_jmethodID”);映像可能无法运行 jd_clear_field.obj : warning LNK4248: 无法解析 typeref 标记(01000017)(为“_jmethodID”);映像可能无法运行 -E:\work\vs_workspace\jditk\x64\Release\\bs.dll : warning LNK4088: 因 /FORCE 选项生成了映像;映像可能不能运行 - HEZON_ITK.vcxproj -> E:\work\vs_workspace\jditk\x64\Release\HEZON_ITK.dll - HEZON_ITK.vcxproj -> E:\work\vs_workspace\jditk\x64\Release\HEZON_ITK.pdb (Full PDB) +C:\Users\89512\Documents\Visual Studio 2015\Projects\itk\x64\Release\\bs.dll : warning LNK4088: 因 /FORCE 选项生成了映像;映像可能不能运行 + HEZON_ITK.vcxproj -> C:\Users\89512\Documents\Visual Studio 2015\Projects\itk\x64\Release\HEZON_ITK.dll + HEZON_ITK.vcxproj -> C:\Users\89512\Documents\Visual Studio 2015\Projects\itk\x64\Release\HEZON_ITK.pdb (Full PDB) diff --git a/HEZON_ITK/x64/Release/HEZON_ITK.tlog/CL.command.1.tlog b/HEZON_ITK/x64/Release/HEZON_ITK.tlog/CL.command.1.tlog index 9f3de78..f7a6a3b 100644 Binary files a/HEZON_ITK/x64/Release/HEZON_ITK.tlog/CL.command.1.tlog and b/HEZON_ITK/x64/Release/HEZON_ITK.tlog/CL.command.1.tlog differ diff --git a/HEZON_ITK/x64/Release/HEZON_ITK.tlog/CL.read.1.tlog b/HEZON_ITK/x64/Release/HEZON_ITK.tlog/CL.read.1.tlog index b2bee6d..013f121 100644 Binary files a/HEZON_ITK/x64/Release/HEZON_ITK.tlog/CL.read.1.tlog and b/HEZON_ITK/x64/Release/HEZON_ITK.tlog/CL.read.1.tlog differ diff --git a/HEZON_ITK/x64/Release/HEZON_ITK.tlog/CL.write.1.tlog b/HEZON_ITK/x64/Release/HEZON_ITK.tlog/CL.write.1.tlog index 699eb93..640fb62 100644 Binary files a/HEZON_ITK/x64/Release/HEZON_ITK.tlog/CL.write.1.tlog and b/HEZON_ITK/x64/Release/HEZON_ITK.tlog/CL.write.1.tlog differ diff --git a/HEZON_ITK/x64/Release/HEZON_ITK.tlog/HEZON_ITK.lastbuildstate b/HEZON_ITK/x64/Release/HEZON_ITK.tlog/HEZON_ITK.lastbuildstate index 7097f65..b61b304 100644 --- a/HEZON_ITK/x64/Release/HEZON_ITK.tlog/HEZON_ITK.lastbuildstate +++ b/HEZON_ITK/x64/Release/HEZON_ITK.tlog/HEZON_ITK.lastbuildstate @@ -1,2 +1,2 @@ #TargetFrameworkVersion=v4.0:PlatformToolSet=v140:EnableManagedIncrementalBuild=true:VCToolArchitecture=Native32Bit:WindowsTargetPlatformVersion=8.1 -Release|x64|E:\work\vs_workspace\jditk\| +Release|x64|C:\Users\89512\Documents\Visual Studio 2015\Projects\itk\| diff --git a/HEZON_ITK/x64/Release/HEZON_ITK.tlog/link.command.1.tlog b/HEZON_ITK/x64/Release/HEZON_ITK.tlog/link.command.1.tlog index c1b2d9d..c96e813 100644 Binary files a/HEZON_ITK/x64/Release/HEZON_ITK.tlog/link.command.1.tlog and b/HEZON_ITK/x64/Release/HEZON_ITK.tlog/link.command.1.tlog differ diff --git a/HEZON_ITK/x64/Release/HEZON_ITK.tlog/link.read.1.tlog b/HEZON_ITK/x64/Release/HEZON_ITK.tlog/link.read.1.tlog index 10e759e..8c6a9ff 100644 Binary files a/HEZON_ITK/x64/Release/HEZON_ITK.tlog/link.read.1.tlog and b/HEZON_ITK/x64/Release/HEZON_ITK.tlog/link.read.1.tlog differ diff --git a/HEZON_ITK/x64/Release/HEZON_ITK.tlog/link.write.1.tlog b/HEZON_ITK/x64/Release/HEZON_ITK.tlog/link.write.1.tlog index 7b79860..e79881c 100644 Binary files a/HEZON_ITK/x64/Release/HEZON_ITK.tlog/link.write.1.tlog and b/HEZON_ITK/x64/Release/HEZON_ITK.tlog/link.write.1.tlog differ diff --git a/HEZON_ITK/x64/Release/HEZON_ITK.tlog/metagen.read.1.tlog b/HEZON_ITK/x64/Release/HEZON_ITK.tlog/metagen.read.1.tlog index 7b08896..c9fd4fc 100644 Binary files a/HEZON_ITK/x64/Release/HEZON_ITK.tlog/metagen.read.1.tlog and b/HEZON_ITK/x64/Release/HEZON_ITK.tlog/metagen.read.1.tlog differ diff --git a/HEZON_ITK/x64/Release/HEZON_ITK.tlog/metagen.write.1.tlog b/HEZON_ITK/x64/Release/HEZON_ITK.tlog/metagen.write.1.tlog index 69870a7..a5aa0e5 100644 Binary files a/HEZON_ITK/x64/Release/HEZON_ITK.tlog/metagen.write.1.tlog and b/HEZON_ITK/x64/Release/HEZON_ITK.tlog/metagen.write.1.tlog differ diff --git a/HEZON_ITK/x64/Release/vc140.pdb b/HEZON_ITK/x64/Release/vc140.pdb index e5a9ace..c57c4fd 100644 Binary files a/HEZON_ITK/x64/Release/vc140.pdb and b/HEZON_ITK/x64/Release/vc140.pdb differ diff --git a/x64/Release/HEZON_ITK.pdb b/x64/Release/HEZON_ITK.pdb index 44480a7..3dd2f3d 100644 Binary files a/x64/Release/HEZON_ITK.pdb and b/x64/Release/HEZON_ITK.pdb differ diff --git a/x64/Release/bs.exp b/x64/Release/bs.exp index ae68178..929f10c 100644 Binary files a/x64/Release/bs.exp and b/x64/Release/bs.exp differ