cortesi Mon Apr 29 08:05:52 2002 EDT
Modified files:
/phpdoc/en/faq com.xml
Log:
layout only
WS vs. TAB
<para> moved to be like in other files
Index: phpdoc/en/faq/com.xml
diff -u phpdoc/en/faq/com.xml:1.8 phpdoc/en/faq/com.xml:1.9
--- phpdoc/en/faq/com.xml:1.8 Thu Mar 28 12:16:36 2002
+++ phpdoc/en/faq/com.xml Mon Apr 29 08:05:52 2002
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.8 $ -->
+<!-- $Revision: 1.9 $ -->
<chapter id="faq.com">
<title>PHP and COM</title>
<titleabbrev>PHP and COM</titleabbrev>
@@ -11,7 +11,9 @@
<qandaset>
<qandaentry id="faq.com.q1">
<question>
- <para>I have built a DLL to calculate something. Is there any way to run this
DLL under PHP ?</para>
+ <para>
+ I have built a DLL to calculate something. Is there any way to run this DLL
+under PHP ?
+ </para>
</question>
<answer>
<para>
@@ -23,7 +25,9 @@
<qandaentry id="faq.com.q2">
<question>
- <para>What does 'Unsupported variant type: xxxx (0xxxxx)' mean ?</para>
+ <para>
+ What does 'Unsupported variant type: xxxx (0xxxxx)' mean ?
+ </para>
</question>
<answer>
<para>
@@ -39,7 +43,9 @@
<qandaentry id="faq.com.q3">
<question>
- <para>Is it possible manipulate visual objects in PHP ?</para>
+ <para>
+ Is it possible manipulate visual objects in PHP ?
+ </para>
</question>
<answer>
<para>
@@ -53,7 +59,9 @@
<qandaentry id="faq.com.q4">
<question>
- <para>Can I store a COM object in a session ?</para>
+ <para>
+ Can I store a COM object in a session ?
+ </para>
</question>
<answer>
<para>
@@ -64,7 +72,9 @@
<qandaentry id="faq.com.q5">
<question>
- <para>How can I trap COM errors ?</para>
+ <para>
+ How can I trap COM errors ?
+ </para>
</question>
<answer>
<para>
@@ -76,7 +86,9 @@
<qandaentry id="faq.com.q6">
<question>
- <para>Can I generate DLL files from PHP scripts like i can in Perl ?</para>
+ <para>
+ Can I generate DLL files from PHP scripts like i can in Perl ?
+ </para>
</question>
<answer>
<para>
@@ -87,35 +99,39 @@
<qandaentry id="faq.com.q7">
<question>
- <para>What does 'Unable to obtain IDispatch interface for CLSID
{xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx}' mean ?</para>
+ <para>
+ What does 'Unable to obtain IDispatch interface for CLSID
+{xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx}' mean ?
+ </para>
</question>
<answer>
<para>
This error can have multiple reasons:
<itemizedlist>
<listitem>
- <simpara>
+ <simpara>
the CLSID is wrong
- </simpara>
- </listitem>
+ </simpara>
+ </listitem>
<listitem>
- <simpara>
+ <simpara>
the requested DLL is missing
- </simpara>
- </listitem>
+ </simpara>
+ </listitem>
<listitem>
- <simpara>
+ <simpara>
the requested component doesn't implement the IDispatch interface
- </simpara>
- </listitem>
- </itemizedlist>
+ </simpara>
+ </listitem>
+ </itemizedlist>
</para>
</answer>
</qandaentry>
<qandaentry id="faq.com.q8">
<question>
- <para>How can I run COM object from remote server ?</para>
+ <para>
+ How can I run COM object from remote server ?
+ </para>
</question>
<answer>
<para>
@@ -130,7 +146,9 @@
<qandaentry id="faq.com.q9">
<question>
- <para>I get 'DCOM is disabled in C:\path...\scriptname.php on line 6', what can
I do ?</para>
+ <para>
+ I get 'DCOM is disabled in C:\path...\scriptname.php on line 6', what can I do ?
+ </para>
</question>
<answer>
<para>
@@ -141,7 +159,9 @@
<qandaentry id="faq.com.q10">
<question>
- <para>Is it possible to load/manipulate an ActiveX object in a page with PHP
?</para>
+ <para>
+ Is it possible to load/manipulate an ActiveX object in a page with PHP ?
+ </para>
</question>
<answer>
<para>
@@ -154,7 +174,9 @@
<qandaentry id="faq.com.q11">
<question>
- <para>Is it possible to get a running instance of a component ?</para>
+ <para>
+ Is it possible to get a running instance of a component ?
+ </para>
</question>
<answer>
<para>
@@ -173,7 +195,9 @@
<qandaentry id="faq.com.q12">
<question>
- <para>Is there a way to handle an event sent from COM object ?</para>
+ <para>
+ Is there a way to handle an event sent from COM object ?
+ </para>
</question>
<answer>
<para>
@@ -184,7 +208,10 @@
<qandaentry id="faq.com.q13">
<question>
- <para>I'm having problems when trying to invoke a method of a COM object which
exposes more than one interface. What can I do ?</para>
+ <para>
+ I'm having problems when trying to invoke a method of a COM object
+ which exposes more than one interface. What can I do ?
+ </para>
</question>
<answer>
<para>
@@ -196,7 +223,9 @@
<qandaentry id="faq.com.q14">
<question>
- <para>So PHP works with COM, how about COM+ ?</para>
+ <para>
+ So PHP works with COM, how about COM+ ?
+ </para>
</question>
<answer>
<para>
@@ -208,12 +237,17 @@
<qandaentry id="faq.com.q15">
<question>
- <para>If PHP can manipulate COM objects, can we imagine to use MTS to manage
components resources, in conjunction with PHP ?</para>
+ <para>
+ If PHP can manipulate COM objects, can we imagine to use
+ MTS to manage components resources, in conjunction with PHP ?
+ </para>
</question>
<answer>
<para>
- PHP itself doesn't handle transactions yet. Thus if an error occurs no rollback
is initiated. If you use components that
- support transactions you will have to implement the transaction management
yourself.
+ PHP itself doesn't handle transactions yet. Thus if an error
+ occurs no rollback is initiated. If you use components that
+ support transactions you will have to implement the
+ transaction management yourself.
</para>
</answer>
</qandaentry>