wininet实现ftp客户端关于传输进度的分析[37]

[入库:2005年8月18日] [更新:2007年3月24日]

本文简介:选择自 flyelf 的 blog

                                           (dword)pcftpmsg);

lptstr lpmsg = null;

dword dwerr = getlasterror();

formatftperror(dwerr, &lpmsg);

trace("ftpgetfile error with %d--%s\n", dwerr, lpmsg);

localfree(lpmsg);

lpmsg = null;

 

if(pcftpmsg->getcurrentftpwnd() != null)

{

        ::postmessage(       pcftpmsg->getcurrentftpwnd(),

                                    pcftpmsg->getregistermsghandle(),

                                    cftpclientctrl::ftp_end,

                                    dwerr);

}

else if(pcftpmsg->getcurrentftpthread() != 0)

{

        ::postthreadmessage(pcftpmsg->getcurrentftpthread(),

                                           pcftpmsg->getregistermsghandle(),

本文关键:wininet实现ftp客户端关于传输进度的分析
 

本站最佳浏览方式为 分辨率 1024x768 IE 6.0(或更高版本的 IE浏览器)

go top