-
Notifications
You must be signed in to change notification settings - Fork 15
/
psqlodbc.rc
936 lines (856 loc) · 37.7 KB
/
psqlodbc.rc
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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
//Microsoft Developer Studio generated resource script.
//
#include "resource.h"
#define APSTUDIO_READONLY_SYMBOLS
/////////////////////////////////////////////////////////////////////////////
//
// Generated from the TEXTINCLUDE 2 resource.
//
#include "winresrc.h"
#ifndef IDC_STATIC
#define IDC_STATIC (-1)
#endif
#include "version.h"
/////////////////////////////////////////////////////////////////////////////
#undef APSTUDIO_READONLY_SYMBOLS
/////////////////////////////////////////////////////////////////////////////
// Japanese resources
#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_JPN)
#ifdef _WIN32
LANGUAGE LANG_JAPANESE, SUBLANG_DEFAULT
#pragma code_page(932)
#endif //_WIN32
/////////////////////////////////////////////////////////////////////////////
//
// Dialog
//
DLG_CONFIG DIALOGEX 65, 43, 359, 219
STYLE DS_MODALFRAME | DS_3DLOOK | DS_CENTER | WS_POPUP | WS_VISIBLE |
WS_CAPTION | WS_SYSMENU
#ifdef UNICODE_SUPPORT
CAPTION "PostgreSQL Unicode ODBC セットアップ"
#else
CAPTION "PostgreSQL ANSI ODBC セットアップ"
#endif
FONT 9, "MS ゴシック", 0, 0, 0x1
BEGIN
RTEXT "デ-タソ-ス名:(&N)",IDC_DSNAMETEXT,2,9,63,17,NOT
WS_GROUP,WS_EX_TRANSPARENT | WS_EX_RIGHT
EDITTEXT IDC_DSNAME,72,12,188,13,ES_AUTOHSCROLL | WS_GROUP,
WS_EX_TRANSPARENT
RTEXT "説明:(&D)",IDC_DESCTEXT,5,31,60,16,SS_CENTERIMAGE | NOT
WS_GROUP,WS_EX_TRANSPARENT | WS_EX_RIGHT
EDITTEXT IDC_DESC,72,32,188,13,ES_AUTOHSCROLL,WS_EX_TRANSPARENT
RTEXT "SSL Mode:(&L)",IDC_STATIC,16,49,49,9,NOT WS_GROUP
COMBOBOX IDC_SSLMODE,72,47,90,56,CBS_DROPDOWNLIST | WS_VSCROLL |
WS_TABSTOP
LTEXT "libpqライブラリload不可:SSL接続は使用できません",
IDC_NOTICE_USER,165,50,190,10
RTEXT "サ-バ-名:(&S)",IDC_STATIC,17,68,48,15,NOT WS_GROUP
EDITTEXT IDC_SERVER,72,66,203,14,ES_AUTOHSCROLL
RTEXT "デ-タベ-ス名:(&b)",IDC_STATIC,5,91,60,15,NOT WS_GROUP
EDITTEXT IDC_DATABASE,72,88,203,14,ES_AUTOHSCROLL
RTEXT "&Port:",IDC_STATIC,281,101,22,11
EDITTEXT IDC_PORT,307,99,37,14,ES_AUTOHSCROLL
RTEXT "ユ-ザ-名:(&U)",IDC_STATIC,18,139,47,15
EDITTEXT IDC_USER,72,135,162,14,ES_AUTOHSCROLL
RTEXT "パスワ-ド:(&w)",IDC_STATIC,21,159,46,15
EDITTEXT IDC_PASSWORD,72,157,162,13,ES_PASSWORD | ES_AUTOHSCROLL
DEFPUSHBUTTON "OK",IDOK,295,61,52,14,WS_GROUP
PUSHBUTTON "キャンセル",IDCANCEL,296,80,51,14
GROUPBOX "オプション (高度な設定)",IDC_OPTIONS,249,119,99,59,
BS_CENTER
PUSHBUTTON "全体設定",IDC_DRIVER,269,155,53,15
PUSHBUTTON "デ-タソ-ス",IDC_DATASOURCE,269,132,53,15
GROUPBOX "既定の認証",IDC_STATIC,11,119,235,59
LTEXT "PostgreSQL Ver7.3 Copyright (C) 1998-2006; Insight Distribution Systems",
IDC_STATIC,36,186,302,9
LTEXT "In the original form, Japanese patch Hiroshi-saito",
IDC_STATIC,35,198,295,8
PUSHBUTTON "管理",IDC_MANAGEDSN,295,10,50,14
PUSHBUTTON "テスト",IDC_TEST,296,30,51,14
END
#define MISC_X
#define MISC_Y 155
#define MISC_Y1 (MISC_Y+11)
#define MISC_Y2 (MISC_Y+28)
#define MISC_Y3 (MISC_Y+45)
DLG_OPTIONS_DRV DIALOG DISCARDABLE 0, 0, 350, 241
STYLE DS_MODALFRAME | DS_3DLOOK | DS_CENTER | WS_POPUP | WS_CAPTION |
WS_SYSMENU
CAPTION "高度な設定 (データソース1)"
FONT 9, "MS ゴシック"
BEGIN
PUSHBUTTON "設定2",ID2NDPAGE,5,5,40,15
PUSHBUTTON "設定3",ID3RDPAGE,49,5,40,15
CONTROL "一般ログ出力をする(&L) (C:\\psqlodbc.log)",DRV_COMMLOG,
"Button",BS_AUTOCHECKBOX | WS_TABSTOP,167,24,167,10
EDITTEXT DS_COMMLOG,337,24,13,12,ES_AUTOHSCROLL | WS_GROUP,
WS_EX_TRANSPARENT
CONTROL "ユニ-クインデックスを使う(&I)",DRV_UNIQUEINDEX,"Button",
BS_AUTOCHECKBOX | WS_TABSTOP,15,56,129,10
CONTROL "タイムアウト無視",DS_IGNORETIMEOUT,"Button",
BS_AUTOCHECKBOX | WS_TABSTOP,167,56,129,10
CONTROL "ステ-トメントの構文解析を行なう(&a)",DRV_PARSE,"Button",
BS_AUTOCHECKBOX | WS_TABSTOP,167,40,152,10
CONTROL "Declare~Fetchを使用する(&U)",DRV_USEDECLAREFETCH,
"Button",BS_AUTOCHECKBOX | WS_TABSTOP,15,71,138,10
CONTROL "詳細ログ出力をする(C:\\mylog_xxxx.log)",DRV_DEBUG,
"Button",BS_AUTOCHECKBOX | WS_TABSTOP,167,69,164,10
EDITTEXT DS_DEBUG,337,69,13,12,ES_AUTOHSCROLL | WS_GROUP,
WS_EX_TRANSPARENT
GROUPBOX "未知のサイズ動作",IDC_STATIC,5,85,340,31
CONTROL "最大をとる",DRV_UNKNOWN_MAX,"Button",BS_AUTORADIOBUTTON |
WS_GROUP | WS_TABSTOP,17,98,57,10
CONTROL "特定しない",DRV_UNKNOWN_DONTKNOW,"Button",
BS_AUTORADIOBUTTON | WS_TABSTOP,99,98,59,10
CONTROL "最長をとる",DRV_UNKNOWN_LONGEST,"Button",
BS_AUTORADIOBUTTON | WS_TABSTOP,173,98,60,10
GROUPBOX "デ-タ タイプ オプション",IDC_STATIC,5,119,340,32
CONTROL "textを長文字列として扱う",DRV_TEXT_LONGVARCHAR,"Button",
BS_AUTOCHECKBOX | WS_GROUP | WS_TABSTOP,12,132,107,10
CONTROL "不明を長文字列として扱う",DRV_UNKNOWNS_LONGVARCHAR,
"Button",BS_AUTOCHECKBOX | WS_TABSTOP,123,132,117,10
CONTROL "CharとしてBoolsを扱う",DRV_BOOLS_CHAR,"Button",
BS_AUTOCHECKBOX | WS_TABSTOP,243,132,96,10
GROUPBOX "その他",IDC_STATIC,5,MISC_Y,340,57
LTEXT "最大&Varchar:",IDC_STATIC,13,MISC_Y1+1,54,8
EDITTEXT DRV_VARCHAR_SIZE,70,MISC_Y1,35,12,ES_AUTOHSCROLL
LTEXT "最大Lon&gVarChar:",IDC_STATIC,148,MISC_Y1+2,66,8
EDITTEXT DRV_LONGVARCHAR_SIZE,219,MISC_Y1,35,12,ES_AUTOHSCROLL
LTEXT "キャッシュサイズ:",IDC_STATIC,21,MISC_Y2+1,39,8
EDITTEXT DRV_CACHE_SIZE,69,MISC_Y2-1,35,12,ES_AUTOHSCROLL
LTEXT "システムテーブル プレフィクス:",IDC_STATIC,140,MISC_Y2+1,74,9
EDITTEXT DRV_EXTRASYSTABLEPREFIXES,219,MISC_Y2-1,71,12,ES_AUTOHSCROLL
LTEXT "バッチサイズ:",IDC_STATIC,13,MISC_Y3+1,74,9
EDITTEXT DS_BATCH_SIZE,69,MISC_Y3-1,35,12,ES_AUTOHSCROLL
DEFPUSHBUTTON "OK",IDOK,5,221,50,15,WS_GROUP
PUSHBUTTON "キャンセル",IDCANCEL,68,221,50,15
PUSHBUTTON "適用",IDAPPLY,132,221,50,15
PUSHBUTTON "デフォルト",IDDEFAULTS,295,221,50,15
END
#define CONNSETTINGS_Y 185 // 191
#define KEEPALIVE_X 5
#define KEEPALIVE_Y 225
#define ENDLINE_Y 245 // 224
DLG_OPTIONS_DS DIALOG DISCARDABLE 0, 0, 306, 260
STYLE DS_MODALFRAME | DS_3DLOOK | DS_CENTER | WS_POPUP | WS_CAPTION |
WS_SYSMENU
CAPTION "高度な設定 (データソース2)"
FONT 9, "MS ゴシック"
BEGIN
PUSHBUTTON "設定3",ID3RDPAGE,49,5,40,15
PUSHBUTTON "設定1",ID1STPAGE,5,5,40,15
CONTROL "リ-ドオンリィ(&R)",DS_READONLY,"Button",
BS_AUTOCHECKBOX | WS_GROUP | WS_TABSTOP,15,26,102,10
CONTROL "バ-ジョン列表示(&V)",DS_ROWVERSIONING,"Button",
BS_AUTOCHECKBOX | WS_TABSTOP,139,25,114,10
CONTROL "システムテ-ブルを表示(&T)",DS_SHOWSYSTEMTABLES,"Button",
BS_AUTOCHECKBOX | WS_TABSTOP,15,41,111,10
CONTROL "補助的エラーメッセージを表示",DS_OPTIONALERRORS,"Button",
BS_AUTOCHECKBOX | WS_TABSTOP,139,41,162,10
CONTROL "LF <-> CR/LF 変換を行う",DS_LFCONVERSION,"Button",
BS_AUTOCHECKBOX | WS_TABSTOP,15,56,106,10
CONTROL "-1 を真値(True)とする",DS_TRUEISMINUS1,"Button",
BS_AUTOCHECKBOX | WS_TABSTOP,139,55,98,10
CONTROL "更新可能カーソル",DS_UPDATABLECURSORS,"Button",
BS_AUTOCHECKBOX | WS_TABSTOP,15,71,87,10
CONTROL "サーバー側 Prepare(7.3以後)",DS_SERVERSIDEPREPARE,
"Button",BS_AUTOCHECKBOX | WS_TABSTOP,139,70,122,10
GROUPBOX "Int8 の代替定義",IDC_STATIC,5,98,256,25
CONTROL "default",DS_INT8_AS_DEFAULT,"Button",BS_AUTORADIOBUTTON |
WS_GROUP,12,108,40,10
CONTROL "bigint",DS_INT8_AS_BIGINT,"Button",BS_AUTORADIOBUTTON |
WS_TABSTOP,55,108,35,10
CONTROL "numeric",DS_INT8_AS_NUMERIC,"Button",BS_AUTORADIOBUTTON |
WS_TABSTOP,98,108,40,10
CONTROL "varchar",DS_INT8_AS_VARCHAR,"Button",BS_AUTORADIOBUTTON |
WS_TABSTOP,141,108,40,10
CONTROL "double",DS_INT8_AS_DOUBLE,"Button",BS_AUTORADIOBUTTON |
WS_TABSTOP,184,108,40,10
CONTROL "int4",DS_INT8_AS_INT4,"Button",BS_AUTORADIOBUTTON |
WS_TABSTOP,227,108,29,10
LTEXT "特別なオプション",IDC_STATIC,227,158,66,8
EDITTEXT DS_EXTRA_OPTIONS,227,168,35,14,ES_AUTOHSCROLL
GROUPBOX "Numeric(精度指定なし) の代替定義",IDC_STATIC,5,128,160,25
CONTROL "default",DS_NUMERIC_AS_DEFAULT,"Button",BS_AUTORADIOBUTTON |
WS_GROUP,12,140,40,10
// CONTROL "numeric",DS_NUMERIC_AS_NUMERIC,"Button",BS_AUTORADIOBUTTON |
// WS_TABSTOP,50,140,40,10
CONTROL "memo",DS_NUMERIC_AS_LONGVARCHAR,"Button",BS_AUTORADIOBUTTON |
WS_TABSTOP,126,140,40,10
CONTROL "varchar",DS_NUMERIC_AS_VARCHAR,"Button",BS_AUTORADIOBUTTON |
WS_TABSTOP,50,140,40,10
CONTROL "double",DS_NUMERIC_AS_DOUBLE,"Button",BS_AUTORADIOBUTTON |
WS_TABSTOP,90,140,36,10
GROUPBOX "エラー時のロールバック発行",IDC_STATIC,170,128,130,25
CONTROL "無し",DS_NO_ROLLBACK,"Button",BS_AUTORADIOBUTTON |
WS_GROUP,175,139,30,10
CONTROL "全キャンセル",DS_TRANSACTION_ROLLBACK,"Button",
BS_AUTORADIOBUTTON | WS_TABSTOP,205,140,50,10
CONTROL "文単位",DS_STATEMENT_ROLLBACK,"Button",
BS_AUTORADIOBUTTON | WS_TABSTOP,260,140,35,10
GROUPBOX "OID オプション",IDC_STATIC,5,158,206,25
CONTROL "カラム列表示(&C)",DS_SHOWOIDCOLUMN,"Button",
BS_AUTOCHECKBOX | WS_GROUP,16,169,72,10
CONTROL "インデックスを装う(&I)",DS_FAKEOIDINDEX,"Button",
BS_AUTOCHECKBOX | WS_TABSTOP,107,169,95,10
LTEXT "接続時 設定:(&S)",IDC_STATIC,13,CONNSETTINGS_Y+3,69,10,NOT
WS_GROUP
EDITTEXT DS_CONNSETTINGS,90,CONNSETTINGS_Y,211,27,ES_MULTILINE |
ES_AUTOVSCROLL | ES_AUTOHSCROLL | ES_WANTRETURN | NOT
WS_TABSTOP
GROUPBOX "TCP KEEPALIVE(秒単位)",IDC_STATIC,KEEPALIVE_X,KEEPALIVE_Y-10,210,25
CONTROL "利用しない",DS_DISABLE_KEEPALIVE,"Button",BS_AUTOCHECKBOX | WS_GROUP, KEEPALIVE_X+5,KEEPALIVE_Y,50,10
LTEXT "待ち時間",IDC_STATIC,KEEPALIVE_X+62,KEEPALIVE_Y,35,10,NOT WS_GROUP
EDITTEXT DS_KEEPALIVETIME,KEEPALIVE_X+100,KEEPALIVE_Y,30,10, ES_AUTOHSCROLL | WS_TABSTOP
LTEXT "応答待時間",IDC_STATIC,KEEPALIVE_X+137,KEEPALIVE_Y,40,10,NOT WS_GROUP
EDITTEXT DS_KEEPALIVEINTERVAL,KEEPALIVE_X+180,KEEPALIVE_Y,30,10, ES_AUTOHSCROLL | WS_TABSTOP
DEFPUSHBUTTON "OK",IDOK,5,ENDLINE_Y,50,14,WS_GROUP
PUSHBUTTON "キャンセル",IDCANCEL,66,ENDLINE_Y,50,14
PUSHBUTTON "適用",IDAPPLY,128,ENDLINE_Y,50,14
CONTROL "byteaをLOとして扱う",DS_BYTEAASLONGVARBINARY,"Button",
BS_AUTOCHECKBOX | WS_TABSTOP,15,85,87,10
CONTROL "各refcursorから結果を取得します",DS_FETCH_REFCURSORS,
"Button",BS_AUTOCHECKBOX | WS_TABSTOP,139,85,140,10
END
#define DTC_GRP_X 10
#define DTC_GRP_Y 60
#define DTC_GRP_WIDTH 200
#define DTC_GRP_HEIGHT 100
#define DTC_OPT_X (DTC_GRP_X)
#define DTC_OPT_Y (DTC_GRP_Y+10)
#define DTC_OPT_WIDTH 180
#define DTC_OPT_HEIGHT 45
#define DTC_LOG_X (DTC_GRP_X)
#define DTC_LOG_Y (DTC_OPT_Y+60)
#define LIBPQOPT_Y 185
DLG_OPTIONS_DS3 DIALOG DISCARDABLE 0, 0, 306, 243
STYLE DS_MODALFRAME | DS_3DLOOK | DS_CENTER | WS_POPUP | WS_CAPTION |
WS_SYSMENU
CAPTION "高度な設定 (データソース3)"
FONT 9, "MS ゴシック"
BEGIN
PUSHBUTTON "設定2",ID2NDPAGE,49,5,40,15
PUSHBUTTON "設定1",ID1STPAGE,5,5,40,15
GROUPBOX "分散トランザクション関連設定",IDC_STATIC,DTC_GRP_X,DTC_GRP_Y,DTC_GRP_WIDTH,DTC_GRP_HEIGHT
GROUPBOX "MSDTCリカバリー不可接続を許可?",IDC_STATIC,DTC_OPT_X,DTC_OPT_Y,DTC_OPT_WIDTH,DTC_OPT_HEIGHT
CONTROL "する",DS_DTC_LINK_ONLY,"Button",BS_AUTORADIOBUTTON |
WS_GROUP,DTC_OPT_X+5,DTC_OPT_Y+10,140,10
CONTROL "sslmode verify-[ca|full]を拒絶",DS_DTC_SIMPLE_PRECHECK,"Button",
BS_AUTORADIOBUTTON | WS_TABSTOP,DTC_OPT_X+5,DTC_OPT_Y+20,140,10
CONTROL "しない(最初にMSDTCからの接続性を確認)",DS_DTC_CONFIRM_RM_CONNECTION,"Button",
BS_AUTORADIOBUTTON | WS_TABSTOP,DTC_OPT_X+5,DTC_OPT_Y+30,170,10
PUSHBUTTON "接続テスト",IDC_TEST,DTC_OPT_X+60,DTC_OPT_Y+75,51,14
LTEXT "libpqパラメータ:(&l)",IDC_STATIC,11,LIBPQOPT_Y+3,76,10,NOT
WS_GROUP
EDITTEXT DS_LIBPQOPT,90,LIBPQOPT_Y,211,27,ES_MULTILINE |
ES_AUTOVSCROLL | ES_AUTOHSCROLL | ES_WANTRETURN | NOT
WS_TABSTOP
DEFPUSHBUTTON "OK",IDOK,5,224,50,14,WS_GROUP
PUSHBUTTON "キャンセル",IDCANCEL,66,224,50,14
PUSHBUTTON "適用",IDAPPLY,128,224,50,14
END
#undef ENDLINE_Y
#define ENDLINE_Y 110
DLG_OPTIONS_GLOBAL DIALOG DISCARDABLE 0, 0, 306, 130
STYLE DS_MODALFRAME | DS_3DLOOK | DS_CENTER | WS_POPUP | WS_CAPTION |
WS_SYSMENU
CAPTION "高度な設定(全体)"
FONT 9, "MS ゴシック"
BEGIN
GROUPBOX "コネクション前のデフォルトロギングオプション",
IDC_STATIC,5,5,296,68
CONTROL "一般ログ(&L) (C:\\psqlodbc_xxxx.log - コミュニケ-ションログ)",
DRV_COMMLOG,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,22,24,
249,10
CONTROL "専用ログ (C:\\mylog_xxxx.log - 詳細デバッグ出力ログ)",
DRV_DEBUG,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,22,42,
220,10
RTEXT "ロギング用フォルダ",IDC_STATIC,14,57,79,12
EDITTEXT DS_LOGDIR,98,55,188,13,ES_AUTOHSCROLL | WS_GROUP,
WS_EX_TRANSPARENT
GROUPBOX "MSDTCサポート", IDC_STATIC,5,75,296,27
CONTROL "専用ログ(C:\\pgdtclog\\mylog_xxxx.log - デバッグ出力ログ)",
DRV_DTCLOG,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,22,87,260,10
DEFPUSHBUTTON "保存",IDOK,5,ENDLINE_Y,50,14,WS_GROUP
PUSHBUTTON "キャンセル",IDCANCEL,65,ENDLINE_Y,50,15
END
DLG_DRIVER_CHANGE DIALOG DISCARDABLE 0, 0, 306, 87
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "ドライバ アップ/ダウン"
FONT 10, "Terminal"
BEGIN
DEFPUSHBUTTON "OK",IDOK,82,68,50,14,WS_GROUP
PUSHBUTTON "キャンセル",IDCANCEL,172,67,50,15
GROUPBOX "ドライバリスト",IDC_STATIC,5,5,296,58
LTEXT "ドライバを選択してください",IDC_STATIC,11,33,105,8
LISTBOX IDC_DRIVER_LIST,124,19,170,33,LBS_SORT |
LBS_NOINTEGRALHEIGHT | WS_VSCROLL | WS_TABSTOP
END
/////////////////////////////////////////////////////////////////////////////
//
// DESIGNINFO
//
#ifdef APSTUDIO_INVOKED
GUIDELINES DESIGNINFO DISCARDABLE
BEGIN
DLG_CONFIG, DIALOG
BEGIN
VERTGUIDE, 65
VERTGUIDE, 72
VERTGUIDE, 260
BOTTOMMARGIN, 210
END
DLG_OPTIONS_DRV, DIALOG
BEGIN
LEFTMARGIN, 5
RIGHTMARGIN, 345
TOPMARGIN, 5
BOTTOMMARGIN, 236
END
DLG_OPTIONS_DS, DIALOG
BEGIN
LEFTMARGIN, 5
RIGHTMARGIN, 301
TOPMARGIN, 5
BOTTOMMARGIN, 238
END
DLG_OPTIONS_GLOBAL, DIALOG
BEGIN
LEFTMARGIN, 5
RIGHTMARGIN, 301
TOPMARGIN, 5
BOTTOMMARGIN, 82
END
DLG_DRIVER_CHANGE, DIALOG
BEGIN
LEFTMARGIN, 5
RIGHTMARGIN, 301
TOPMARGIN, 5
BOTTOMMARGIN, 82
END
END
#endif // APSTUDIO_INVOKED
#ifdef APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
// TEXTINCLUDE
//
1 TEXTINCLUDE DISCARDABLE
BEGIN
"resource.h\0"
END
2 TEXTINCLUDE DISCARDABLE
BEGIN
"#include ""afxres.h""\r\n"
"#include ""version.h""\r\n"
"\0"
END
3 TEXTINCLUDE DISCARDABLE
BEGIN
"\r\n"
"\0"
END
#endif // APSTUDIO_INVOKED
#ifndef _MAC
/////////////////////////////////////////////////////////////////////////////
//
// Version
//
VS_VERSION_INFO VERSIONINFO
FILEVERSION PG_DRVFILE_VERSION
PRODUCTVERSION PG_DRVFILE_VERSION
FILEFLAGSMASK 0x3L
#ifdef _DEBUG
FILEFLAGS 0x9L
#else
FILEFLAGS 0x8L
#endif
FILEOS 0x4L
FILETYPE 0x2L
FILESUBTYPE 0x0L
BEGIN
BLOCK "StringFileInfo"
BEGIN
BLOCK "041104e4"
BEGIN
#ifdef UNICODE_SUPPORT
VALUE "Comments", "PostgreSQL Unicode ODBC driver Japanese\0"
#else
VALUE "Comments", "PostgreSQL ANSI ODBC driver Japanese\0"
#endif
VALUE "CompanyName", "PostgreSQL Global Development Group\0"
VALUE "FileDescription", "PostgreSQL ODBC Driver (Japanese)\0"
VALUE "FileVersion", POSTGRES_RESOURCE_VERSION
#ifdef UNICODE_SUPPORT
VALUE "InternalName", "psqlodbc35w\0"
#else
VALUE "InternalName", "psqlodbc30a\0"
#endif
VALUE "LegalCopyright", "\0"
VALUE "LegalTrademarks", "ODBC(TM) is a trademark of Microsoft Corporation. Microsoftョ is a registered trademark of Microsoft Corporation. Windows(TM) is a trademark of Microsoft Corporation.\0"
#ifdef UNICODE_SUPPORT
VALUE "OriginalFilename", "psqlodbc35w.dll\0"
#else
VALUE "OriginalFilename", "psqlodbc30a.dll\0"
#endif
VALUE "PrivateBuild", "for Japanese by Hiroshi Inoue & Hiroshi Saito\0"
VALUE "ProductName", "PostgreSQL\0"
VALUE "ProductVersion", POSTGRES_RESOURCE_VERSION
VALUE "SpecialBuild", "\0"
END
END
BLOCK "VarFileInfo"
BEGIN
VALUE "Translation", 0x411, 1252
END
END
#endif // !_MAC
/////////////////////////////////////////////////////////////////////////////
//
// String Table
//
STRINGTABLE DISCARDABLE
BEGIN
IDS_BADDSN "DSNエントリ-が不正です。再度チェック設定してください。."
IDS_MSGTITLE "DSN不正"
IDS_ADVANCE_OPTION_DEF "高度な設定 (デフォルト)"
IDS_ADVANCE_SAVE "保存"
IDS_ADVANCE_OPTION_DSN1 "高度な設定 (%s 設定1)"
IDS_ADVANCE_OPTION_CON1 "高度な設定(コネクション設定1)"
IDS_ADVANCE_OPTION_DSN2 "高度な設定 (%s 設定2)"
IDS_ADVANCE_OPTION_CON2 "高度な設定 (コネクション設定2)"
IDS_ADVANCE_OPTION_DSN3 "高度な設定 (%s 設定3)"
IDS_ADVANCE_OPTION_CON3 "高度な設定 (コネクション設定3)"
IDS_ADVANCE_CONNECTION "コネクション"
END
STRINGTABLE DISCARDABLE
BEGIN
IDS_SSLREQUEST_PREFER "優先"
IDS_SSLREQUEST_ALLOW "考慮"
IDS_SSLREQUEST_REQUIRE "必須"
IDS_SSLREQUEST_DISABLE "無効"
IDS_SSLREQUEST_VERIFY_CA "必須:証明書認証"
IDS_SSLREQUEST_VERIFY_FULL "必須:証明書完全認証"
END
#endif // Japanese resources
/////////////////////////////////////////////////////////////////////////////
/////////////////////////////////////////////////////////////////////////////
// English (U.S.) resources
#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
#ifdef _WIN32
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
#pragma code_page(1252)
#endif //_WIN32
/////////////////////////////////////////////////////////////////////////////
//
// Dialog
//
DLG_CONFIG DIALOG DISCARDABLE 65, 43, 305, 142
STYLE DS_MODALFRAME | DS_3DLOOK | DS_CENTER | WS_POPUP | WS_VISIBLE |
WS_CAPTION | WS_SYSMENU
#ifdef UNICODE_SUPPORT
CAPTION "PostgreSQL Unicode ODBC Driver (psqlODBC) Setup"
#else
CAPTION "PostgreSQL ANSI ODBC Driver (psqlODBC) Setup"
#endif
FONT 8, "MS Sans Serif"
BEGIN
RTEXT "&Data Source",IDC_DSNAMETEXT,3,25,50,12,NOT WS_GROUP
EDITTEXT IDC_DSNAME,57,24,72,12,ES_AUTOHSCROLL | WS_GROUP
RTEXT "Des&cription",IDC_DESCTEXT,143,24,45,12,NOT WS_GROUP
EDITTEXT IDC_DESC,192,22,104,12,ES_AUTOHSCROLL
RTEXT "Data&base",IDC_STATIC,15,40,38,12,NOT WS_GROUP
EDITTEXT IDC_DATABASE,57,39,72,12,ES_AUTOHSCROLL
RTEXT "SS&L Mode",IDC_STATIC,143,40,45,12,NOT WS_GROUP
COMBOBOX IDC_SSLMODE,192,36,104,50,CBS_DROPDOWNLIST | WS_VSCROLL |
WS_TABSTOP
CTEXT "Couldn't load libpq - SSL mode is unavailable",
IDC_NOTICE_USER,53,87,200,11,SS_NOTIFY | SS_CENTERIMAGE |
WS_BORDER
RTEXT "&Server",IDC_STATIC,24,55,29,12,NOT WS_GROUP
EDITTEXT IDC_SERVER,57,54,72,12,ES_AUTOHSCROLL
RTEXT "&Port",IDC_STATIC,166,56,22,12
EDITTEXT IDC_PORT,192,54,37,12,ES_AUTOHSCROLL
RTEXT "&User Name",IDC_STATIC,14,70,39,12
EDITTEXT IDC_USER,57,69,72,12,ES_AUTOHSCROLL
RTEXT "Pass&word",IDC_STATIC,154,72,34,9
EDITTEXT IDC_PASSWORD,192,70,72,12,ES_PASSWORD | ES_AUTOHSCROLL
// DEFPUSHBUTTON "OK",IDOK,12,114,44,15,WS_GROUP
// PUSHBUTTON "Cancel",IDCANCEL,66,114,44,15
// GROUPBOX "Options",IDC_OPTIONS,121,101,177,35,BS_LEFT
// PUSHBUTTON "Datasource",IDC_DATASOURCE,128,115,50,14
// PUSHBUTTON "Global",IDC_DRIVER,184,115,50,14
LTEXT "Please supply any missing information required to connect.",
DRV_MSG_LABEL,12,5,249,10
// PUSHBUTTON "Manage DSN",IDC_MANAGEDSN,240,115,52,14
GROUPBOX "Options",IDC_OPTIONS,5,100,177,35,BS_LEFT
PUSHBUTTON "Datasource",IDC_DATASOURCE,12,114,50,14
PUSHBUTTON "Global",IDC_DRIVER,67,114,50,14
PUSHBUTTON "Manage DSN",IDC_MANAGEDSN,122,114,52,14
PUSHBUTTON "Test",IDC_TEST,254,103,44,15
DEFPUSHBUTTON "OK",IDOK,203,121,44,15,WS_GROUP
PUSHBUTTON "Cancel",IDCANCEL,254,121,44,15
END
#undef MISC_Y
#undef MISC_Y1
#undef MISC_Y2
#undef MISC_Y3
#define MISC_Y 145
#define MISC_Y1 (MISC_Y+15)
#define MISC_Y2 (MISC_Y+32)
#define MISC_Y3 (MISC_Y+49)
DLG_OPTIONS_DRV DIALOG DISCARDABLE 0, 0, 287, 231
STYLE DS_MODALFRAME | DS_CENTER | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Advanced Options (DataSource)"
FONT 8, "MS Sans Serif"
BEGIN
PUSHBUTTON "Page 2",ID2NDPAGE,5,5,40,15
PUSHBUTTON "Page 3",ID3RDPAGE,49,5,40,15
CONTROL "Comm&Log (C:\\psqlodbc_xxxx.log)",DRV_COMMLOG,"Button",
BS_AUTOCHECKBOX | WS_TABSTOP,149,26,121,10
EDITTEXT DS_COMMLOG,275,26,100,13,ES_AUTOHSCROLL | WS_GROUP,
WS_EX_TRANSPARENT
CONTROL "Recognize Unique &Indexes",DRV_UNIQUEINDEX,"Button",
BS_AUTOCHECKBOX | WS_TABSTOP,15,56,110,10
CONTROL "Ignore Timeout",DS_IGNORETIMEOUT,"Button",
BS_AUTOCHECKBOX | WS_TABSTOP,149,56,110,10
CONTROL "P&arse Statements",DRV_PARSE,"Button",BS_AUTOCHECKBOX |
WS_TABSTOP,149,41,80,10
CONTROL "&Use Declare/Fetch",DRV_USEDECLAREFETCH,"Button",
BS_AUTOCHECKBOX | WS_TABSTOP,15,71,83,10
CONTROL "MyLog (C:\\mylog_xxxx.log)",DRV_DEBUG,"Button",
BS_AUTOCHECKBOX | WS_TABSTOP,149,71,112,10
EDITTEXT DS_DEBUG,275,71,15,12,ES_AUTOHSCROLL | WS_GROUP,
WS_EX_TRANSPARENT
GROUPBOX "Unknown Sizes",IDC_STATIC,5,85,277,25
CONTROL "Maximum",DRV_UNKNOWN_MAX,"Button",BS_AUTORADIOBUTTON |
WS_GROUP | WS_TABSTOP,15,96,45,10
CONTROL "Don't Know",DRV_UNKNOWN_DONTKNOW,"Button",
BS_AUTORADIOBUTTON | WS_TABSTOP,105,96,53,10
CONTROL "Longest",DRV_UNKNOWN_LONGEST,"Button",
BS_AUTORADIOBUTTON | WS_TABSTOP,215,95,50,10
GROUPBOX "Data Type Options",IDC_STATIC,5,115,277,25
CONTROL "Text as LongVarChar",DRV_TEXT_LONGVARCHAR,"Button",
BS_AUTOCHECKBOX | WS_GROUP | WS_TABSTOP,15,125,90,10
CONTROL "Unknowns as LongVarChar",DRV_UNKNOWNS_LONGVARCHAR,
"Button",BS_AUTOCHECKBOX | WS_TABSTOP,105,125,105,10
CONTROL "Bools as Char",DRV_BOOLS_CHAR,"Button",BS_AUTOCHECKBOX |
WS_TABSTOP,215,125,67,10
GROUPBOX "Miscellaneous",IDC_STATIC,5,MISC_Y,277,62
LTEXT "Max &Varchar:",IDC_STATIC,13,MISC_Y1+1,54,8
EDITTEXT DRV_VARCHAR_SIZE,70,MISC_Y1,35,12,ES_AUTOHSCROLL
LTEXT "Max Lon&gVarChar:",IDC_STATIC,125,MISC_Y1+1,67,8
EDITTEXT DRV_LONGVARCHAR_SIZE,199,MISC_Y1,35,12,ES_AUTOHSCROLL
LTEXT "&Cache Size:",IDC_STATIC,14,MISC_Y2+1,52,8
EDITTEXT DRV_CACHE_SIZE,69,MISC_Y2-1,35,12,ES_AUTOHSCROLL
LTEXT "SysTable &Prefixes:",IDC_STATIC,126,MISC_Y2+1,61,18
EDITTEXT DRV_EXTRASYSTABLEPREFIXES,199,MISC_Y2-1,71,12,ES_AUTOHSCROLL
LTEXT "&Batch &Size:",IDC_STATIC,14,MISC_Y3+1,61,18
EDITTEXT DS_BATCH_SIZE,69,MISC_Y3-1,35,12,ES_AUTOHSCROLL
DEFPUSHBUTTON "OK",IDOK,5,212,50,14,WS_GROUP
PUSHBUTTON "Cancel",IDCANCEL,81,211,50,15
PUSHBUTTON "Apply",IDAPPLY,156,212,50,14
PUSHBUTTON "Defaults",IDDEFAULTS,232,211,50,15
END
#undef CONNSETTINGS_Y
#undef KEEPALIVE_X
#undef KEEPALIVE_Y
#undef ENDLINE_Y
#define CONNSETTINGS_Y 185 // 189
#define KEEPALIVE_X 10
#define KEEPALIVE_Y 225
#define ENDLINE_Y 245 // 222
DLG_OPTIONS_DS DIALOG DISCARDABLE 0, 0, 306, 260
STYLE DS_MODALFRAME | DS_CENTER | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Advanced Options (DataSource)"
FONT 8, "MS Sans Serif"
BEGIN
PUSHBUTTON "Page 3",ID3RDPAGE,49,5,40,15
PUSHBUTTON "Page 1",ID1STPAGE,5,5,40,15
CONTROL "&Read Only",DS_READONLY,"Button",BS_AUTOCHECKBOX |
WS_GROUP | WS_TABSTOP,15,26,102,10
CONTROL "Row &Versioning",DS_ROWVERSIONING,"Button",
BS_AUTOCHECKBOX | WS_TABSTOP,163,26,85,10
CONTROL "Show System &Tables",DS_SHOWSYSTEMTABLES,"Button",
BS_AUTOCHECKBOX | WS_TABSTOP,15,41,100,10
CONTROL "Display Optional Error Message",DS_OPTIONALERRORS,"Button", BS_AUTOCHECKBOX | WS_TABSTOP,163,41,85,10
CONTROL "LF <-> CR/LF conversion",DS_LFCONVERSION,"Button",
BS_AUTOCHECKBOX | WS_TABSTOP,15,56,106,10
CONTROL "True is -1",DS_TRUEISMINUS1,"Button",BS_AUTOCHECKBOX |
WS_TABSTOP,163,56,86,10
CONTROL "Updatable Cursors",DS_UPDATABLECURSORS,"Button",
BS_AUTOCHECKBOX | WS_TABSTOP,15,71,87,10
CONTROL "Server side prepare",DS_SERVERSIDEPREPARE,"Button",
BS_AUTOCHECKBOX | WS_TABSTOP,163,71,90,10
CONTROL "bytea as LO",DS_BYTEAASLONGVARBINARY,"Button",
BS_AUTOCHECKBOX | WS_TABSTOP,16,84,87,10
GROUPBOX "Int8 As",IDC_STATIC,5,97,256,25
CONTROL "default",DS_INT8_AS_DEFAULT,"Button",BS_AUTORADIOBUTTON |
WS_GROUP,12,107,40,10
CONTROL "Fetch result from each refcursor",DS_FETCH_REFCURSORS,
"Button",BS_AUTOCHECKBOX | WS_TABSTOP,163,84,122,10
CONTROL "bigint",DS_INT8_AS_BIGINT,"Button",BS_AUTORADIOBUTTON |
WS_TABSTOP,55,107,35,10
CONTROL "numeric",DS_INT8_AS_NUMERIC,"Button",BS_AUTORADIOBUTTON |
WS_TABSTOP,98,107,40,10
CONTROL "varchar",DS_INT8_AS_VARCHAR,"Button",BS_AUTORADIOBUTTON |
WS_TABSTOP,141,107,40,10
CONTROL "double",DS_INT8_AS_DOUBLE,"Button",BS_AUTORADIOBUTTON |
WS_TABSTOP,184,107,40,10
CONTROL "int4",DS_INT8_AS_INT4,"Button",BS_AUTORADIOBUTTON |
WS_TABSTOP,227,107,29,10
LTEXT "Extra Opts",IDC_STATIC,264,98,40,17
EDITTEXT DS_EXTRA_OPTIONS,264,105,40,12,ES_AUTOHSCROLL
GROUPBOX "Numeric(without precision) As",IDC_STATIC,5,126,160,25
CONTROL "default",DS_NUMERIC_AS_DEFAULT,"Button",BS_AUTORADIOBUTTON |
WS_GROUP,12,138,40,10
// CONTROL "numeric",DS_NUMERIC_AS_NUMERIC,"Button",BS_AUTORADIOBUTTON |
// WS_TABSTOP,50,138,40,10
CONTROL "memo",DS_NUMERIC_AS_LONGVARCHAR,"Button",BS_AUTORADIOBUTTON |
WS_TABSTOP,126,138,40,10
CONTROL "varchar",DS_NUMERIC_AS_VARCHAR,"Button",BS_AUTORADIOBUTTON |
WS_TABSTOP,50,138,40,10
CONTROL "double",DS_NUMERIC_AS_DOUBLE,"Button",BS_AUTORADIOBUTTON |
WS_TABSTOP,90,138,36,10
GROUPBOX "OID Options",IDC_STATIC,5,157,296,25
CONTROL "Show &Column",DS_SHOWOIDCOLUMN,"Button",BS_AUTOCHECKBOX |
WS_GROUP | WS_TABSTOP,13,168,67,10
CONTROL "Fake &Index",DS_FAKEOIDINDEX,"Button",BS_AUTOCHECKBOX |
WS_GROUP | WS_TABSTOP,80,168,59,10
LTEXT "Connect &Settings:",IDC_STATIC,5,CONNSETTINGS_Y,57,11
EDITTEXT DS_CONNSETTINGS,90,CONNSETTINGS_Y,211,27,ES_MULTILINE |
ES_AUTOVSCROLL | ES_AUTOHSCROLL | ES_WANTRETURN
GROUPBOX "TCP KEEPALIVE setting (by sec)",IDC_STATIC,KEEPALIVE_X,KEEPALIVE_Y-10,210,25
CONTROL "disable",DS_DISABLE_KEEPALIVE,"Button",BS_AUTOCHECKBOX | WS_GROUP, KEEPALIVE_X+5,KEEPALIVE_Y,50,10
LTEXT "idle time",IDC_STATIC,KEEPALIVE_X+62,KEEPALIVE_Y,25,10,NOT WS_GROUP
EDITTEXT DS_KEEPALIVETIME,KEEPALIVE_X+90,KEEPALIVE_Y,20,10, ES_AUTOHSCROLL | WS_TABSTOP
LTEXT "interval",IDC_STATIC,KEEPALIVE_X+117,KEEPALIVE_Y,25,10,NOT WS_GROUP
EDITTEXT DS_KEEPALIVEINTERVAL,KEEPALIVE_X+145,KEEPALIVE_Y,30,10, ES_AUTOHSCROLL | WS_TABSTOP
DEFPUSHBUTTON "OK",IDOK,5,ENDLINE_Y,50,14,WS_GROUP
PUSHBUTTON "Cancel",IDCANCEL,81,ENDLINE_Y,50,14
PUSHBUTTON "Apply",IDAPPLY,156,ENDLINE_Y,50,14
GROUPBOX "Level of rollback on errors",IDC_STATIC,172,126,134,25
CONTROL "Nop",DS_NO_ROLLBACK,"Button",BS_AUTORADIOBUTTON |
WS_GROUP,176,138,36,9
CONTROL "Transaction",DS_TRANSACTION_ROLLBACK,"Button",
BS_AUTORADIOBUTTON | WS_TABSTOP,206,138,57,9
CONTROL "Statement",DS_STATEMENT_ROLLBACK,"Button",
BS_AUTORADIOBUTTON | WS_TABSTOP,257,138,47,9
END
#undef DTC_GRP_X
#undef DTC_GRP_Y
#undef DTC_GRP_WIDTH
#undef DTC_GRP_HEIGHT
#undef DTC_OPT_X
#undef DTC_OPT_Y
#undef DTC_OPT_WIDTH
#undef DTC_OPT_HEIGHT
#undef DTC_LOG_X
#undef DTC_LOG_Y
#undef LIBPQOPT_Y
#define DTC_GRP_X 10
#define DTC_GRP_Y 60
#define DTC_GRP_WIDTH 200
#define DTC_GRP_HEIGHT 100
#define DTC_OPT_X (DTC_GRP_X)
#define DTC_OPT_Y (DTC_GRP_Y+10)
#define DTC_OPT_WIDTH 180
#define DTC_OPT_HEIGHT 45
#define DTC_LOG_X (DTC_GRP_X)
#define DTC_LOG_Y (DTC_OPT_Y+60)
#define LIBPQOPT_Y 185
DLG_OPTIONS_DS3 DIALOG DISCARDABLE 0, 0, 306, 243
STYLE DS_MODALFRAME | DS_3DLOOK | DS_CENTER | WS_POPUP | WS_CAPTION |
WS_SYSMENU
CAPTION "Advanced Options(Datasource 3)"
FONT 8, "MS Sans Serif"
BEGIN
PUSHBUTTON "Page 2",ID2NDPAGE,49,5,40,15
PUSHBUTTON "Page 1",ID1STPAGE,5,5,40,15
GROUPBOX "Distributed Transaction related settings",IDC_STATIC,DTC_GRP_X,DTC_GRP_Y,DTC_GRP_WIDTH,DTC_GRP_HEIGHT
GROUPBOX "Allow connections unrecoverable by MSDTC?",IDC_STATIC,DTC_OPT_X,DTC_OPT_Y,DTC_OPT_WIDTH,DTC_OPT_HEIGHT
CONTROL "yes",DS_DTC_LINK_ONLY,"Button",BS_AUTORADIOBUTTON |
WS_GROUP,DTC_OPT_X+5,DTC_OPT_Y+10,40,10
CONTROL "rejects sslmode verify-[ca|full]",DS_DTC_SIMPLE_PRECHECK,"Button",
BS_AUTORADIOBUTTON | WS_TABSTOP,DTC_OPT_X+5,DTC_OPT_Y+20,120,10
CONTROL "no (confirm the connectivity from MSDTC first)",DS_DTC_CONFIRM_RM_CONNECTION,"Button",
BS_AUTORADIOBUTTON | WS_TABSTOP,DTC_OPT_X+5,DTC_OPT_Y+30,170,10
PUSHBUTTON "connection test",IDC_TEST,DTC_OPT_X+60,DTC_OPT_Y+75,55,14
LTEXT "libpq parameters:(&l)",IDC_STATIC,13,LIBPQOPT_Y+3,69,10,NOT
WS_GROUP
EDITTEXT DS_LIBPQOPT,85,LIBPQOPT_Y,215,27,ES_MULTILINE |
ES_AUTOVSCROLL | ES_AUTOHSCROLL | ES_WANTRETURN | NOT
WS_TABSTOP
DEFPUSHBUTTON "OK",IDOK,5,224,50,14,WS_GROUP
PUSHBUTTON "Cancel",IDCANCEL,66,224,50,14
PUSHBUTTON "Apply",IDAPPLY,128,224,50,14
END
DLG_OPTIONS_GLOBAL DIALOG DISCARDABLE 0, 0, 306, 110
STYLE DS_MODALFRAME | DS_CENTER | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Global settings"
FONT 8, "MS Sans Serif"
BEGIN
CONTROL "Comm&Log (C:\\psqlodbc_xxxx.log - Communications log)",
DRV_COMMLOG,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,22,24,
263,10
CONTROL "Mylog (C:\\mylog_xxxx.log - Detailed debug output)",
DRV_DEBUG,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,22,42,
264,10
CONTROL "MSDTC log (C:\\pgdtclog\\mylog_xxxx.log - MSDTC debug output)",
DRV_DTCLOG,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,22,60,
264,10
RTEXT "Folder for logging",IDC_STATIC,17,77,69,12
EDITTEXT DS_LOGDIR,98,75,188,13,ES_AUTOHSCROLL | WS_GROUP,
WS_EX_TRANSPARENT
DEFPUSHBUTTON "Save",IDOK,82,92,50,14,WS_GROUP
PUSHBUTTON "Cancel",IDCANCEL,172,91,50,15
GROUPBOX "Pre-connection/default logging options",IDC_STATIC,5,5,
296,85
END
DLG_DRIVER_CHANGE DIALOG DISCARDABLE 0, 0, 306, 87
STYLE DS_MODALFRAME | DS_CENTER | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Driver up/downgrade"
FONT 8, "MS Sans Serif"
BEGIN
DEFPUSHBUTTON "OK",IDOK,82,68,50,14,WS_GROUP
PUSHBUTTON "Cancel",IDCANCEL,172,67,50,15
GROUPBOX "Drivers List",IDC_STATIC,5,5,296,58
LTEXT "Select the driver",IDC_STATIC,31,30,73,8
LISTBOX IDC_DRIVER_LIST,117,18,151,32,LBS_SORT |
LBS_NOINTEGRALHEIGHT | WS_VSCROLL | WS_TABSTOP
END
/////////////////////////////////////////////////////////////////////////////
//
// DESIGNINFO
//
#ifdef APSTUDIO_INVOKED
GUIDELINES DESIGNINFO DISCARDABLE
BEGIN
DLG_CONFIG, DIALOG
BEGIN
BOTTOMMARGIN, 141
END
DLG_OPTIONS_DRV, DIALOG
BEGIN
LEFTMARGIN, 5
RIGHTMARGIN, 282
TOPMARGIN, 5
BOTTOMMARGIN, 226
END
DLG_OPTIONS_DS, DIALOG
BEGIN
LEFTMARGIN, 5
RIGHTMARGIN, 301
TOPMARGIN, 5
BOTTOMMARGIN, 238
HORZGUIDE, 136
END
DLG_OPTIONS_GLOBAL, DIALOG
BEGIN
LEFTMARGIN, 5
RIGHTMARGIN, 301
TOPMARGIN, 5
BOTTOMMARGIN, 82
END
DLG_DRIVER_CHANGE, DIALOG
BEGIN
LEFTMARGIN, 5
RIGHTMARGIN, 301
TOPMARGIN, 5
BOTTOMMARGIN, 82
END
END
#endif // APSTUDIO_INVOKED
#ifndef _MAC
/////////////////////////////////////////////////////////////////////////////
//
// Version
//
VS_VERSION_INFO VERSIONINFO
FILEVERSION PG_DRVFILE_VERSION
PRODUCTVERSION PG_DRVFILE_VERSION
FILEFLAGSMASK 0x3L
#ifdef _DEBUG
FILEFLAGS 0x9L
#else
FILEFLAGS 0x8L
#endif
FILEOS 0x4L
FILETYPE 0x2L
FILESUBTYPE 0x0L
BEGIN
BLOCK "StringFileInfo"
BEGIN
BLOCK "040904e4"
BEGIN
#ifdef UNICODE_SUPPORT
VALUE "Comments", "PostgreSQL Unicode ODBC driver\0"
#else
VALUE "Comments", "PostgreSQL ANSI ODBC driver\0"
#endif
VALUE "CompanyName", "PostgreSQL Global Development Group\0"
VALUE "FileDescription", "PostgreSQL ODBC Driver (English)\0"
VALUE "FileVersion", POSTGRES_RESOURCE_VERSION
#ifdef UNICODE_SUPPORT
VALUE "InternalName", "psqlodbc35w\0"
#else
VALUE "InternalName", "psqlodbc30a\0"
#endif
VALUE "LegalCopyright", "Copyright \0"
VALUE "LegalTrademarks", "ODBC(TM) is a trademark of Microsoft Corporation. Microsoft? is a registered trademark of Microsoft Corporation. Windows(TM) is a trademark of Microsoft Corporation.\0"
#ifdef UNICODE_SUPPORT
VALUE "OriginalFilename", "psqlodbc35w.dll\0"
#else
VALUE "OriginalFilename", "psqlodbc30a.dll\0"
#endif
VALUE "PrivateBuild", "\0"
VALUE "ProductName", "PostgreSQL\0"
VALUE "ProductVersion", POSTGRES_RESOURCE_VERSION
VALUE "SpecialBuild", "\0"
END
END
BLOCK "VarFileInfo"
BEGIN
VALUE "Translation", 0x409, 1252
END
END
#endif // !_MAC
/////////////////////////////////////////////////////////////////////////////
//
// String Table
//
STRINGTABLE DISCARDABLE
BEGIN
IDS_BADDSN "Invalid DSN entry, please recheck."
IDS_MSGTITLE "Invalid DSN"
IDS_ADVANCE_OPTION_DEF "Advanced Options (Default)"
IDS_ADVANCE_SAVE "Save"
IDS_ADVANCE_OPTION_DSN1 "Advanced Options (%s) 1/3"
IDS_ADVANCE_OPTION_CON1 "Advanced Options (Connection 1/3)"
IDS_ADVANCE_OPTION_DSN2 "Advanced Options (%s) 2/3"
IDS_ADVANCE_OPTION_DSN3 "Advanced Options (%s) 3/3"
IDS_ADVANCE_OPTION_CON2 "Advanced Options (Connection 2/3)"
IDS_ADVANCE_OPTION_CON3 "Advanced Options (Connection 3/3)"
IDS_ADVANCE_CONNECTION "Connection"
END
STRINGTABLE DISCARDABLE
BEGIN
IDS_SSLREQUEST_PREFER "prefer"
IDS_SSLREQUEST_ALLOW "allow"
IDS_SSLREQUEST_REQUIRE "require"
IDS_SSLREQUEST_DISABLE "disable"
IDS_SSLREQUEST_VERIFY_CA "verify-ca"
IDS_SSLREQUEST_VERIFY_FULL "verify-full"
END
#endif // English (U.S.) resources
/////////////////////////////////////////////////////////////////////////////
#ifndef APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
// Generated from the TEXTINCLUDE 3 resource.
//
/////////////////////////////////////////////////////////////////////////////
#endif // not APSTUDIO_INVOKED
P