|
|
2
1
你真的应该重新表述你的问题。。你说你想做的是用程序登录到hotmail,检查pidgin代码,他们就这么做了。 here , here 我认为你可以随意浏览代码和教程,直到你了解pidgin贡献者是如何做到的。 启动代码示例:
|
|
|
3
0
与其用IE来做这样的事情,不如找合适的 screen scraping 为您选择的语言提供库。你可以谷歌和搜索堆栈溢出找到许多这样的库。从这里开始,您将使用您的语言的web api向服务器发送数据。 |
|
|
4
0
我用嵌入式浏览器来做这些事情。可以连接到正在运行的IE实例。请参阅 Connect to Running Instance of IE 1. Get the Document Interface
pWebBrowser->Document->QueryInterface(
IID_IHTMLDocument2,(LPVOID*)&Doc);
2. Get all the elements on the Document
Doc->get_all(&Elements);
3. enum the Elements
Elements->get_length(&ulLen);
for_each
Elements->item(item, index, &ppvElement);
4. Detemine what element is desired.
* by classname
* by ID etc.. here I used the classname
ppvElement->get_className (&bstrElement);
5. Insert Text for user / password
ppvElement->put_innerText(wsUreser_or_Psswd)
6. Find the Sign in button and click it.
ppvElement->Click();
你的结果可能不同。 -- 迈克尔 |
|
AstralHex · 矩阵乘法代码工作不正常 1 年前 |
|
|
Fishie · 作为类成员的智能指针是否仍然自动释放?[关闭] 1 年前 |
|
|
Die4Toast · 递归调用成员箭头运算符-> 1 年前 |
|
|
Anka Hanım · 关于结构和动态数组地址的问题 1 年前 |