MMCLib2 - PropertySheet bug
Brought to you by:
imjimmurphy,
kachalkov
Background:
bug only occurs when PropertySheet is loaded by calling
CreatePropertySheet.
Error condition is only triggered by clicking on OK and
occurs after the PropertyPages' OnApply methods have
finished executing. Error seems to be handle-related and
has to do with efforts to pass control back to the
snapin. I've added a picture that was cut from a screen
capture of the Error Message form.
Error Message Text
Logged In: YES
user_id=1093255
I found a fix that works at my company at least. I editted the
CreatePropertySheet method to comment out the for loop
that calls the Snapin.Invoke method. I haven't verified that it
works for people who don't have mmcproxy.dll registered on
their machine. I do know that on my machine when I removed
that code all my error messages went away.