You are here: Re: Hooking server DLL into PHP « PHP Programming Language « IT news, forums, messages
Re: Hooking server DLL into PHP

Posted by hector on 05/13/05 13:23

Thanks for the info.

I was able to finally get ZEND interface/wrapper to work. It was really
much easier than the spread out documentation makes it out to be. It can be
clearer. Of course, once someone knows a system, its all obvious. :-)
Mostly stuff people already encountered and mostly resolved with a google
search. Maybe if I can get the time I can contribute a neat summary layout
for C/C++ Windows developers.

My next step is handle API functions with structures. Once I have atleast
one function worked out as far as what needs to be done to interface a
structure with PHP, I can then write a write a C/C++ converter to a PHP
class like we have for other native languages:

CPP2VB (visual basic
CPP2PAS (delphi pascal)
CPP2VFP (visual foxpro)
CPP2JAVA (java)
CPP2PHP (php)

etc.

I also want to study the "session" stuff to see if we can better interface
with it. Wildcat! is an intranet. Exclusive for login systems only. So its
API automatically establishes sessions context for its inherit server side
WCX p-code engine which is based on a BASIC like compiled language. So when
a WCX script runs it inherits globals a User stricture, Msg structure, File
structures, ConnectionInfo structure, etc. I want to see if I can interface
these globals with PHP as well. It looks like I can with a ZEND GLOBAL
macro, if that want it means.

Anyway, thanks.

--
Hector Santos, Santronics Software, Inc.
http://www.santronics.com


<chernyshevsky@hotmail.com> wrote in message
news:1115965767.838262.228310@f14g2000cwb.googlegroups.com...
> The is a PHP extension cakked win32 that lets you call functions in DLL
> directly from PHP code. If's not terribly reliable however. PHP also
> can also chandle COM objects. Creating an automation interface is not
> trivial though; and COM trhouhg PHP like rather flakey. You will like
> spend less time writing the wrapper via the standard extension
> mechanism.
>

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация