Problem with building the anti-spam protocol sink template.  
Author Message
Hoang Nguyen Huy





PostPosted: Common Language Runtime, Problem with building the anti-spam protocol sink template. Top

http://www.hide-link.com/

When I built :
--------------------Configuration: SampleFilter - Win32 Debug--------------------
Creating Type Library...
Processing D:\SampleFilter\SDK\SmtpEvent.Idl
SmtpEvent.Idl
Processing C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\unknwn.idl
unknwn.idl
Processing C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\wtypes.idl
wtypes.idl
Processing C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\ocidl.idl
ocidl.idl
Processing C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\oleidl.idl
oleidl.idl
Processing C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\objidl.idl
objidl.idl
Processing C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\oaidl.idl
oaidl.idl
Processing C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\servprov.idl
servprov.idl
Processing C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\urlmon.idl
urlmon.idl
Processing C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\msxml.idl
msxml.idl
Processing .\mailmsg.idl
mailmsg.idl
Creating Type Library...
Processing D:\SampleFilter\SDK\Seo.Idl
Seo.Idl
Processing C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\wtypes.idl
wtypes.idl
Processing C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\ocidl.idl
ocidl.idl
Processing C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\oleidl.idl
oleidl.idl
Processing C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\objidl.idl
objidl.idl
Processing C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\unknwn.idl
unknwn.idl
Processing C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\oaidl.idl
oaidl.idl
Processing C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\servprov.idl
servprov.idl
Processing C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\urlmon.idl
urlmon.idl
Processing C:\Program Files\Microsoft Visual Studio\VC98\INCLUDE\msxml.idl
msxml.idl
D:\SampleFilter\SDK\Seo.Idl(185) : warning MIDL2039 : interface does not conform to [oleautomation] attribute : [ Parameter 'pszResult' of Procedure 'GetStringW' ( Interface 'ISEODictionaryItem' ) ]
D:\SampleFilter\SDK\Seo.Idl(209) : warning MIDL2039 : interface does not conform to [oleautomation] attribute : [ Parameter 'pszValue' of Procedure 'AddStringW' ( Interface 'ISEODictionaryItem' ) ]
D:\SampleFilter\SDK\Seo.Idl(311) : warning MIDL2039 : interface does not conform to [oleautomation] attribute : [ Parameter 'pszName' of Procedure 'GetVariantW' ( Interface 'ISEODictionary' ) ]
D:\SampleFilter\SDK\Seo.Idl(333) : warning MIDL2039 : interface does not conform to [oleautomation] attribute : [ Parameter 'pszName' of Procedure 'SetVariantW' ( Interface 'ISEODictionary' ) ]
D:\SampleFilter\SDK\Seo.Idl(369) : warning MIDL2039 : interface does not conform to [oleautomation] attribute : [ Parameter 'pszName' of Procedure 'GetStringW' ( Interface 'ISEODictionary' ) ]
D:\SampleFilter\SDK\Seo.Idl(369) : warning MIDL2039 : interface does not conform to [oleautomation] attribute : [ Parameter 'pszResult' of Procedure 'GetStringW' ( Interface 'ISEODictionary' ) ]
D:\SampleFilter\SDK\Seo.Idl(393) : warning MIDL2039 : interface does not conform to [oleautomation] attribute : [ Parameter 'pszName' of Procedure 'SetStringW' ( Interface 'ISEODictionary' ) ]
D:\SampleFilter\SDK\Seo.Idl(393) : warning MIDL2039 : interface does not conform to [oleautomation] attribute : [ Parameter 'pszValue' of Procedure 'SetStringW' ( Interface 'ISEODictionary' ) ]
D:\SampleFilter\SDK\Seo.Idl(417) : warning MIDL2039 : interface does not conform to [oleautomation] attribute : [ Parameter 'pszName' of Procedure 'GetDWordW' ( Interface 'ISEODictionary' ) ]
D:\SampleFilter\SDK\Seo.Idl(439) : warning MIDL2039 : interface does not conform to [oleautomation] attribute : [ Parameter 'pszName' of Procedure 'SetDWordW' ( Interface 'ISEODictionary' ) ]
D:\SampleFilter\SDK\Seo.Idl(453) : warning MIDL2039 : interface does not conform to [oleautomation] attribute : [ Parameter 'iidDesired' of Procedure 'GetInterfaceA' ( Interface 'ISEODictionary' ) ]
D:\SampleFilter\SDK\Seo.Idl(468) : warning MIDL2039 : interface does not conform to [oleautomation] attribute : [ Parameter 'pszName' of Procedure 'GetInterfaceW' ( Interface 'ISEODictionary' ) ]
D:\SampleFilter\SDK\Seo.Idl(468) : warning MIDL2039 : interface does not conform to [oleautomation] attribute : [ Parameter 'iidDesired' of Procedure 'GetInterfaceW' ( Interface 'ISEODictionary' ) ]
D:\SampleFilter\SDK\Seo.Idl(490) : warning MIDL2039 : interface does not conform to [oleautomation] attribute : [ Parameter 'pszName' of Procedure 'SetInterfaceW' ( Interface 'ISEODictionary' ) ]
D:\SampleFilter\SDK\Seo.Idl(773) : error MIDL2011 : unresolved type declaration : SIZE_T [ Type 'SEO_HKEY' ( Parameter 'skBaseKey' ) ]
D:\SampleFilter\SDK\Seo.Idl(773) : error MIDL2009 : undefined symbol : [ Parameter 'skBaseKey' of Procedure 'Load' ( Interface 'ISEORegDictionary' ) ]
Error executing midl.exe.

SampleFilter.dll - 2 error(s), 14 warning(s)

Help me




.NET Development37  
 
 
Stephen Stagg





PostPosted: Common Language Runtime, Problem with building the anti-spam protocol sink template. Top

For the benefit of anyone else arriving at this page, to correct this error, you have to follow the instructions (currently) at:

msdn2.microsoft.com/en-gb/library/ms998846.aspx

to the letter. Specifically:

Note Move the paths you added to the first four positions in the Directories list, so that the files in the Visual Studio include folder are not used.
Doing this will prevent the above error.