Home > Software engineering >  Created in vc6.0 MFC class add small class header files under the "# import... "How to com
Created in vc6.0 MFC class add small class header files under the "# import... "How to com

Time:10-03

1, using vc6.0 to create an MFC project, and then add the _Application, _Workbook, Worksheet, Range, Workbooks, Worksheets these six classes, but now need to add the above six header files in "# import" C: \ \ Program Files \ \ Microsoft Office \ \ OFFICE11 \ \ EXCEL EXE "no_namespace" commented, I opened to this a few classes, but didn't find the lines of code (as shown in figure 1), so detailed steps, illustrations, best grateful,
2, how do the following step to complete the
in stdAfx. H header file add added a few header file
# include "CApplication. H"
# include "CRange. H"
# include "CWorkbook. H"
# include "CWorkbooks. H"
# include "CWorksheet. H"
# include "CWorksheets. H"

Step by step and graphical best,,, thank you for the great god

CodePudding user response:

The Edit menu - & gt; Find in files including subdirectories

CodePudding user response:

Such as
the Searching for '# import '...
C: \ TEST \ EditXML \ StdAfx h (23) : # import "msxml3. DLL" named_guids raw_interfaces_only
C: \ TEST \ GraphicOcx \ Graphic \ Bookmark h (3) ://# import "C: \ \ Program Files \ \ Microsoft Office \ \ 13th \ \ MSWORD OLB" no_namespace
C: \ TEST \ GraphicOcx \ Graphic \ Bookmarks h (3) ://# import "C: \ \ Program Files \ \ Microsoft Office \ \ 13th \ \ MSWORD OLB" no_namespace
C: \ TEST \ GraphicOcx \ Graphic \ CnlineShape h (3) ://# import "C: \ \ Program Files \ \ Microsoft Office \ \ 13th \ \ MSWORD OLB" no_namespace
C: \ TEST \ GraphicOcx \ Graphic \ CnlineShapes h (3) ://# import "C: \ \ Program Files \ \ Microsoft Office \ \ 13th \ \ MSWORD OLB" no_namespace
C: \ TEST \ GraphicOcx \ Graphic \ stdafx h (58) : # import "OtherLib/JlReport. DLL rename_namespace" (" JlReport ")
C: \ TEST \ GraphicOcx \ Graphic \ stdafx h (61) : # import "OtherLib/JlReport. DLL rename_namespace" (" JlReport ")
C: \ TEST \ GraphicOcx \ Graphic \ stdafx h (70) : # import "OtherLib/Ftp. TLB "
C: \ TEST \ PCSHARE final version of the source code interface resources \ \ [XTreme. Toolkit. 9.6. MFC]. XTreme Toolkit. Pro. V9.60 \ Samples \ ToolkitPro \ Grep \ StdAfx h (62) : # import "RegExp. TLB
"C: \ TEST \ RD \ RDS \ RDSDlg CPP (29) : # import "msxml3. DLL
"C: \ TEST \ winpcap \ \ network intrusion detection System (NIDS \ StdAfx h (24) : # import "C: \ Program Files \ Common Files \ System \ ado \ msado15 DLL" no_namespace rename (" EOF ", "rsEOF")
11 occurrence (s) have had been found.
  • Related