月度归档: 2007 年 12 月

WLW:QI for IEnumVARIANT failed on the unmanaged server.

It maybe popup an error message to say that “QI for IEnumVARIANT failed on the unmanaged server” when open the Windows Live Writer.

After search on google, I found the resolution is import some settings into registry.

Windows Registry Editor Version 5.00   

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Interface\{00020404-0000-0000-C000-000000000046}] 
@="IEnumVARIANT"   

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Interface\{00020404-0000-0000-C000-000000000046}\NumMethods] 
@="7"   

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Interface\{00020404-0000-0000-C000-000000000046}\ProxyStubClsid] 
@="{00020421-0000-0000-C000-000000000046}"   

[HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Interface\{00020404-0000-0000-C000-000000000046}\ProxyStubClsid32] 
@="{00020421-0000-0000-C000-000000000046}"

You can also download the file ienumvariant_failed.zip, unzip and import it to your registry.

色戒与苹果

色戒还没出的时候(当然国内影院还只是删减版),先看了苹果(原名迷失北京),因为看得都是未删减版本的,所以反而想看看删减版本的,特别是苹果.

Continue…

PHP SOAP Extension

[转]http://devzone.zend.com/node/view/id/689
PHP SOAP Manual: http://cn.php.net/manual/zh/ref.soap.php

Intended Audience
Introduction
A First SOAP Client
•  Example 1 (client1.php)
•  Example 2 (client2.php)
•  A First SOAP Server
•  Example 3 (stockquote.wsdl)
•  Example 4 (server1. php)
•  Example 5 (client3.php)
•  Example 6 (server2.php)
•  Example 7 (client4.php)
What’s inside?
•  Example 8 (client5.php)
Other Implementations of SOAP for PHP
Summary
References
About the Author
Revision Date

Continue…

应用NuSoap构建新型的基于PHP的Web服务

[转]http://book.chinaz.com/others/web/web/php/index5/14.htm

Nusoap Projecj: http://sourceforge.net/projects/nusoap/
Download:0.7.3
nusoap: http://downloads.sourceforge.net/nusoap/nusoap-0.7.3.zip?modtime=1194348059&big_mirror=0
nusoap-docs: http://downloads.sourceforge.net/nusoap/nusoap-docs-0.7.3.zip?modtime=1194348296&big_mirror=0

许多机构已经采用了Apach和PHP作为他们的Web应用环境。在Web services模式中采用PHP可能看上去可能会比较难。但是事实上,搭配NuSoap,你可以轻松的应用PHP构建SOAP的客户端和服务器端。

一个例子便能说明一切,让我们先看一个例子

为了说明如何应用NuSoap和PHP来构建Web services,我们将举一个简单的例子。这个例子应用程序由一个PHP Web services的服务器端和客户端组成。他将实现两个功能:颠倒一个字符串字符的顺序,求两个数的和。

Continue…