• λ我爱Aspx >> Asp.Net >> webservice系列教学(10)-如何调用webservice(vc1)
  • webservice系列教学(10)-如何调用webservice(vc1)

  • :aspxer  Դ:internet  :2007-5-28 20:38:05  ؼ:web,webservice
  • webservice系列教学(10)-如何调用webservice(vc1)

    .10使用vc调用

    需下载msSoapToolkit20.exe

    引用

    #import "msxml3.dll"

    using namespace MSXML2;

    #import "C:\Program Files\Common Files\MSSoap\Binaries\mssoap1.dll" exclude("IStream", "ISequentialStream", "_LARGE_INTEGER", "_ULARGE_INTEGER", "tagSTATSTG", "_FILETIME") raw_interfaces_only

    using namespace MSSOAPLib;

    例程:

    新建工程àMFC AppWizard(exe)[ Mclient]àstep1à基本对话à其他默认值即可

    修改源文件:

    < StdAfx.h>

    // stdafx.h : include file for standard system include files,

    // or project specific include files that are used frequently, but

    // are changed infrequently

    //

    #if !defined(AFX_STDAFX_H__045CD307_9518_4AF1_8CE3_8FFE38D1ACB2__INCLUDED_)

    Ҷƪл˵?
  • һƪwebservice系列教学(11)-如何调用webservice(vc2)
    һƪwebservice系列教学(9)-如何调用webservice(vb6.0,vbscript)