blob: f480c6be4b3258cd8beeb9e78e1995a3a2d076e3 (
plain)
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
|
========================================================================
DEVELOPER STUDIO ADD-IN : VisVim
========================================================================
The Add-in Wizard has created this VisVim DLL for you. This DLL not only
demonstrates the basics of creating a Developer Studio add-in, but it is also
a starting point for writing your own add-in.
An add-in mainly does two things.
(1) It adds commands to Developer Studio, which can then be tied
to keystrokes or toolbar buttons by the user or programmatically
by the add-in.
(2) It responds to events fired by Developer Studio.
In both cases, the add-in code has access to the full Developer Studio
Automation Object Model, and may manipulate those objects to affect the
behavior of Developer Studio.
This file contains a summary of what you will find in each of the files that
make up your VisVim DLL.
VisVim.h
This is the main header file for the DLL. It declares the
CVisVimApp class.
VisVim.cpp
This is the main DLL source file. It contains the class CVisVimApp.
It also contains the OLE entry points required of inproc servers.
VisVim.odl
This file contains the Object Description Language source code for the
type library of your DLL.
VisVim.rc
This is a listing of all of the Microsoft Windows resources that the
program uses. It includes the sample toolbar bitmap that is stored
in the RES subdirectory. This file can be directly edited in Microsoft
Developer Studio.
res\VisVim.rc2
This file contains resources that are not edited by Microsoft
Developer Studio. You should place all resources not
editable by the resource editor in this file.
VisVim.def
This file contains information about the DLL that must be
provided to run with Microsoft Windows. It defines parameters
such as the name and description of the DLL. It also exports
functions from the DLL.
VisVim.clw
This file contains information used by ClassWizard to edit existing
classes or add new classes. ClassWizard also uses this file to store
information needed to create and edit message maps and dialog data
maps and to create prototype member functions.
/////////////////////////////////////////////////////////////////////////////
Add-in-specific files:
DSAddIn.cpp, DSAddIn.h
These files contain the CDSAddIn class, which implements the
IDSAddIn interface. This interface contains handlers
for connecting and disconnecting the add-in.
Commands.cpp, Commands.h
These files contain the CCommands class, which implements your
command dispatch interface. This interface contains one method
for each command you add to Developer Studio.
These files also contain stub implementations of handlers for all events
fired by the Developer Studio Application object.
OleAut.cpp
These files contain a general OLE automation class used to communicate
with vim.
Reg.cpp
These files contain functions to access the registry.
/////////////////////////////////////////////////////////////////////////////
Other standard files:
StdAfx.h, StdAfx.cpp
These files are used to build a precompiled header (PCH) file
named VisVim.pch and a precompiled types file named StdAfx.obj.
Resource.h
This is the standard header file, which defines new resource IDs.
Microsoft Developer Studio reads and updates this file.
|