Skip to content

Commit c83251a

Browse files
committed
update
1 parent 1bed106 commit c83251a

16 files changed

+1671
-50
lines changed

Project/MouseHook.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ STDMETHODIMP CMouseHook::InterfaceSupportsErrorInfo(REFIID riid)
107107
};
108108
for (int i=0; i < sizeof(arr) / sizeof(arr[0]); i++)
109109
{
110-
if (InlineIsEqualGUID(*arr[i],riid))
110+
if (::InlineIsEqualGUID(*arr[i],riid))
111111
return S_OK;
112112
}
113113
return S_FALSE;
132 KB
Binary file not shown.
13.5 KB
Binary file not shown.

Project/StdAfx.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,11 @@
66

77
#ifdef _ATL_STATIC_REGISTRY
88
#include <statreg.h>
9+
#if _MSC_VER <= 1200 // 1200=VC++6.0(vs98)
910
#include <statreg.cpp>
1011
#endif
12+
#endif
1113

12-
#if _MSC_VER <= 1200 // MFC 6.0 or earlier
14+
#if _MSC_VER <= 1200 // 1200=VC++6.0(vs98)
1315
#include <atlimpl.cpp>
1416
#endif

Project/StdAfx.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ static const char *AUTHOR = "denglf";
1717
#endif // _MSC_VER > 1000
1818

1919
#define STRICT
20-
#if _MSC_VER <= 1200 // MFC 6.0 or earlier
20+
#if _MSC_VER <= 1400 // 1200=VC++6.0(vs98) - 1400=VC++ 8.0(vs2005)
2121
#ifndef _WIN32_WINNT
2222
#define _WIN32_WINNT 0x0400
2323
#endif

Project/Subclass.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ STDMETHODIMP CSubclass::InterfaceSupportsErrorInfo(REFIID riid)
2626
};
2727
for (int i=0; i < sizeof(arr) / sizeof(arr[0]); i++)
2828
{
29-
if (InlineIsEqualGUID(*arr[i],riid))
29+
if (::InlineIsEqualGUID(*arr[i],riid))
3030
return S_OK;
3131
}
3232
return S_FALSE;

Project/TSubclass.aps

-544 Bytes
Binary file not shown.

Project/TSubclass.plg

