-
Notifications
You must be signed in to change notification settings - Fork 18
/
READMEVC.HTM
2978 lines (1629 loc) · 166 KB
/
READMEVC.HTM
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
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<HTML>
<!----------------------------------------------------------------------------->
<!-- BEGIN HTML HEAD -->
<!-- -->
<HEAD>
<TITLE>Visual C++ Readme</TITLE>
<META NAME="MS-HAID" CONTENT="vcreadme" HTTP-EQUIV="Content-Type" CHARSET="Windows-1252">
<TABLE CELLSPACING=0 BORDER=0 WIDTH=624></TABLE>
<BODY BGCOLOR="White" TEXT="Black" LINK="Blue" VLINK="Purple" onclick="checkExpand( )">
<!-- White=#FFFFFF Black=#000000 Blue=#0000FF -->
<FONT FACE="Verdana" SIZE=2>
</HEAD>
<!-- -->
<!-- END HEADER -->
<!----------------------------------------------------------------------------->
<!----------------------------------------------------------------------------->
<!-- BEGIN JSCRIPT -->
<!-- -->
<script language="JSCRIPT">
function checkExpand( )
{
if ("" != event.srcElement.id)
{
var ch = event.srcElement.id + "Child";
var el = document.all[ch];
if (null != el)
{
el.style.display = "none" == el.style.display ? "" : "none";
if (el.style.display != "none")
// el.scrollIntoView(true);
event.returnValue=false;
}
}
}
</script>
<!-- -->
<!-- END JSCRIPT -->
<!----------------------------------------------------------------------------->
<!----------------------------------------------------------------------------->
<!-- BEGIN README -->
<!-- -->
<!-- Visual C++ Readme Version 6.0 -->
<H2><A NAME="readmevc_top">Visual C++ Readme</A></H2>
<P><SUP>©</SUP>1998 Microsoft Corporation. All rights reserved.</P>
<P>Other product and company names herein may be the trademarks of their respective owners. </P>
<P><I>Visual C++<SUP>®</SUP> 6.0 Readme</I> includes updated information for the documentation provided with Microsoft<SUP>®</SUP> Visual Studio<SUP>®</SUP> 6.0 Development System for Windows<SUP>®</SUP> and the Internet. The information in this document is more up-to-date than the information in the Help system. Many of the issues outlined in this document will be corrected in upcoming releases.</P>
<P>For <I>general installation issues</I> on the Visual Studio 6.0 suite of products, including side by side product installation, see the <A HREF="install.htm" title="Jumps to the installation readme (install.htm).">Installation Notes</A> Readme (install.htm).</P>
<P>For other issues on the Help system of the Visual Studio suite of products, go to <A HREF="readmeDN.htm" TITLE="Jumps to MSDN Readme">MSDN™, the Microsoft Developer Network Readme.</A></P>
<!-- END README INTRODUCTION -->
<!----------------------------------------------------------------------------->
<!----------------------------------------------------------------------------->
<!-- BEGIN TOC -->
<!-- -->
<P>Contents <font color="#000000" size="2" face="Verdana,Arial,Helvetica">- Click any of the items below</font> to expand:</P>
<!-----------------------------------SETUP ISSUES------------------------------------->
<H5><A class=ex HREF="#" ID="Setup" title="Click to collapse or expand" onmouseover = "this.style.color='orange'" onmouseout = "this.style.color=''" onclick="checkExpand( )">Setup Issues</A></H5>
<DIV id="SetupChild">
<blockquote> <A HREF="ReadmeVC.htm#Setup_3">Protected-Mode CD-ROM Driver Required on Windows 95 for Visual C++ Installation</A> </blockquote>
<blockquote> <A HREF="ReadmeVC.htm#Setup_4">Use Knowledge Base Articles to Solve Setup and Operating Problems</A> </blockquote>
<blockquote> <A HREF="ReadmeVC.htm#Setup_5">How to Report Visual C++ Bugs on the WWW</A> </blockquote>
<blockquote> <A HREF="ReadmeVC.htm#Setup_6">Viewing "ANSI Character Code Chart" in HTML Help Requires an English System</A> </blockquote>
<blockquote> <A HREF="ReadmeVC.htm#Setup_7">Resource Viewer and Compiler Not Installed in Some Custom Setup Configurations</A> </blockquote>
<blockquote> <A HREF="ReadmeVC.htm#Setup_8">Avoiding Problems Associated with Installing New SDKs</A> </blockquote>
</DIV>
<!-----------------------------------BUILD ISSUES------------------------------------->
<H5><A class=ex HREF="#" ID="Building" title="Click to collapse or expand" onmouseover = "this.style.color='orange'" onmouseout = "this.style.color=''" onclick="checkExpand( )">Build Issues</A></H5>
<DIV id="BuildingChild">
<blockquote> <A HREF="ReadmeVC.htm#Build_5">Help File Names with European Characters Do Not Copy Correctly on Windows 95</A> </blockquote>
<blockquote> <A HREF="ReadmeVC.htm#Build_6">"Update All Dependencies" Menu Item Removed</A> </blockquote>
</DIV>
<!-----------------------------------DOC ISSUES--------------------------------------->
<H5><A class=ex HREF="#" ID="Documentation" title="Click to collapse or expand" onmouseover = "this.style.color='orange'" onmouseout = "this.style.color=''" onclick="checkExpand( )">Documentation Issues</A></H5>
<DIV id="DocumentationChild">
<blockquote> <A HREF="ReadmeVC.htm#Doc_1.1">New Help Viewer</A> </blockquote>
<blockquote> <A HREF="ReadmeVC.htm#Doc_1.2">Sample Code Sometimes Does Not Cut and Paste Properly</A> </blockquote>
<blockquote> <A HREF="ReadmeVC.htm#Doc_6">CToolbar::SetButtonStyles Documentation Missing Information</A> </blockquote>
<blockquote> <A HREF="ReadmeVC.htm#Doc_7">Error in Topic "Enabling STRICT Type Checking"</A> </blockquote>
<blockquote> <A HREF="ReadmeVC.htm#Doc_8">Error in Topic "Modifying IntelliSense Options"</A> </blockquote>
<blockquote> <A HREF="ReadmeVC.htm#Doc_8.1">Error in Topic "Create a Utility Project"</A> </blockquote>
<blockquote> <A HREF="ReadmeVC.htm#Doc_9">Developing Context-Sensitive Help Using HTML Help</A> </blockquote>
<blockquote> <A HREF="ReadmeVC.htm#Doc_11">Error in Topic "Receiving HTML Help Notification Messages in an MFC Application"</A> </blockquote>
<blockquote> <A HREF="ReadmeVC.htm#Doc_12">Addendum to AutoClik Tutorial Topics</A> </blockquote>
<blockquote> <A HREF="ReadmeVC.htm#Doc_13">Tree View Controls Not Documented</A> </blockquote>
<blockquote> <A HREF="ReadmeVC.htm#Doc_15">References to MFC Version 4.22 in the Documentation</A> </blockquote>
<blockquote> <A HREF="ReadmeVC.htm#Doc_17">wmemchr, wmemmove, wmemcpy, wmemset Not Available from C</A> </blockquote>
<blockquote> <A HREF="ReadmeVC.htm#Doc_18">Undocumented CTabCtrl Styles</A> </blockquote>
<blockquote> <A HREF="ReadmeVC.htm#Doc_19">CControlBar::GetDockingFrame Documentation Does Not State Return Value When Control Bar Is Floating</A> </blockquote>
<blockquote> <A HREF="ReadmeVC.htm#Doc_20">Addendum to DECLARE_CLASSFACTORY_AUTO_THREAD Topic</A> </blockquote>
<blockquote> <A HREF="ReadmeVC.htm#Doc_21">Error in "CComModule::Init" Topic</A> </blockquote>
<blockquote> <A HREF="ReadmeVC.htm#Doc_23">Errors in "Implementing a Simple Consumer" Topic</A> </blockquote>
<blockquote> <A HREF="ReadmeVC.htm#Doc_24">Addendum to CProgressCtrl Topic</A> </blockquote>
<blockquote> <A HREF="ReadmeVC.htm#Doc_25">Error in "Implementing a Window with CWindowImpl" Topic</A> </blockquote>
<blockquote> <A HREF="ReadmeVC.htm#Doc_26">Errors in CDC::Escape Topic</A> </blockquote>
<blockquote> <A HREF="ReadmeVC.htm#Doc_27">ATLCOLUMNINFO Structure Not Documented</A> </blockquote>
<blockquote> <A HREF="ReadmeVC.htm#Doc_28">ATLTRACE and AtlTrace Documentation Incorrectly Refer to Dump Device</A> </blockquote>
<blockquote> <A HREF="ReadmeVC.htm#Doc_29">Errors in "How Do I Reference a Property in My Provider?" Topic</A> </blockquote>
<blockquote> <A HREF="ReadmeVC.htm#Doc_31">Undocumented Function AfxDebugBreak</A> </blockquote>
<blockquote> <A HREF="ReadmeVC.htm#Doc_32">Undocumented ATL Consumer Method CDataSource::OpenWithServiceComponents</A> </blockquote>
<blockquote> <A HREF="ReadmeVC.htm#Doc_33">Errors in AddProject Method Topic</A> </blockquote>
<blockquote> <A HREF="ReadmeVC.htm#Doc_34">Addendum to Documentation for Microsoft UpDown Control</A> </blockquote>
<blockquote> <A HREF="ReadmeVC.htm#Doc_30">Errors in "IDispatchImpl" and "IProvideClassInfo2Impl" Topics</A> </blockquote>
<blockquote> <A HREF="ReadmeVC.htm#Doc_10">CFileDialog Undocumented Functions</A> </blockquote>
</DIV>
<!-----------------------------------ACTIVEX CONTROL ISSUES--------------------------->
<H5><A class=ex HREF="#" ID="ActiveX" title="Click to collapse or expand" onmouseover = "this.style.color='orange'" onmouseout = "this.style.color=''" onclick="checkExpand( )">ActiveX Control Issues</A></H5>
<DIV id="ActiveXChild">
<blockquote> <A HREF="ReadmeVC.htm#ActiveX_Control_Issues_1">New ActiveX Control Test Container Cannot Open Saved Sessions Files Created by Previous Version</A> </blockquote>
<blockquote> <A HREF="ReadmeVC.htm#ActiveX_Control_Issues_2">Problems Accessing ActiveX Control Test Container Help</A> </blockquote>
<blockquote> <A HREF="ReadmeVC.htm#ActiveX_Control_Issues_4">Some ActiveX Controls Created with Visual Basic Generate Error in Test Container on Resize</A> </blockquote>
<blockquote> <A HREF="ReadmeVC.htm#ActiveX_Control_Issues_5">Oracle Joins and MSRDC20.ocx (Remote Data Control V2)</A> </blockquote>
<blockquote> <A HREF="ReadmeVC.htm#ActiveX_Control_Issues_6">Current, Localized ActiveX Redistributable Components</A> </blockquote>
</DIV>
<!-----------------------------------LANG ISSUES-------------------------------------->
<H5><A class=ex HREF="#" ID="Language" title="Click to collapse or expand" onmouseover = "this.style.color='orange'" onmouseout = "this.style.color=''" onclick="checkExpand( )">Language Issues</A></H5>
<DIV id="LanguageChild">
<blockquote> <A HREF="ReadmeVC.htm#Language_Issues_3">Size Mismatch for Type bool in Visual C++ 4.2 Programs Built with Visual C++ 6.0</A> </blockquote>
<blockquote> <A HREF="ReadmeVC.htm#Language_Issues_4">Support for Member Templates</A> </blockquote>
</DIV>
<!-----------------------------------MFC ISSUES--------------------------------------->
<H5><A class=ex HREF="#" ID="Libraries" title="Click to collapse or expand" onmouseover = "this.style.color='orange'" onmouseout = "this.style.color=''" onclick="checkExpand( )">Libraries Issues</A></H5>
<DIV id="LibrariesChild">
<blockquote> <A HREF="ReadmeVC.htm#MFC_1">Using MFC with New SDK Releases</A> </blockquote>
<blockquote> <A HREF="ReadmeVC.htm#MFC_3">Incomplete Documentation for CWnd::RepositionBars</A> </blockquote>
<blockquote> <A HREF="ReadmeVC.htm#MFC_5">Incorrect Example Code in the CArchive::MapObject Member Function</A> </blockquote>
<blockquote> <A HREF="ReadmeVC.htm#MFC_5.1">Some ATL Object Stock Properties Must Be Initialized Before Use in Visual Basic 5.0 Containers</A> </blockquote>
<blockquote> <A HREF="ReadmeVC.htm#MFC_5.3">ATL Font and Picture Properties May Require Changes to the IDL File</A> </blockquote>
<blockquote> <A HREF="ReadmeVC.htm#MFC_6">Documentation Missing for MFC Message Map Macro ON_WM_SETTINGCHANGE</A> </blockquote>
<blockquote> <A HREF="ReadmeVC.htm#MFC_7">TN024 Doesn't Identify All Custom MFC Resource Types</A> </blockquote>
<blockquote> <A HREF="ReadmeVC.htm#MFC_8">MFC DAO Classes Will Work with Either DAO 3.0 or DAO 3.5</A> </blockquote>
<blockquote> <A HREF="ReadmeVC.htm#MFC_9">Using DAO with a Secure Database</A> </blockquote>
<blockquote> <A HREF="ReadmeVC.htm#MFC_13">MFC Loads Wrong Resource in Extension .dll</A> </blockquote>
<blockquote> <A HREF="ReadmeVC.htm#MFC_14">Call _findclose After Using _findfirst or _findnext</A> </blockquote>
<blockquote> <A HREF="ReadmeVC.htm#MFC_20">Format Specification Not Supported in COleDateTime and COleDateTimeSpan Classes</A> </blockquote>
<blockquote> <A HREF="ReadmeVC.htm#MFC_21">IsBadHugeReadPtr, IsBadHugeWritePtr, IsBadStringPtr, IsBadWritePtr, and Access Violations</A> </blockquote>
<blockquote> <A HREF="ReadmeVC.htm#MFC_23">ServerSupportFunction No Longer Supports SF_REQ_GET_CONNID</blockquote>
<blockquote> <A HREF="ReadmeVC.htm#MFC_24">Hot Track Property for Spin Control Not Implemented</blockquote>
<blockquote> <A HREF="ReadmeVC.htm#MFC_25">COleDateTime::GetStatus Returns Valid for Default Constructor</blockquote>
<blockquote> <A HREF="ReadmeVC.htm#MFC_26">Opening a DLL as "Resources" Might Require Installation of .nls Files</blockquote>
<blockquote> <A HREF="ReadmeVC.htm#MFC_27">Multiple Language Resource Files</blockquote>
<blockquote> <A HREF="ReadmeVC.htm#MFC_28">AfxDumpStack API Will Not Work until NT 5.0 Beta 2</blockquote>
<blockquote> <A HREF="ReadmeVC.htm#MFC_29">Changes to IObjectSafetyImpl</A> </blockquote>
<blockquote> <A HREF="ReadmeVC.htm#MFC_30">Some Concrete MFC Classes Have No vtable When Built, Causing GPF on Deletion</A> </blockquote>
<blockquote> <A HREF="ReadmeVC.htm#Doc_27">ATLCOLUMNINFO Structure Not Documented</A> </blockquote>
<blockquote> <A HREF="ReadmeVC.htm#Doc_30">Errors in "IDispatchImpl" and "IProvideClassInfo2Impl" Topics</A> </blockquote>
<blockquote> <A HREF="ReadmeVC.htm#Doc_10">CFileDialog Undocumented Functions</A> </blockquote>
</DIV>
<!-----------------------------------WIZARD ISSUES------------------------------------>
<H5><A class=ex HREF="#" ID="Wizard" title="Click to collapse or expand" onmouseover = "this.style.color='orange'" onmouseout = "this.style.color=''" onclick="checkExpand( )">Wizard and Other User-Interface Issues</A></H5>
<DIV id="WizardChild">
<blockquote> <A HREF="ReadmeVC.htm#Wizards_2">Using the MTS Option in ATL COM AppWizard</A> </blockquote>
<blockquote> <A HREF="ReadmeVC.htm#Wizards_2.15">Save .idl File Before Invoking ATL Add Method or ATL Add Property</A> </blockquote>
<blockquote> <A HREF="ReadmeVC.htm#Wizards_2.16">Databinding Dialog Controls in an OLE DB Application</A> </blockquote>
<blockquote> <A HREF="ReadmeVC.htm#Wizards_2.18">MFC AppWizard Generated Code Needs Editing for Tables and Providers with Spaces in Names</A> </blockquote>
<blockquote> <A HREF="ReadmeVC.htm#Wizards_6">Two New Template Variables Available to Custom AppWizards</A> </blockquote>
<blockquote> <A HREF="ReadmeVC.htm#Wizards_7">Problems with ClassWizard Generated Wrapper Classes for Visual Basic 5.0 ActiveX Servers </A> </blockquote>
<blockquote> <A HREF="ReadmeVC.htm#Wizards_8">ATL Controls in Visual Basic 5.0 Containers</A> </blockquote>
<blockquote> <A HREF="ReadmeVC.htm#Wizards_10">ClassView's Add Method and Add Property Dialog Boxes Sometimes Allow Illegal Return Types for Custom Interfaces</A> </blockquote>
<blockquote> <A HREF="ReadmeVC.htm#Wizards_11">MFC Header stdafx.h May Not Have All Necessary #include's from a Visual Modeler Code Generation</A> </blockquote>
<blockquote> <A HREF="ReadmeVC.htm#Wizards_13">IntelliSense Does Not Display Class Members for Inline Member Functions</A> </blockquote>
<blockquote> <A HREF="ReadmeVC.htm#Wizards_14">IntelliSense Might Present Outdated Information with Operating Systems That Ship After Visual C++ 6.0</A> </blockquote>
<blockquote> <A HREF="ReadmeVC.htm#Wizards_15">IntelliSense Limitations</A> </blockquote>
<blockquote> <A HREF="ReadmeVC.htm#Wizards_16">ClassView's Implement Connection Point: Problem with DIIDs in the Connection Point Map</A> </blockquote>
<blockquote> <A HREF="ReadmeVC.htm#Wizards_17">Help for All Tab in ActiveX Controls Properties Sheet Not Available</A> </blockquote>
<blockquote> <A HREF="ReadmeVC.htm#Wizards_18">Notes for MMC Snapin Object in ATL Object Wizard</A> </blockquote>
<blockquote> <A HREF="ReadmeVC.htm#Wizards_19">ATL Control's HWND Stock Property Causes Error Dialog in VB</A> </blockquote>
<blockquote> <A HREF="ReadmeVC.htm#Wizards_20">Program Does Not Compile When You Insert a New ATL Object into an MFC Database Application Using OLE DB Datasource</A> </blockquote>
<blockquote> <A HREF="ReadmeVC.htm#Wizards_21">Warning on ATL Object Wizard's "Free Threaded Marshaler" Option</A> </blockquote>
<blockquote> <A HREF="ReadmeVC.htm#Wizards_22">Project Names with Upper-ASCII or DBCS Characters Cause Build Errors in Custom AppWizard-Generated Projects</A> </blockquote>
<blockquote> <A HREF="ReadmeVC.htm#Wizards_23">Assertion in AppWizard-Generated MDI Active Document Container</A> </blockquote>
</DIV>
<!-----------------------------------MTS ISSUES--------------------------------------->
<H5><A class=ex HREF="#" ID="MTS" title="Click to collapse or expand" onmouseover = "this.style.color='orange'" onmouseout = "this.style.color=''" onclick="checkExpand( )">Microsoft Transaction Server Issues</A></H5>
<DIV id="MTSChild">
<blockquote> <A HREF="ReadmeVC.htm#MTS_1">Read Microsoft Transaction Server (MTS) Readme</A> </blockquote>
<blockquote> <A HREF="ReadmeVC.htm#MTS_2">MTS Objects Created with the ATL AppWizard Require Manual Running MTXRereg.Exe</A> </blockquote>
<blockquote> <A HREF="ReadmeVC.htm#MTS_3">Disable Transaction Time Out While Debugging</A> </blockquote>
<blockquote> <A HREF="ReadmeVC.htm#MTS_4">No Proxy/Stubs with Dual Interfaces</A> </blockquote>
<blockquote> <A HREF="ReadmeVC.htm#MTS_5">Older Versions of MSDTC May Cause MTS Transaction Failures</A> </blockquote>
</DIV>
<!-----------------------------------DATA TOOLS ISSUES-------------------------------->
<H5><A class=ex HREF="#" ID="DataTools" title="Click to collapse or expand" onmouseover = "this.style.color='orange'" onmouseout = "this.style.color=''" onclick="checkExpand( )">Microsoft Visual Database Tools Issues</A></H5>
<DIV id="DataToolsChild">
<blockquote> <A HREF="ReadmeVC.htm#Data_Tools_2">DataView "Create New Extended Stored Procedure" Dialog Box Truncates Path of DLL Name</A> </blockquote>
<blockquote> <A HREF="ReadmeVC.htm#Data_Tools_3">Visual C++ 6.0 Professional Edition Includes Read-Only Microsoft Database Tools</A> </blockquote>
<blockquote> <A HREF="ReadmeVC.htm#Data_Tools_4">Jet Versions Supported by Visual C++</A> </blockquote>
</DIV>
<!-----------------------------------SAMPLE ISSUES------------------------------------>
<H5><A class=ex HREF="#" ID="Samples" title="Click to collapse or expand" onmouseover = "this.style.color='orange'" onmouseout = "this.style.color=''" onclick="checkExpand( )">Sample Program Issues</A></H5>
<DIV id="SamplesChild">
<blockquote> <A HREF="ReadmeVC.htm#Sample_Program_Issues_3">Ignore SFL Directory in Samples</A> </blockquote>
<blockquote> <A HREF="ReadmeVC.htm#Sample_Program_Issues_16">MINIMAL Sample Needs Modification to Build</A> </blockquote>
<blockquote> <A HREF="ReadmeVC.htm#Sample_Program_Issues_18">COMMAP: Remove Mktyplib Compat Mode for MIDL</A> </blockquote>
<blockquote> <A HREF="ReadmeVC.htm#Sample_Program_Issues_20">AtlTangram: Needs Additional Files in Include Path</A> </blockquote>
<blockquote> <A HREF="ReadmeVC.htm#Sample_Program_Issues_21">Some Samples Have Source Safe Linkage</A> </blockquote>
<blockquote> <A HREF="ReadmeVC.htm#Sample_Program_Issues_22">DBVList</A> </blockquote>
<blockquote> <A HREF="ReadmeVC.htm#Sample_Program_Issues_24">ComplexDB</A> </blockquote>
<blockquote> <A HREF="ReadmeVC.htm#Sample_Program_Issues_25">ATLMTO Sample Needs to Have ATL_MIN_CRT Turned Off</A> </blockquote>
<blockquote> <A HREF="ReadmeVC.htm#Sample_Program_Issues_26">Addendum to ComplexDB Sample Abstract</A> </blockquote>
<blockquote> <A HREF="ReadmeVC.htm#Sample_Program_Issues_27">ACCSPICT Sample Command Line Error</A> </blockquote>
<blockquote> <A HREF="ReadmeVC.htm#Sample_Program_Issues_28">CIRC and STOCKTICKERATL Samples Get MIDL Error</A> </blockquote>
<blockquote> <A HREF="ReadmeVC.htm#Sample_Program_Issues_29">CIRCPROPS Sample Cannot Open circ.h Because of CIRC Problem</A> </blockquote>
<blockquote> <A HREF="ReadmeVC.htm#Sample_Program_Issues_30">AUTODRIVE Gets Command Line Error</A> </blockquote>
<blockquote> <A HREF="ReadmeVC.htm#Sample_Program_Issues_31">Ignore SourceSafe Dialog When Loading ActiveDoc and Polygon ATL Samples</A> </blockquote>
<blockquote> <A HREF="ReadmeVC.htm#Sample_Program_Issues_32">Rebuild All on SDK's INOLE2 Samples Will Give Linker Error</A> </blockquote>
<blockquote> <A HREF="ReadmeVC.htm#Sample_Program_Issues_33">Workspace Files for the VCCOM COMMAP Sample Have Mismatched Targets</A> </blockquote>
<blockquote> <A HREF="ReadmeVC.htm#Sample_Program_Issues_34">Known Problems in MYPROV Sample</A> </blockquote>
<blockquote> <A HREF="ReadmeVC.htm#Sample_Program_Issues_35">ActiveDoc ATL Sample Defaults to Unicode</A> </blockquote>
</DIV>
<!-----------------------------------OLE DB ISSUES------------------------------------>
<H5><A class=ex HREF="#" ID="OLEDB" title="Click to collapse or expand" onmouseover = "this.style.color='orange'" onmouseout = "this.style.color=''" onclick="checkExpand( )">OLE DB Issues</A></H5>
<DIV id="OLEDBChild">
<blockquote> <A HREF="ReadmeVC.htm#OLE_DB_2.1">OLE DB Consumer Template Samples</A> </blockquote>
<blockquote> <A HREF="ReadmeVC.htm#OLE_DB_2.2">OLE DB Provider Templates Sample</A> </blockquote>
<blockquote> <A HREF="ReadmeVC.htm#OLE_DB_4">Remove UUID2.lib from Link Line of OLE DB SDK TableCopy Sample </A> </blockquote>
<blockquote> <A HREF="ReadmeVC.htm#OLE_DB_5">TableCopy Faults with Oracle Data Connections</A> </blockquote>
<blockquote> <A HREF="ReadmeVC.htm#OLE_DB_6">Configuring OLE_DB_xx Data Sources in the ODBC Administrator</A> </blockquote>
<blockquote> <A HREF="ReadmeVC.htm#OLE_DB_9">Binding Multiple Complex Databound Controls to the Same ADO Data Source Will Crash Application on Exit</A> </blockquote>
<blockquote> <A HREF="ReadmeVC.htm#OLE_DB_10">Some Controls Do Not Draw Correctly in the Resource Editor</A> </blockquote>
<blockquote> <A HREF="ReadmeVC.htm#OLE_DB_11">Binding ADODC to Controls then Editing Record Source Will Draw Spurious Errors</A> </blockquote>
<blockquote> <A HREF="ReadmeVC.htm#OLE_DB_12">Hierarchical Flex Grid Does Not Refresh on Second Query</A> </blockquote>
<blockquote> <A HREF="ReadmeVC.htm#OLE_DB_14.1">Porting Providers Created with Visual C++ Technology Preview Release to Version 6.0</A> </blockquote>
<blockquote> <A HREF="ReadmeVC.htm#OLE_DB_14.2">Porting Consumers Created with Visual C++ Technology Preview Release to Version 6.0</A> </blockquote>
<blockquote> <A HREF="ReadmeVC.htm#OLE_DB_15">Cannot Use ADO Databound Controls with Remote Data Source Control (MSRDC), or RDO Databound Controls with ADO Data Source Control (ADODC)</A> </blockquote>
<blockquote> <A HREF="ReadmeVC.htm#OLE_DB_16">Known OLE DB Provider Problems with Visual C++ Wizards</A> </blockquote>
<blockquote> <A HREF="ReadmeVC.htm#OLE_DB_17">Notes on Running OLE DB Provider Conformance Tests</A> </blockquote>
<blockquote> <A HREF="ReadmeVC.htm#OLE_DB_18">Simple Bound ADO Databound Controls Must Be Associated with a Column</A> </blockquote>
<blockquote> <A HREF="ReadmeVC.htm#OLE_DB_19">Some OLE DB Providers Do Not Support Table Names with Spaces</A> </blockquote>
<blockquote> <A HREF="ReadmeVC.htm#Wizards_2.16">Databinding Dialog Controls in an OLE DB Application</A> </blockquote>
<blockquote> <A HREF="ReadmeVC.htm#Wizards_2.18">MFC AppWizard Generated Code Needs Editing for Tables and Providers with Spaces in Names</A> </blockquote>
</DIV>
<!-----------------------------------SQL ISSUES--------------------------------------->
<H5><A class=ex HREF="#" ID="SQL" title="Click to collapse or expand" onmouseover = "this.style.color='orange'" onmouseout = "this.style.color=''" onclick="checkExpand( )">SQL and SQL Debugging Issues</A></H5>
<DIV id="SQLChild">
<blockquote> <A HREF="ReadmeVC.htm#SQL_1">DataView and IDE Crashes When Opening Table Against DSN Using Oracle's ODBC Driver</A> </blockquote>
<blockquote> <A HREF="ReadmeVC.htm#SQL_2">Previous Versions of Visual C++ Cannot Read SQL Diagrams Opened by Later Versions</A> </blockquote>
<blockquote> <A HREF="ReadmeVC.htm#SQL_3">Enabling SQL Debugging</A> </blockquote>
<blockquote> <A HREF="ReadmeVC.htm#SQL_4">Server-Side Setup Must Check SQL Server Account</A> </blockquote>
<blockquote> <A HREF="ReadmeVC.htm#SQL_5">SQL Server OLE DB Provider Requires New instcat.sql</A> </blockquote>
<blockquote> <A HREF="ReadmeVC.htm#SQL_6">MultiRead Provider Sample Needs Modification to Run</A> </blockquote>
<blockquote> <A HREF="ReadmeVC.htm#SQL_7">SQL Server OLE DB Provider Requires Indexes to be Set on Tables for IRowsetScroll</A> </blockquote>
</DIV>
<!-----------------------------------COMPILER ISSUES---------------------------------->
<H5><A class=ex HREF="#" ID="Compiler" title="Click to collapse or expand" onmouseover = "this.style.color='orange'" onmouseout = "this.style.color=''" onclick="checkExpand( )">Compiler, Linker, Debugger, and MIDL Compiler Issues</A></H5>
<DIV id="CompilerChild">
<blockquote> <A HREF="ReadmeVC.htm#Compiler_30">New Debugger Features</A> </blockquote>
<blockquote> <A HREF="ReadmeVC.htm#Compiler_37">Some Linker Options Disable Edit and Continue</A> </blockquote>
<blockquote> <A HREF="ReadmeVC.htm#Compiler_38">Use New -opt:win98 Linker Switch If Targeting Windows 98 Platforms</A> </blockquote>
<blockquote> <A HREF="ReadmeVC.htm#Compiler_39">Problem with Debugging COM/ActiveX Controls Through Internet Explorer 4.0 or Later</A> </blockquote>
<blockquote> <A HREF="ReadmeVC.htm#Compiler_40">STRICT Type Checking Is Enabled by Default</A> </blockquote>
<blockquote> <A HREF="ReadmeVC.htm#Compiler_31">Remote Debugging: Debug Monitor Password Field in MSVCMON.exe Disabled</A> </blockquote>
<blockquote> <A HREF="ReadmeVC.htm#Compiler_34">_com_error Constructor Changed</A> </blockquote>
<blockquote> <A HREF="ReadmeVC.htm#Compiler_32">Breakpoints Set in Some Circumstances Might Not Work</A> </blockquote>
<blockquote> <A HREF="ReadmeVC.htm#Compiler_35">Duplicate GUIDs Cause Build Failures Using uuid.lib</A> </blockquote>
<blockquote> <A HREF="ReadmeVC.htm#Compiler_1">Using Windbg with Visual C++ 6.0 Projects</A> </blockquote>
<blockquote> <A HREF="ReadmeVC.htm#Compiler_2">_ATL_MIN_CRT and Link Error "unresolved external symbol _main" </A> </blockquote>
<blockquote> <A HREF="ReadmeVC.htm#Compiler_3">DCOM95 Available for Distributed Applications</A> </blockquote>
<blockquote> <A HREF="ReadmeVC.htm#Compiler_11">Debugging Windows API Functions with NT Symbols Loaded </A> </blockquote>
<blockquote> <A HREF="ReadmeVC.htm#Compiler_12">If Screen Flashes During Build or the Wrong Code Page Is Used When Debugging a Console Application </A> </blockquote>
<blockquote> <A HREF="ReadmeVC.htm#Compiler_15">MIDL2020: error generating type library: save all changes failed </A> </blockquote>
<blockquote> <A HREF="ReadmeVC.htm#Compiler_17">Error Command Line Warning MIDL1009:unknown argument ignored</A> </blockquote>
<blockquote> <A HREF="ReadmeVC.htm#Compiler_41">/Zn Option Obsolete</A> </blockquote>
<blockquote> <A HREF="ReadmeVC.htm#Compiler_42">Delay Loading DLLs or Loading DLLs "on Demand"</A> </blockquote>
<blockquote> <A HREF="ReadmeVC.htm#Compiler_43">NT System Symbol Setup Installs Debugging Files Only for the Language of Your Product</A> </blockquote>
<blockquote> <A HREF="ReadmeVC.htm#Compiler_44">New Dumpbin Option /LOADCONFIG</A> </blockquote>
<blockquote> <A HREF="ReadmeVC.htm#Compiler_45">New Compiler Switch /QIfist</A> </blockquote>
<blockquote> <A HREF="ReadmeVC.htm#Compiler_46">Cannot Debug Fibers on Windows 98</A> </blockquote>
<blockquote> <A HREF="ReadmeVC.htm#Compiler_47">#pragma data_seg Affects Initialized Data Only</A> </blockquote>
<blockquote> <A HREF="ReadmeVC.htm#Compiler_48">Setting Breakpoints and Using Set Next Statement in Edited Code</A> </blockquote>
<blockquote> <A HREF="ReadmeVC.htm#Compiler_49">Using the /GX Option (Synchronous Exception Handling) with Command-Line Tools</A> </blockquote>
<blockquote> <A HREF="ReadmeVC.htm#Compiler_50">No F1 Help on TCP/IP Network Settings Dialog Box</A> </blockquote>
<blockquote> <A HREF="ReadmeVC.htm#Compiler_51">Visual C++ 5.0 Can Read Version 6.0 Projects, but Behavior Is Undefined</A> </blockquote>
<blockquote> <A HREF="ReadmeVC.htm#Compiler_52">Windows NT Symbols Setup Gives Erroneous Message</A> </blockquote>
<blockquote> <A HREF="ReadmeVC.htm#Compiler_53">AfxDumpStack Does Not Dump Readable Symbols from an MFC Application</A> </blockquote>
<blockquote> <A HREF="ReadmeVC.htm#Compiler_54">Browsing Symbol Information Might Cause Access Violation in Projects where excel8.olb Has Been #imported</A> </blockquote>
</DIV>
<!-----------------------------------VSS ISSUES--------------------------------------->
<H5><A class=ex HREF="#" ID="VSS" title="Click to collapse or expand" onmouseover = "this.style.color='orange'" onmouseout = "this.style.color=''" onclick="checkExpand( )">Visual SourceSafe Issues</A></H5>
<DIV id="VSSChild">
<blockquote> <A HREF="ReadmeVC.htm#VSS_1">Converting a Visual C++ 4.x Project Directly from Source Control</A> </blockquote>
<blockquote> <A HREF="ReadmeVC.htm#VSS_2">Using Visual SourceSafe 5.0 with Keyword Expansion Requires Visual Studio 97 Service Pack 1</A> </blockquote>
</DIV>
<!-----------------------------------VCM ISSUES--------------------------------------->
<H5><A class=ex HREF="#" ID="VCM" title="Click to collapse or expand" onmouseover = "this.style.color='orange'" onmouseout = "this.style.color=''" onclick="checkExpand( )">Visual Component Manager Issues</A></H5>
<DIV ID="VCMChild">
<blockquote> <a href="ReadmeVC.htm#RelatedFilesTab">"Related Files Tab (Component Properties Dialog Box)" Topic Incorrect</a> </blockquote>
<blockquote> <a href="ReadmeVC.htm#RemovingRepository10RegistryKeys">Removing Repository 1.0 Registry Keys</a> </blockquote>
<blockquote> <a href="ReadmeVC.htm#AddingrepositorytablestoanexistingMDBfile">Adding Repository Tables to an Existing .mdb File</a> </blockquote>
</DIV>
<P> </P>
<!-----------------------------------END OF TOC--------------------------------------->
<H3><A NAME="Setup_0"></A>Setup Issues</H3>
<H4><A NAME="Setup_3"><B>Protected-Mode CD-ROM Driver Required on Windows 95 for Visual C++ Installation</B></A></H4>
<P>To install Visual C++ 6.0 on Windows 95, you must be running a protected-mode CD-ROM driver. You can verify this by checking the Device Manager. If you are currently using a real-mode CD-ROM driver, contact your CD-ROM drive manufacturer for an updated driver for Windows 95 before installing Visual C++ 6.0.</P>
<H4><A NAME="Setup_4"><B>Use Knowledge Base Articles to Solve Setup and Operating Problems</B> </A></H4>
<P>You can use the Knowledge Base articles in the MSDN documentation to resolve known installation and operating problems. Select the <B>Search</B> command from the <B>Help</B> menu and search for error message or related keywords to find a problem description and resolution.</P>
<P>Knowledge Base articles, written by Microsoft Technical Support Engineers, are also available by connecting to <A HREF = "http://www.microsoft.com/support/">http://www.microsoft.com/support/</A>, then click "support online." You will have to register the first time. After you have registered, enter your email name and password. Choose "Visual C++" in the <B>Choose a product</B> drop-down list. Enter the article title or number in the <B>My question is</B> text box, then click <B>Find</B>.</P>
<H4><A NAME="Setup_5"><B>How to Report Visual C++ Bugs on the WWW</B></A></H4>
<P>Go to <A HREF = "http://www.microsoft.com/regwiz/regwiz.asp">http://www.microsoft.com/regwiz/regwiz.asp</A> and select "Report a bug in a product." Follow the instructions from there.</P>
<H4><A NAME="Setup_6">Viewing "ANSI Character Code Chart" in HTML Help Requires an English System</A></H4>
<P>The character codes displayed in the "ANSI Character Code Chart" topic will only display correctly if viewed on English systems using an "ANSI-compatible" code page. </A></P>
<H4><A NAME="Setup_7">Resource Viewer and Compiler Not Installed in Some Custom Setup Configurations</A></H4> <!--45394-->
<P>If you install Visual C++ using a custom setup, and omit the Visual C++ resource viewer and compiler, you will not be able to view the project resources.</P>
<P>The workaround is to install Visual C++ with all options (including run-time libraries, MFC and templates, build tools, etc.).</P>
<H4><A NAME="Setup_8">Avoiding Problems Associated with Installing New SDKs</A></H4> <!--46809-->
<P>When installing Microsoft SDKs, compare the header and library dates in the SDK files with the files that were shipped with Visual C++. If the SDK files are newer, you should place the SDK directories before the default Visual C++ INCLUDE and LIB directories listed in the Directories tab of the Options dialog in the Tools menu.</P>
<P> </P>
<!------------------------------------------------------------------------------------>
<H3><A NAME="Build_0"></A>Build Issues</H3>
<H4><A NAME="Build_5"></A>Help File Names with European Characters Do Not Copy Correctly on Windows 95</H4>
<P>The Help compiler converts the name of the Help file into uppercase characters. On Windows 95, this causes problems when the Visual Studio Build System tries to copy a name that contains European characters (such as umlauted characters) to the output directory for the rest of the project build. This is not a problem on Windows NT.
</P>
<H5>Workaround</H5>
<P>Add a copy step with the name of the Help file, in uppercase, to the custom build rule on the .hpj file in the project.
</P>
<H4><A NAME="Build_6"></A>"Update All Dependencies" Menu Item Removed</H4>
<P>The <B>Update All Dependencies</B> item has been removed from the <B>Build</B> menu because dependencies are automatically updated in each build. Dependencies are updated at the beginning of the initial build and at the end of every build.</P>
<P> </P>
<!------------------------------------------------------------------------------------>
<H3><A NAME="Doc_0"></A>Documentation Issues</H3>
<H4><A NAME="Doc_1.1"></A>New Help Viewer</H4> <!--47137-->
<P>Online documentation is now accessed with a Help viewer based on HTML Help. The Help Viewer can either be installed during the Visual Studio installation or from the MSDN CD-ROM. See the <A HREF="ReadmeDN.htm">Microsoft Developer Network Library Readme</A> for full details on MSDN installation.</P>
<P>Access the Help Viewer by selecting items on the <B>Help</B> menu in the Visual C++ environment. When you bring up Help, you will get a separate window that displays navigation buttons, tabs with contents, index and search, and a pane with text. It is displayed in a similar manner to WinHelp in the Office products. This is the behavior for all Developer Tools products in Visual Studio 6.0.</P>
<H4><A NAME="Doc_1.2"></A>Sample Code Sometimes Does Not Cut and Paste Properly</H4> <!--47119-->
<P>Line breaks and formatting information may not copy correctly when you copy and paste sample code from the MSDN Library Visual Studio documentation to your code editor. See the item "Sample Code Sometimes Does Not Cut and Paste Properly" in the <A HREF="ReadmeDN.htm">MSDN Readme</A> or the <A HREF="ReadmeVS.htm">Visual Studio Readme</A>.</P>
<H4><A NAME="Doc_6"></A>CToolbar::SetButtonStyles Documentation Missing Information</H4>
<P><B>CToolbar::SetButtonStyles</B> is missing the following three style descriptions:<P>
<ul>
<li><B>TBBS_AUTOSIZE</B> - The button's width will be calculated based on the text of the button, not the size of the image.</li>
<li><B>TBBS_NOPREFIX</B> - The button text will not have an accelerator prefix associated with it.</li>
<li><B>TBBS_DROPDOWN</B> - Creates a drop-down list button. Drop-down buttons send the <B>TBN_DROPDOWN</B> notification. If the toolbar has the <B>TBSTYLE_EX_DRAWDDARROWS</B> extended style, drop-down buttons will have a drop-down arrow displayed next to them.</li>
</ul>
<H4><A NAME="Doc_7"></A>Error in Topic "Enabling STRICT Type Checking"</H4>
<P>The topic "Enabling STRICT Type Checking" in the <I>Visual C++ Programmer's Guide</I> incorrectly states that STRICT type checking is not defined by default, and that you must explicitly enable it. STRICT type checking is enabled by default as described in
<A HREF="ReadmeVC.htm#Compiler_40">this item</A>.</P>
<H4><A NAME="Doc_8"></A>Error in Topic "Modifying IntelliSense Options"</H4> <!--36456-->
<P>In the topic "Modifying IntelliSense Options," under the heading "To change default key mappings for Intellisense options," Step 3 should have <B>All commands</B> instead of <B>Commands</B>.</P>
<H4><A NAME="Doc_8.1"></A>Error in Topic "Create a Utility Project"</H4>
<!--40001-->
<P>In the topic "Create a Utility Project" in the <I>Visual C++ Programmer's Guide</I>, the instruction in Step 2 to "double-click the Dynamic Link-Library icon" should read "double-click the Utility Project icon."</P>
<H4><A NAME="Doc_9"></A>Developing Context-Sensitive Help Using HTML Help</H4> <!--34644-->
<P>If you are developing context-sensitive help for your programs and want to use HTML Help rather than WinHelp, read "Help Topics (HTML Help): Context-Sensitive Help for Your Programs" in the <I>Visual C++ Programmer's Guide</I>.</P>
<P>Note that there is an error in the topic <A HREF = "ReadmeVC.htm#Doc_11">"Receiving HTML Help Notification Messages in an MFC Application"</A>, described below.</P>
<H4><A NAME="Doc_11"></A>Error in Topic "Receiving HTML Help Notification Messages in an MFC Application"</H4> <!--39708-->
<P>Step 3 of the topic "Receiving HTML Help Notification Messages in an MFC Application" is incorrect. The entire topic should read as follows:</P>
<P>To receive notification messages from HTML Help within an MFC program, you must:</P>
<OL>
<LI>Define a symbol in your Visual C++ project. This example uses a symbol called <B>ID_HHNOTIFICATION</B>.
<UL>
<LI>To define a symbol, right-click the high-level folder in <B>ResourceView</B> and select <B>Resource Symbols</B>.</LI>
<LI>In the <B>Resource Symbols</B> dialog box, click <B>New</B> and define the new symbol.</LI>
</UL>
</LI>
<LI>In your Visual C++ project, initialize the <B>HH_WINTYPE</B> structure and call the <B>HTMLHelp</B> function to set this structure using the <B>HH_SET_WIN_TYPE</B> command. Use <B>ID_HHNOTIFICATION</B> for the <I>idNotify</I> field in the structure.</LI>
<LI>Override the <B>OnNotify</B> function in the derivative of the <B>CWnd</B> class that you want to receive the message (the <B>CWnd</B> class associated with <B>HWND</B> specified in the <B>hwndCaller</B> field of the <B>WW_WINTYPE</B> structure). The following example shows how an <B>OnNotify</B> function is used to call an <B>OnNavComplete(HHN_NOTIFY*, LRESULT)</B> handler whenever HTML Help navigates to a topic:</LI>
</OL>
<PRE><FONT FACE="Courier">
BOOL CMyView::OnNotify(WPARAM wParam, LPARAM lParam, LRESULT* pResult)
{
NMHDR* pNMHDR = (NMHDR*)lParam;
switch (pNMHDR->idFrom) {
case ID_HHNOTIFICATION: // whatever id you placed in idNotify of HH_WINTYPE
if (pNMHDR->code == HHN_NAVCOMPLETE) {
OnNavComplete((HHN_NOTIFY*) lParam, pResult);
return TRUE;
}
break;
}
}
return CView::OnNotify(wParam, lParam, pResult);
}
</PRE></FONT>
<P> </P>
<H4><A NAME="Doc_12"></A>Addendum to AutoClik Tutorial Topics</H4> <!--34895-->
<P>The AutoClik tutorial topics "Overview of AutoClik Steps 1, 2, and 3" and "Implementing Multiple Dispatch Interfaces" should mention that the .frm file included in AutoClik sample Step 3 enables accessing the automation object via Visual Basic.</P>
<H4><A NAME="Doc_13"></A>Tree View Controls Not Documented</H4> <!--36518-->
<P>Two Tree View Control styles were not documented at the time of shipping:</P>
<H5>Non-even height</H5>
<P>The height of the items can be set to an odd height with the TVM_SETITEMHEIGHT message. By default, the height of items must be an even value.</P>
<H5>Right-to-left reading order</H5>
<P>Displays text using right-to-left reading order on Hebrew or Arabic systems.</P>
<H4><A NAME="Doc_15"></A>References to MFC Version 4.22 in the Documentation</H4> <!--36472-->
<P>There are references to MFC version 4.22 in the "Porting and Upgrading" section of the <I>Visual C++ Programmer's Guide</I> and in the section "Microsoft Foundation Class Library (MFC)" under <I>What's New in Visual C++ Version 6.0</I>. These references are incorrect and will be changed to 4.21. There was no MFC version 4.22.</P>
<H4><A NAME="Doc_17"></A>wmemchr, wmemmove, wmemcpy, wmemset Not Available from C</H4> <!--39932-->
<P>The <I>Standard C++ Library Reference</I> indicates that wmemchr, wmemmove, wmemcpy, wmemset, and so on, are available from C. Microsoft's implementation supports them only in C++, not in C.</P>
<H4><A NAME="Doc_18"></A>Undocumented CTabCtrl Styles</H4> <!--40902-->
<P>The <B>CTabCtrl</B> styles <B>TCS_BOTTOM</B>, <B>TCS_HOTTRACK</B>, and <B>TCS_VERTICAL</B> are not documented. These should be listed with the other valid styles in the <B>CTabCtrl::Create</B> topic. For descriptions of these styles, search online, with <B>Search titles only</B> selected, for the topic "Tab Control Styles" (under Platform SDK documentation) in the MSDN Library Visual Studio 6.0 documentation.</P>
<H4><A NAME="Doc_19"></A>CControlBar::GetDockingFrame Documentation Does Not State Return Value When Control Bar Is Floating</H4> <!--41189-->
<P>The documentation for <B>CControlBar::GetDockingFrame</B> should state that if the control bar is not docked to a frame window (that is, if the control bar is floating), this function will return a pointer to its parent <B>CMiniFrameWnd</B>.</P>
<H4><A NAME="Doc_20"></A>Addendum to DECLARE_CLASSFACTORY_AUTO_THREAD Topic</H4> <!--41549-->
<P>The documentation for DECLARE_CLASSFACTORY_AUTO_THREAD should state the following:</P>
<P>When you wish to create objects in multiple apartments (in an out-of-proc server), add the macro <B>DECLARE_CLASSFACTORY_AUTO_THREAD</B> to your class and derive your EXE module from <B>CComAutoThreadModule</B>.</P>
<H4><A NAME="Doc_21"></A>Error in "CComModule::Init" Topic</H4> <!--41552-->
<P>The documentation for CComModule::Init omits the final parameter. This is the correct description:</P>
<P><B>HRESULT Init(_ATL_OBJMAP_ENTRY* p, HINSTANCE h, const GUID* plibid = NULL)</B></P>
<P><B><FONT COLOR="NAVY">Return Value</FONT></B></P>
<P>A standard HRESULT value.</P>
<P><B><FONT COLOR="NAVY">Parameters</FONT></B></P>
<P><I>p</I><BR>
[in] A pointer to an array of object map entries.</P>
<P><I>h</I><BR>
[in] The HINSTANCE passed to DLLMain or WinMain.</P>
<P><I>plibid</I><BR>
[in] A pointer to the LIBID of the typelibrary associated with the project.</P>
<P><B><FONT COLOR="NAVY">Remarks</FONT></B></P>
<P>Initializes all data members.</P>
<P><B>See Also</B> CComModule::Term</P>
<H4><A NAME="Doc_23"></A>Errors in "Implementing a Simple Consumer" Topic</H4> <!--42652-->
<P>The topic "Implementing a Simple Consumer" under "OLE DB Templates" in <I>Microsoft Foundation Classes and Templates</I> has the following errors:</P>
<UL>
<LI>The topic "Implementing a Simple Consumer" should state:</LI>
<P>Because you are manually creating this code, you need to include these in stdafx.h:</P>
<PRE><FONT SIZE=2>
#include <atlbase.h>
extern CComModule _Module;
#include <atlcom.h>
#include <atlhost.h>
#include <atldb.h>
#include <atldbcli.h>
</PRE></FONT>
<LI>In "Add a handler for the Run button," the code should be changed as follows:</LI>
<PRE><FONT FACE=Verdana SIZE=2>
From: </FONT>
<FONT FACE=Courier SIZE=2>
if (source.Open("MyProvider.MyProvider.1", NULL) != S_OK) </FONT>
<FONT FACE=Verdana SIZE=2>
To: </FONT>
<FONT FACE=Courier SIZE=2>
if (source.Open("MyProvider.MyProvider.1") != S_OK) </FONT>
<FONT FACE=Verdana SIZE=2>
After these changes are made, TestProv can be used to test MyProv. </FONT>
</PRE>
<P>Also, there should be a space between the '>>' angle brackets in the line:</P>
<PRE><FONT FACE=Verdana SIZE=2>
From: </FONT>
<FONT FACE=Courier SIZE=2>
CCommand<CAccessor<CProvider>> table; </FONT>
<FONT FACE=Verdana SIZE=2>
To: </FONT>
<FONT FACE=Courier SIZE=2>
CCommand<CAccessor<CProvider> > table; </FONT>
</PRE>
<P> </P>
</UL>
<H4><A NAME="Doc_24"></A>Addendum to CProgressCtrl Topic</H4> <!--42738-->
<P>The documentation for <B>CProgressCtrl</B> suggests that the progress bar can display text. In fact, the current version of the progress bar does not draw text.</P>
<H4><A NAME="Doc_25"></A>Error in "Implementing a Window with CWindowImpl" Topic</H4> <!--42894-->
<P>In the topic "Implementing a Window with CWindowImpl," in the code example under the section "Superclassing an Existing Windows Class," the call to <B>DECLARE_WND_SUPERCLASS</B> lists the parameters in the reverse order. The seventh line of code should read:</P>
<PRE><FONT FACE=Courier SIZE=2>
DECLARE_WND_SUPERCLASS("MyEdit", "Edit")
</PRE></FONT>
<P> </P>
<H4><A NAME="Doc_26"></A>Errors in CDC::Escape Topic</H4> <!--30465-->
<P>The syntax for <B>CDC::Escape</B> should appear as follows:</P>
<PRE><FONT FACE=Courier SIZE=2>
virtual int Escape( int nEscape, int nCount, LPCSTR lpszInData, LPVOID lpOutData );
int Escape( int nEscape, int nInputSize, LPCSTR lpszInputData, int nOutputSize, LPSTR lpszOutputData );
</PRE></FONT>
<P>This member function is practically obsolete for Win32 programming. Of the original printer escapes, only QUERYESCSUPPORT is supported for Win32 applications. All other printer escapes are obsolete and are supported only for compatibility with 16-bit applications.</P>
<P>For Win32 programming, <B>CDC</B> now provides six member functions that supersede several printer escapes:</P>
<UL>
<LI><B>CDC::AbortDoc</B></LI>
<LI><B>CDC::EndDoc</B></LI>
<LI><B>CDC::EndPage</B></LI>
<LI><B>CDC::SetAbortProc</B></LI>
<LI><B>CDC::StartDoc</B></LI>
<LI><B>CDC::StartPage</B></LI>
</UL>
<P>In addition, <B>CDC::GetDeviceCaps</B> supports Win32 indexes that supersede other printer escapes. For more information, search online, with <B>Search titles only</B> selected, for the topic "GetDeviceCaps" in the <I>Platform SDK</I> in the MSDN Library Visual Studio 6.0 documentation.</P>
<P>This member function allows applications to access facilities of a particular device that are not directly available through GDI.</P>
<P>Use the first version if your application uses predefined escape values. Use the second version if your application defines private escape values. For more information about the second version, search online, with <B>Search titles only</B> selected, for the topic "ExtEscape" in the <I>Platform SDK</I> in the MSDN Library Visual Studio 6.0 documentation.</P>
<H4><A NAME="Doc_27"></A>ATLCOLUMNINFO Structure Not Documented</H4> <!--43255-->
<P><B>ATLCOLUMNINFO</B> is a structure defined by OLE DB Provider Templates in ATLDB.h. It contains the same fields as the <B>DBCOLUMNSINFO</B> structure defined by the OLE DB SDK with one additional field, cbOffset, that is used by ATL.</P>
<PRE><FONT FACE=Courier SIZE=2>
struct ATLCOLUMNINFO
{
LPOLESTR pwszName;
ITypeInfo *pTypeInfo;
ULONG iOrdinal;
DBCOLUMNFLAGS dwFlags;
ULONG ulColumnSize;
DBTYPE wType;
BYTE bPrecision;
BYTE bScale;
DBID columnid;
UINT cbOffset;
};
</PRE></FONT>
<PRE><FONT FACE=Verdana SIZE=2>
<B>UINT</B> <I>cbOffset</I> : Byte offset for the column into the data buffer.
Primarily used by <B>IRowsetImpl::GetData()</B>.
</PRE></FONT>
<P>For documentation of <B>DBCOLUMNSINFO</B> refer to the <B>IColumnsInfo::GetColumnInfo</B> topic in the <I>OLE DB Reference</I>.</P>
<H4><A NAME="Doc_28"></A>ATLTRACE and AtlTrace Documentation Incorrectly Refer to Dump Device</H4> <!--44441-->
<P>The <B>ATLTRACE</B> and <B>AtlTrace</B> documentation states that the <I>exp</I> argument is "the formatted string and variables to send to the dump device." In fact, <B>ATLTRACE</B> and <B>AtlTrace</B> wrap the Win32 API <B>OutputDebugString</B>, the output of which is captured by the Visual C++ output window or any application that traps these messages.</P>
<H4><A NAME="Doc_29"></A>Errors in "How Do I Reference a Property in My Provider?" Topic</H4> <!--38625-->
In the topic "How Do I Reference a Property in My Provider?" (in the <I>Microsoft Foundation Class Library and Templates, OLE DB Templates</I>) the following lines should be omitted:
<PRE><FONT FACE="Verdana" SIZE=2>
Use the data member <I>m_spUnkSite</I> to get the pointer to the object that created your object.
</FONT><FONT FACE="Courier">
CAgentRowset<CMyProviderCommand>* pRowset = (CAgentRowset<CMyProviderCommand>*) pThis;
CComQIPtr<IRowsetInfo, &IID_IRowsetInfo> spRowsetProps = pRowset;
</FONT></PRE>
The following line should be inserted directly before the call to set.AddPropertyID in "Here's the final code."
<PRE><FONT FACE="Courier">
DBPROPIDSET set;
</PRE></FONT>
<P> </P>
<H4><A NAME="Doc_31"></A>Undocumented Function AfxDebugBreak</H4> <!--44011-->
<P><B><FONT SIZE=4 COLOR="GRAY">AfxDebugBreak</FONT></B></P>
<P><B>void AfxDebugBreak( );</B></P>
<P><B><FONT COLOR="NAVY">Remarks</FONT></B></P>
<P>Call this function to cause a break (at the location of the call to <B>AfxDebugBreak</B>) in the execution of the debug version of your MFC application. <B>AfxDebugBreak</B> has no effect in release versions of an MFC application and should be removed. This function should only be used in MFC applications. Use the Win32 API version, <B>DebugBreak</B>, to cause a break in non-MFC applications.</P>
<H4><A NAME="Doc_32"></A>Undocumented ATL Consumer Method CDataSource::OpenWithServiceComponents</H4> <!--45505-->
<P><B>OpenWithServiceComponents</B> was added to support the new OLE DB Service Components for cursoring, auto transaction enlistment and session pooling. It is used by both the MFC AppWizard and ATL Consumer Wizard-generated code.</P>
<P><B><FONT SIZE=4 COLOR="GRAY">CDataSource::OpenWithServiceComponents</FONT></B></P>
<P><B>HRESULT OpenWithServiceComponents(const CLSID& clsid, DBPROPSET* pPropSet = NULL, ULONG nPropertySets=1)</B></P>
<P><B>HRESULT OpenWithServiceComponents(LPCTSTR szProgID, DBPROPSET* pPropSet = NULL, ULONG nPropertySets=1)</B></P>
<P><B><FONT COLOR="NAVY">Return Value</FONT></B><BR>
A standard HRESULT.</P>
<P><B><FONT COLOR="NAVY">Parameters</FONT></B><BR>
<P><I>clsid</I><BR>
[in] The CLSID of the data provider.</P>
<P><I>pPropSet</I><BR>
[in] A pointer to a DBPROPSET structure containing properties and values to be used to initialize the provider. The properties must belong to the Initialization property group. See CDBPropSet for further information.</P>
<P><I>szProgID</I><BR>
[in] A program identifier.</P>
<P><I>nPropertySets</I><BR>
[in] The number of DBPROPSET structures in pPropSet. If this is zero, the provider ignores pPropSet and the method does not do anything.</P>
<P><B><FONT COLOR="NAVY">Remarks</FONT></B><BR>
Opens a connection to a data source using a CLSID or program ID and utilizes the OLE DB Service Components which can provide cursoring, auto transaction enlistment and session pooling.</P>
<P>Service component documentation can be found in OLEDB SDK 2.0 readme.For an example of how to use this function generate an MFC Appwizard application and select OLE DB database support. Then examine the generated Open function in the C<YourProjectName>Set class.</P>
<P> </P>
<H4><A NAME="Doc_33"></A>Errors in AddProject Method Topic</H4> <!--35348-->
<P>In the "Developer Studio Objects" reference in the <I>Visual C++ Users Guide</I> the syntax of the AddProject method is incorrectly documented. Instead of:</P>