PHP4 & GIF Generation, I'm stuck!
| From: | Howard Cohodas | Date: | Mon, 10 Jul 2000 23:03:12 +0000 |
| Subject: | PHP4 & GIF Generation, I'm stuck! | ||
| Groups: | php.dev php.general php.windows | ||
| Request: | Send a blank email to php-dev+get-24139@lists.php.net to get a copy of this message | ||
I'm out of things to try so I hope one of you has an idea. The only item
holding us back from deploying a php4 site we are working on is that we are
unable to get the Windows COM interface working.
Our Configuration..
OS - NT4 SP6a
PHP Version - 4.0.1pl2
HTTP Server - O'Reilly WebSite Pro 2.4.22
Code Snippet..
$id = new com("otf_GIF31.GIF_Encode");
print "Loaded otf_GIF Version {$id->Version}";
This code works perfectly the first time it is used after restarting the
http server.
The output is..
Loaded otf_GIF Version otf_GIF31 3.1.18.
After that the error message is..
Warning: Unable to obtain IDispatch interface for CLSID
{36D611A0-FAE1-11D1-AAEF-0000C0378AC3}: CoInitialize has not been called. in
D:\Web_Sites\Testing_PHP4\HTdocs\test_com.php4 on line 9
Loaded otf_GIF Version
TIA
Howard A. Cohodas
Design Knowledge Technologies Inc.
Phone: (011)(330)492-9900
FAX: (011)(330)492-1100
otfGIF Encoder: http://www.dkt.com/otfGIF