Lines changed: 50 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -6,87 +6,95 @@
66
--------------------Configuration: TSubclass - Win32 Release MinDependency--------------------
77
</h3>
88
<h3>Command Lines</h3>
9-
Creating command line "midl.exe /tlb ".\TSubclass.tlb" /h "TSubclass.h" /iid "TSubclass_i.c" /Oicf "W:\eLungFan\TSubclass\Project\TSubclass.idl""
10-
Creating command line "rc.exe /l 0x804 /fo"ReleaseMinDependency/TSubclass.res" /d "NDEBUG" "W:\eLungFan\TSubclass\Project\TSubclass.rc""
11-
Creating temporary file "C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\RSPAB2.tmp" with contents
9+
Creating command line "midl.exe /tlb ".\TSubclass.tlb" /h "TSubclass.h" /iid "TSubclass_i.c" /Oicf "C:\Documents and Settings\Administrator\����\TSubclass\Project\TSubclass.idl""
10+
Creating command line "rc.exe /l 0x804 /fo"ReleaseMinDependency/TSubclass.res" /d "NDEBUG" "C:\Documents and Settings\Administrator\����\TSubclass\Project\TSubclass.rc""
11+
Creating temporary file "C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\RSP383.tmp" with contents
1212
[
1313
/nologo /MT /W3 /O1 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "_ATL_STATIC_REGISTRY" /D "_ATL_MIN_CRT" /FR"ReleaseMinDependency/" /Fp"ReleaseMinDependency/TSubclass.pch" /Yu"stdafx.h" /Fo"ReleaseMinDependency/" /Fd"ReleaseMinDependency/" /FD /c
14-
"W:\eLungFan\TSubclass\Project\MouseHook.cpp"
15-
"W:\eLungFan\TSubclass\Project\Subclass.cpp"
16-
"W:\eLungFan\TSubclass\Project\TSubclass.cpp"
17-
"W:\eLungFan\TSubclass\Project\WinHook.cpp"
14+
"C:\Documents and Settings\Administrator\����\TSubclass\Project\MouseHook.cpp"
15+
"C:\Documents and Settings\Administrator\����\TSubclass\Project\Subclass.cpp"
16+
"C:\Documents and Settings\Administrator\����\TSubclass\Project\TSubclass.cpp"
17+
"C:\Documents and Settings\Administrator\����\TSubclass\Project\WinHook.cpp"
1818
]
19-
Creating command line "cl.exe @C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\RSPAB2.tmp"
20-
Creating temporary file "C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\RSPAB3.tmp" with contents
19+
Creating command line "cl.exe @C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\RSP383.tmp"
20+
Creating temporary file "C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\RSP384.tmp" with contents
2121
[
2222
/nologo /MT /W3 /O1 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "_ATL_STATIC_REGISTRY" /D "_ATL_MIN_CRT" /FR"ReleaseMinDependency/" /Fp"ReleaseMinDependency/TSubclass.pch" /Yc"stdafx.h" /Fo"ReleaseMinDependency/" /Fd"ReleaseMinDependency/" /FD /c
23-
"W:\eLungFan\TSubclass\Project\StdAfx.cpp"
23+
"C:\Documents and Settings\Administrator\����\TSubclass\Project\StdAfx.cpp"
2424
]
25-
Creating command line "cl.exe @C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\RSPAB3.tmp"
26-
Creating temporary file "C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\RSPAB4.tmp" with contents
25+
Creating command line "cl.exe @C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\RSP384.tmp"
26+
Creating temporary file "C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\RSP385.tmp" with contents
2727
[
2828
kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:windows /dll /incremental:no /pdb:"ReleaseMinDependency/TSubclass.pdb" /machine:I386 /def:".\TSubclass.def" /out:"ReleaseMinDependency/TSubclass.dll" /implib:"ReleaseMinDependency/TSubclass.lib"
29-
.\ReleaseMinDependency\MouseHook.obj
30-
.\ReleaseMinDependency\StdAfx.obj
31-
.\ReleaseMinDependency\Subclass.obj
32-
.\ReleaseMinDependency\TSubclass.obj
33-
.\ReleaseMinDependency\WinHook.obj
34-
.\ReleaseMinDependency\TSubclass.res
29+
".\ReleaseMinDependency\MouseHook.obj"
30+
".\ReleaseMinDependency\StdAfx.obj"
31+
".\ReleaseMinDependency\Subclass.obj"
32+
".\ReleaseMinDependency\TSubclass.obj"
33+
".\ReleaseMinDependency\WinHook.obj"
34+
".\ReleaseMinDependency\TSubclass.res"
3535
]
36-
Creating command line "link.exe @C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\RSPAB4.tmp"
37-
Creating temporary file "C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\RSPAB5.bat" with contents
36+
Creating command line "link.exe @C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\RSP385.tmp"
37+
Creating temporary file "C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\RSP386.bat" with contents
3838
[
3939
@echo off
4040
regsvr32 /s /c ".\ReleaseMinDependency\TSubclass.dll"
4141
echo regsvr32 exec. time > ".\ReleaseMinDependency\regsvr32.trg"
4242
]
43-
Creating command line "C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\RSPAB5.bat"
43+
Creating command line "C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\RSP386.bat"
4444
Creating Type Library...
4545
Microsoft (R) 32b/64b MIDL Compiler Version 6.00.0347
4646
Copyright (c) Microsoft Corp 1991-2000. All rights reserved.
47-
Processing W:\eLungFan\TSubclass\Project\TSubclass.idl
47+
Processing C:\Documents and Settings\Administrator\����\TSubclass\Project\TSubclass.idl
4848
TSubclass.idl
49-
Processing C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\oaidl.idl
49+
Processing C:\Program Files\Microsoft Platform SDK for Windows XP SP2\include\oaidl.idl
5050
oaidl.idl
51-
Processing C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\objidl.idl
51+
Processing C:\Program Files\Microsoft Platform SDK for Windows XP SP2\include\objidl.idl
5252
objidl.idl
53-
Processing C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\unknwn.idl
53+
Processing C:\Program Files\Microsoft Platform SDK for Windows XP SP2\include\unknwn.idl
5454
unknwn.idl
55-
Processing C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\wtypes.idl
55+
Processing C:\Program Files\Microsoft Platform SDK for Windows XP SP2\include\wtypes.idl
5656
wtypes.idl
57-
Processing C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\ocidl.idl
57+
Processing C:\Program Files\Microsoft Platform SDK for Windows XP SP2\include\basetsd.h
58+
basetsd.h
59+
Processing C:\Program Files\Microsoft Platform SDK for Windows XP SP2\include\guiddef.h
60+
guiddef.h
61+
Processing C:\Program Files\Microsoft Platform SDK for Windows XP SP2\include\ocidl.idl
5862
ocidl.idl
59-
Processing C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\oleidl.idl
63+
Processing C:\Program Files\Microsoft Platform SDK for Windows XP SP2\include\oleidl.idl
6064
oleidl.idl
61-
Processing C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\servprov.idl
65+
Processing C:\Program Files\Microsoft Platform SDK for Windows XP SP2\include\servprov.idl
6266
servprov.idl
63-
Processing C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\urlmon.idl
67+
Processing C:\Program Files\Microsoft Platform SDK for Windows XP SP2\include\urlmon.idl
6468
urlmon.idl
65-
Processing C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\msxml.idl
69+
Processing C:\Program Files\Microsoft Platform SDK for Windows XP SP2\include\msxml.idl
6670
msxml.idl
6771
Processing C:\Program Files\Microsoft Platform SDK for Windows XP SP2\include\oaidl.acf
6872
oaidl.acf
6973
Processing C:\Program Files\Microsoft Platform SDK for Windows XP SP2\include\ocidl.acf
7074
ocidl.acf
71-
64 bit Processing W:\eLungFan\TSubclass\Project\TSubclass.idl
75+
64 bit Processing C:\Documents and Settings\Administrator\����\TSubclass\Project\TSubclass.idl
7276
TSubclass.idl
73-
64 bit Processing C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\oaidl.idl
77+
64 bit Processing C:\Program Files\Microsoft Platform SDK for Windows XP SP2\include\oaidl.idl
7478
oaidl.idl
75-
64 bit Processing C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\objidl.idl
79+
64 bit Processing C:\Program Files\Microsoft Platform SDK for Windows XP SP2\include\objidl.idl
7680
objidl.idl
77-
64 bit Processing C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\unknwn.idl
81+
64 bit Processing C:\Program Files\Microsoft Platform SDK for Windows XP SP2\include\unknwn.idl
7882
unknwn.idl
79-
64 bit Processing C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\wtypes.idl
83+
64 bit Processing C:\Program Files\Microsoft Platform SDK for Windows XP SP2\include\wtypes.idl
8084
wtypes.idl
81-
64 bit Processing C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\ocidl.idl
85+
64 bit Processing C:\Program Files\Microsoft Platform SDK for Windows XP SP2\include\basetsd.h
86+
basetsd.h
87+
64 bit Processing C:\Program Files\Microsoft Platform SDK for Windows XP SP2\include\guiddef.h
88+
guiddef.h
89+
64 bit Processing C:\Program Files\Microsoft Platform SDK for Windows XP SP2\include\ocidl.idl
8290
ocidl.idl
83-
64 bit Processing C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\oleidl.idl
91+
64 bit Processing C:\Program Files\Microsoft Platform SDK for Windows XP SP2\include\oleidl.idl
8492
oleidl.idl
85-
64 bit Processing C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\servprov.idl
93+
64 bit Processing C:\Program Files\Microsoft Platform SDK for Windows XP SP2\include\servprov.idl
8694
servprov.idl
87-
64 bit Processing C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\urlmon.idl
95+
64 bit Processing C:\Program Files\Microsoft Platform SDK for Windows XP SP2\include\urlmon.idl
8896
urlmon.idl
89-
64 bit Processing C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\msxml.idl
97+
64 bit Processing C:\Program Files\Microsoft Platform SDK for Windows XP SP2\include\msxml.idl
9098
msxml.idl
9199
64 bit Processing C:\Program Files\Microsoft Platform SDK for Windows XP SP2\include\oaidl.acf
92100
oaidl.acf
@@ -105,7 +113,7 @@ Linking...
105113
Creating library ReleaseMinDependency/TSubclass.lib and object ReleaseMinDependency/TSubclass.exp
106114
<h3>Output Window</h3>
107115
Performing registration
108-
Creating command line "bscmake.exe /nologo /o"ReleaseMinDependency/TSubclass.bsc" .\ReleaseMinDependency\StdAfx.sbr .\ReleaseMinDependency\MouseHook.sbr .\ReleaseMinDependency\Subclass.sbr .\ReleaseMinDependency\TSubclass.sbr .\ReleaseMinDependency\WinHook.sbr"
116+
Creating command line "bscmake.exe /nologo /o"ReleaseMinDependency/TSubclass.bsc" ".\ReleaseMinDependency\StdAfx.sbr" ".\ReleaseMinDependency\MouseHook.sbr" ".\ReleaseMinDependency\Subclass.sbr" ".\ReleaseMinDependency\TSubclass.sbr" ".\ReleaseMinDependency\WinHook.sbr""
109117
Creating browse info file...
110118
<h3>Output Window</h3>
111119

