Forum Discussion

mj_magcale's avatar
12 years ago

Unable to find an entry pointed named 'GetWindowLongPtr' in DLL 'user32' under the Choose Folder in Team Foundation Server

Hi, I'm trying to add Source Control Project to Testcomplete 8. My SCC Provider is 'Microsoft Team Foundation Server MSSCCI'.  After I connect to Team Foundation Server, the 'Choose Folder in Team Foundation Server' appears. After i put in some info and select a folder location, i clicked OK and an error message box appears:


See the end of this message for details on invoking

just-in-time (JIT) debugging instead of this dialog box.



************** Exception Text **************

System.EntryPointNotFoundException: Unable to find an entry point named 'GetWindowLongPtr' in DLL 'user32'.

   at Microsoft.TeamFoundation.Msscci.Client.NativeMethods.GetWindowLong(IntPtr hWnd, Int32 nIndex)

   at Microsoft.TeamFoundation.Msscci.Client.UIHost.GetProperOwnerWindow(IWin32Window owner)

   at Microsoft.TeamFoundation.Msscci.Client.UIHost.ShowMessageBox(IWin32Window parent, String text, String caption, MessageBoxButtons buttons, MessageBoxIcon icon, MessageBoxDefaultButton defaultButton)

   at Microsoft.TeamFoundation.Msscci.Client.UIHost.ShowQuestion(IWin32Window parent, String text, String caption)

   at Microsoft.TeamFoundation.Msscci.Client.Context.set_CurrentWorkspace(Workspace value)

   at Microsoft.TeamFoundation.Msscci.Client.Context.ConnectToWorkspace(String name, String ownerName)

   at Microsoft.TeamFoundation.Msscci.Gui.DialogPickFolderItem.okButton_Click(Object sender, EventArgs e)

   at System.Windows.Forms.Control.OnClick(EventArgs e)

   at System.Windows.Forms.Button.OnClick(EventArgs e)

   at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)

   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)

   at System.Windows.Forms.Control.WndProc(Message& m)

   at System.Windows.Forms.ButtonBase.WndProc(Message& m)

   at System.Windows.Forms.Button.WndProc(Message& m)

   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)

   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)

   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)





************** Loaded Assemblies **************

mscorlib

    Assembly Version: 4.0.0.0

    Win32 Version: 4.0.30319.18052 built by: FX45RTMGDR

    CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll

----------------------------------------

TfsMsscciSvr

    Assembly Version: 11.0.0.0

    Win32 Version:

    CodeBase: file:///C:/Program%20Files%20(x86)/Microsoft%20Team%20Foundation%20Server%20MSSCCI%20Provider/TFsMsscciSvr.exe

----------------------------------------

TfsMsscciGui

    Assembly Version: 11.0.0.0

    Win32 Version: 11.0.60506.0

    CodeBase: file:///C:/Program%20Files%20(x86)/Microsoft%20Team%20Foundation%20Server%20MSSCCI%20Provider/TfsMsscciGui.DLL

----------------------------------------

Microsoft.TeamFoundation.VersionControl.Client

    Assembly Version: 11.0.0.0

    Win32 Version: 11.0.50727.1 built by: RTMREL

    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Microsoft.TeamFoundation.VersionControl.Client/11.0.0.0__b03f5f7f11d50a3a/Microsoft.TeamFoundation.VersionControl.Client.dll

----------------------------------------

System

    Assembly Version: 4.0.0.0

    Win32 Version: 4.0.30319.18044 built by: FX45RTMGDR

    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll

----------------------------------------

System.Core

    Assembly Version: 4.0.0.0

    Win32 Version: 4.0.30319.17929 built by: FX45RTMREL

    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll

----------------------------------------

Microsoft.TeamFoundation.Client

    Assembly Version: 11.0.0.0

    Win32 Version: 11.0.50727.1 built by: RTMREL

    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Microsoft.TeamFoundation.Client/11.0.0.0__b03f5f7f11d50a3a/Microsoft.TeamFoundation.Client.dll

----------------------------------------

Microsoft.TeamFoundation.Common

    Assembly Version: 11.0.0.0

    Win32 Version: 11.0.50727.1

    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Microsoft.TeamFoundation.Common/11.0.0.0__b03f5f7f11d50a3a/Microsoft.TeamFoundation.Common.dll

----------------------------------------

System.Configuration

    Assembly Version: 4.0.0.0

    Win32 Version: 4.0.30319.18060 built by: FX45RTMGDR

    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll

----------------------------------------

System.Xml

    Assembly Version: 4.0.0.0

    Win32 Version: 4.0.30319.18060 built by: FX45RTMGDR

    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll

----------------------------------------

System.Windows.Forms

    Assembly Version: 4.0.0.0

    Win32 Version: 4.0.30319.18047 built by: FX45RTMGDR

    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll

----------------------------------------

System.Drawing

    Assembly Version: 4.0.0.0

    Win32 Version: 4.0.30319.18021 built by: FX45RTMGDR

    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll

----------------------------------------

Microsoft.TeamFoundation.VersionControl.Common

    Assembly Version: 11.0.0.0

    Win32 Version: 11.0.50727.1 built by: RTMREL

    CodeBase: file:///C:/Windows/assembly/GAC_MSIL/Microsoft.TeamFoundation.VersionControl.Common/11.0.0.0__b03f5f7f11d50a3a/Microsoft.TeamFoundation.VersionControl.Common.dll

----------------------------------------

System.Runtime.Serialization

    Assembly Version: 4.0.0.0

    Win32 Version: 4.0.30319.18055 built by: FX45RTMGDR

    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Runtime.Serialization/v4.0_4.0.0.0__b77a5c561934e089/System.Runtime.Serialization.dll

----------------------------------------

SMDiagnostics

    Assembly Version: 4.0.0.0

    Win32 Version: 4.0.30319.17929 built by: FX45RTMREL

    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/SMDiagnostics/v4.0_4.0.0.0__b77a5c561934e089/SMDiagnostics.dll

----------------------------------------

System.Web.Services

    Assembly Version: 4.0.0.0

    Win32 Version: 4.0.30319.17929 built by: FX45RTMREL

    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Web.Services/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Web.Services.dll

----------------------------------------

System.ServiceModel.Internals

    Assembly Version: 4.0.0.0

    Win32 Version: 4.0.30319.17929 built by: FX45RTMREL

    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.ServiceModel.Internals/v4.0_4.0.0.0__31bf3856ad364e35/System.ServiceModel.Internals.dll

----------------------------------------



************** JIT Debugging **************

To enable just-in-time (JIT) debugging, the .config file for this

application or computer (machine.config) must have the

jitDebugging value set in the system.windows.forms section.

The application must also be compiled with debugging

enabled.



For example:



<configuration>

    <system.windows.forms jitDebugging="true" />

</configuration>



When JIT debugging is enabled, any unhandled exception

will be sent to the JIT debugger registered on the computer

rather than be handled by this dialog box.





 



  • Hi,


     


    I'm not sure how TestComplete can affect getting this error. Reinstalling the provider may help.


    BTW, I've found many discussions about this error on the Internet.