c# - Why does the resource file format change after syncing from Perforce? -
i have active template library project used starting point writing dynamic link library (dll). has resource header: resource.h (this standard header file defines resource ids.)
it looks this:
//{{no_dependencies}} // microsoft visual c++ generated include file. // used myproject.rc // #define ids_projname 100 #define idr_myproject 101 #define idb_myprojectfilt 106 #define idr_myprojectfilt 107 // next default values new objects // #ifdef apstudio_invoked #ifndef apstudio_readonly_symbols #define _aps_next_resource_value 201 #define _aps_next_command_value 32768 #define _aps_next_control_value 201 #define _aps_next_symed_value 108 #endif #endif now, after sync file depot using perforce (p4 client , not command-line), resource file changes this:
//{{no_dependencies}} ⼀⼀ 䴀椀挀爀漀猀漀昀琀 嘀椀猀甀愀氀 䌀⬀⬀ 最攀渀攀爀愀琀攀搀 椀渀挀氀甀搀攀 昀椀氀 攀⸀ഀഀ // used myproject.rc ⼀⼀ഀഀ #define ids_projname 100 ⌀搀攀昀椀渀攀 䤀䐀刀开䄀唀䐀䤀伀匀倀䠀䔀刀䔀 ഀഀ #define idb_myprojectfilt 106 ⌀搀攀昀椀渀攀 䤀䐀刀开䄀唀䐀䤀伀匀倀䠀䔀刀䔀䘀䤀䰀吀 㜀ഀഀ ⼀⼀ 一攀砀琀 搀攀昀愀甀氀琀 瘀愀氀甀攀猀 昀漀爀 渀攀眀 漀戀樀攀挀琀猀ഀഀ // ⌀椀昀搀攀昀 䄀倀匀吀唀䐀䤀伀开䤀一嘀伀䬀䔀䐀ഀഀ #ifndef apstudio_readonly_symbols ⌀搀攀昀椀渀攀 开䄀倀匀开一䔀堀吀开刀䔀匀伀唀刀䌀䔀开嘀䄀䰀唀䔀 ㈀ ഀഀ #define _aps_next_command_value 32768 ⌀搀攀昀椀渀攀 开䄀倀匀开一䔀堀吀开䌀伀一吀刀伀䰀开嘀䄀䰀唀䔀 ㈀ ഀഀ #define _aps_next_symed_value 108 ⌀攀渀搀椀昀ഀഀ #endif does have project properties? or, has got p4 client? please help. thanks.
Comments
Post a Comment