Project/TSubclass2005.sln

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
2+
Microsoft Visual Studio Solution File, Format Version 9.00
3+
# Visual Studio 2005
4+
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "TSubclass", "TSubclass2005.vcproj", "{B8BEA853-E6BD-4B1D-AD16-BB4912BA8DBB}"
5+
EndProject
6+
Global
7+
GlobalSection(SolutionConfigurationPlatforms) = preSolution
8+
Debug|Win32 = Debug|Win32
9+
Release MinDependency|Win32 = Release MinDependency|Win32
10+
Release MinSize|Win32 = Release MinSize|Win32
11+
Unicode Debug|Win32 = Unicode Debug|Win32
12+
Unicode Release MinDependency|Win32 = Unicode Release MinDependency|Win32
13+
Unicode Release MinSize|Win32 = Unicode Release MinSize|Win32
14+
EndGlobalSection
15+
GlobalSection(ProjectConfigurationPlatforms) = postSolution
16+
{B8BEA853-E6BD-4B1D-AD16-BB4912BA8DBB}.Debug|Win32.ActiveCfg = Debug|Win32
17+
{B8BEA853-E6BD-4B1D-AD16-BB4912BA8DBB}.Debug|Win32.Build.0 = Debug|Win32
18+
{B8BEA853-E6BD-4B1D-AD16-BB4912BA8DBB}.Release MinDependency|Win32.ActiveCfg = Release MinDependency|Win32
19+
{B8BEA853-E6BD-4B1D-AD16-BB4912BA8DBB}.Release MinDependency|Win32.Build.0 = Release MinDependency|Win32
20+
{B8BEA853-E6BD-4B1D-AD16-BB4912BA8DBB}.Release MinSize|Win32.ActiveCfg = Release MinSize|Win32
21+
{B8BEA853-E6BD-4B1D-AD16-BB4912BA8DBB}.Release MinSize|Win32.Build.0 = Release MinSize|Win32
22+
{B8BEA853-E6BD-4B1D-AD16-BB4912BA8DBB}.Unicode Debug|Win32.ActiveCfg = Unicode Debug|Win32
23+
{B8BEA853-E6BD-4B1D-AD16-BB4912BA8DBB}.Unicode Debug|Win32.Build.0 = Unicode Debug|Win32
24+
{B8BEA853-E6BD-4B1D-AD16-BB4912BA8DBB}.Unicode Release MinDependency|Win32.ActiveCfg = Unicode Release MinDependency|Win32
25+
{B8BEA853-E6BD-4B1D-AD16-BB4912BA8DBB}.Unicode Release MinDependency|Win32.Build.0 = Unicode Release MinDependency|Win32
26+
{B8BEA853-E6BD-4B1D-AD16-BB4912BA8DBB}.Unicode Release MinSize|Win32.ActiveCfg = Unicode Release MinSize|Win32
27+
{B8BEA853-E6BD-4B1D-AD16-BB4912BA8DBB}.Unicode Release MinSize|Win32.Build.0 = Unicode Release MinSize|Win32
28+
EndGlobalSection
29+
GlobalSection(SolutionProperties) = preSolution
30+
HideSolutionNode = FALSE
31+
EndGlobalSection
32+
EndGlobal

0 commit comments

Comments
 (0)