Menu

#9 Fix MSB3305 build errors

1.1
open
None
2013-11-27
2013-11-27
No

Need to properly marshal the WUAPI COM components. They are only warning errors, so we'll get the program working and then fix the code so it manages the COM interface fully.

Currently getting these three errors :

warning MSB3305: Processing COM reference "WUApiLib" from path "C:\Windows\SysWOW64\wuapi.dll". At least one of the arguments for 'UpdateInstaller.get_ParentHwnd' cannot be marshaled by the runtime marshaler. Such arguments will therefore be passed as a pointer and may require unsafe code to manipulate.

warning MSB3305: Processing COM reference "WUApiLib" from path "C:\Windows\SysWOW64\wuapi.dll". At least one of the arguments for 'IUpdateInstaller2.get_ParentHwnd' cannot be marshaled by the runtime marshaler. Such arguments will therefore be passed as a pointer and may require unsafe code to manipulate.

warning MSB3305: Processing COM reference "WUApiLib" from path "C:\Windows\SysWOW64\wuapi.dll". At least one of the arguments for 'IUpdateInstaller.get_ParentHwnd' cannot be marshaled by the runtime marshaler. Such arguments will therefore be passed as a pointer and may require unsafe code to manipulate.

Discussion


Log in to post a comment.