Yes, I know that you moved it to another namespace. However, that is not my question.
I am trying to use it in a WPF app. I am trying to provide the method its IWin32Window handle using a WindowInteropHelper ohject like this
WindowInteropHelper helper = new WindowInteropHelper(wpfWindow);
I then pass in helper.Owner as the IWin32Window parameter. While this worked in the old version, in the new it produces a compiler error:
Error 1258 The best overloaded method match for 'NetSqlAzMan.SnapIn.DirectoryServices.DirectoryServicesUtils.ADObjectPickerShowDialog(System.Windows.Forms.IWin32Window, bool)' has some invalid arguments C:\Documents and Settings\JRICH\Projects\Pipeyard\Core\Globals\clsAppGlobals.cs 1957 17 Core
Error 1259 Argument '1': cannot convert from 'System.IntPtr' to 'System.Windows.Forms.IWin32Window' C:\Documents and Settings\JRICH\Projects\Pipeyard\Core\Globals\clsAppGlobals.cs 1957 65 Core
What am I missing?