有什么办法不用控件,使用API进入网站,可是不让IE窗口显示出来.

fedex2 2003-08-23 04:03:10
有什么办法不用控件,使用API进入网站,可是不让IE窗口显示出来.
...全文
42 7 打赏 收藏 转发到动态 举报
写回复
用AI写文章
7 条回复
切换为时间正序
请发表友善的回复…
发表回复
jiansee 2003-08-28
  • 打赏
  • 举报
回复
也同意只用socket api来做,不过要了解HTTP协议,
RFC 1866: HTML
RFC 1945: HTTP
tccsdn 2003-08-28
  • 打赏
  • 举报
回复
zcm(我是一只猪,我有一个梦) 的方法很好的
zihan 2003-08-27
  • 打赏
  • 举报
回复
我晕,三楼的,你这样调用外部程序,自己去取源代码可就麻烦了
sun_wyz 2003-08-26
  • 打赏
  • 举报
回复
楼上的比较猛
game_sage 2003-08-26
  • 打赏
  • 举报
回复
WinExec("explorer http://www.csdn.net",SW_HIDE);

SW_HIDE Hides the window and passes activation to another window.
SW_MINIMIZE Minimizes the specified window and activates the top-level window in the system's list.
SW_RESTORE Activates and displays a window. If the window is minimized or maximized, Windows restores it to its original size and position (same as SW_SHOWNORMAL).
SW_SHOW Activates a window and displays it in its current size and position.
SW_SHOWMAXIMIZED Activates a window and displays it as a maximized window.
SW_SHOWMINIMIZED Activates a window and displays it as an icon.
SW_SHOWMINNOACTIVE Displays a window as an icon. The window that is currently active remains active.
SW_SHOWNA Displays a window in its current state. The window that is currently active remains active.
SW_SHOWNOACTIVATE Displays a window in its most recent size and position. The window that is currently active remains active.
SW_SHOWNORMAL Activates and displays a window. If the window is minimized or maximized, Windows restores it to its original size and position (same as SW_RESTORE).
asimpleman 2003-08-24
  • 打赏
  • 举报
回复
gz
猎人66 2003-08-23
  • 打赏
  • 举报
回复
如果你的意思是取回html等文件,而不用IE显示的话
当然可以,
用SOCKET API来实现HTTP协议,就OK

或者想方便一点用微软的WinINET API也行

1,221

社区成员

发帖
与我相关
我的任务
社区描述
C++ Builder Windows SDK/API
社区管理员
  • Windows SDK/API社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