
IntPtr hwnD2 = FindWindowExW(hwDvar, IntPtr.Zero, "WorkerW", null) IntPtr hwnD = FindWindowExW(IntPtr.Zero, IntPtr.Zero, "CabinetWClass", null) Static extern IntPtr GetWindowText(IntPtr hwndParent, StringBuilder Wintxt, int txtsize) Static extern IntPtr FindWindowExW(IntPtr hwndParent, IntPtr hwndChildAfter, string lpszClass, However if you install Teamviewer, the code can not retrieve the text of control in window with GetWindowText function. The code is working properly when Teamviewer is uninstalled on Windows 7.

all a bit weird, at least I have a temp workaround.I have developed a C# code which access to user32.dll and it is using GetWindowText function. He's not around at the moment, but will check from mine if I'm not logged in. On the 2nd computer I used TV anonymously, wondering if somehow it's blocked my TV account. We tried him connecting to my computer and this works no problem.Īny ideas on what's going on, or how to track down what's stopping this connection from getting through would be greatly appreciated!ĮDIT: Well, I can TV over from another computer on my network, just still not from mine. We've restarted teamViewer on both machines, and restarted both machines themselves. When I try to connect it prompts for pwd, I enter the new password and it goes to the screen with the world map saying "Connecting to name (#)." but never gets any further and never displays any errors. I can see his machine come up in my list of available computers. My friend has now disconnected comp #2, reconnected comp #1 and signed into teamViewer. I connected via teamViewer to comp #2 with no issue and got the information I needed. I then disconnected from comp #1 and my friend disconnected that machine from the internet & connected comp #2. During this time I setup windows mail (not sure if that's relevant, but it's all I did).

I initially connected using teamViewer to remote computer #1 (Win 7 machine), it connected no problem.
