-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathSBChSUnicode.inc
78 lines (65 loc) · 2.15 KB
/
SBChSUnicode.inc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
{$I SecBbox.inc}
{$UNDEF _MAKE_RESOURCES_}
{$UNDEF _USED_RESOURCES_}
{$UNDEF _MAKE_RESOURCES_}
{$UNDEF _USES_RESOURCES_}
{$UNDEF _RESNET_SERIALIZABLE_}
{$UNDEF _STRING_RESOURCES_}
{$IFDEF DELPHI_NET}
{$DEFINE _USED_RESOURCES_} // Include Charsets Resources.
{$IFDEF NET_CF}
{$DEFINE _STRING_RESOURCES_}
{$ENDIF}
// .Net Serialization option:
{.$DEFINE _RESNET_SERIALIZABLE_} // Not recommended it option (Resources are dependent from current assembly (project name, etc) ).
{$ELSE}
{.$DEFINE _USED_RESOURCES_} // Include Charsets Resources. Not recommended it options for not .Net platform.
{$ENDIF}
// Developer Options begin:
// ***********************
{$IFNDEF _USED_RESOURCES_}
{.$DEFINE _MAKE_RESOURCES_}
(*
// Delphi 4,5,6,7
// For generation Resource File ".res" need call procedure: "SerializeRegisteredCharsets()"
--- compile resource bath file "Compile_rc.bat" ---
@echo off
call make_prj.bat 7 ?
BRCC32.EXE SecureBlackbox.Unicode.rc
if %ERRORLEVEL% == 0 goto L_OK
echo ERROR: (%ERRORLEVEL%)
goto L_EXIT
:L_OK
echo Done.
:L_EXIT
exit
---------------------------------------------------
>Compile_rc.bat
// .Net:
//
// For generation XML Resource File ".resx" need call procedure: "SerializeRegisteredCharsets()"
-- compile resource bath file "Compile_ResX.bat" --
@echo off
set DOT_NET_SDK_ROOT_DIR=H:\PROGRAMs\DEV\Miscrosoft\VS.NET.2003\SDK\v1.1
set path=%DOT_NET_SDK_ROOT_DIR%\Bin;%path%
resGen.exe EldoS.SecureBlackbox.Unicode.struct.resx
---------------------------------------------------
>Compile_ResX.bat
*)
{$UNDEF _MAKE_RESOURCES_BINARY_}
{$IFDEF _MAKE_RESOURCES_}
// todo: do not correctly generated binary resource
{.$DEFINE _MAKE_RESOURCES_BINARY_} // For generation binary resource ".resources"
{$ENDIF}
{$ENDIF IFNDEF _USED_RESOURCES_}
// Developer Options end.
// ***********************
{$IFDEF _MAKE_RESOURCES_}
{$DEFINE _USES_RESOURCES_}
{$ENDIF}
{$IFDEF _USED_RESOURCES_}
{$DEFINE _USES_RESOURCES_}
{$ENDIF}
{$ifndef CHROME}
{$J-,B-}
{$endif}