473,394 Members | 1,706 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

Dlls within PHP

I've a dll which contains an API to a document server. The documentation talk
about in MS Visual studio adding a reference to the dll in the under COM
objects.

What I'm wondering is there anyway in PHP to load the DLL and make use of it's
API functionality?

D.
--
[insert first line here]
[insert the second line here]
[insert third line here]
Nov 20 '08 #1
1 1418
NC
On Nov 20, 2:00 am, David Gillen <bel...@RedBrick.DCU.IEwrote:
>
I've a dll which contains an API to a document server. The documentation
talk about in MS Visual studio adding a reference to the dll in the under
COM objects.

What I'm wondering is there anyway in PHP to load the DLL and make use
of it's API functionality?
There's more than one way it can be done. First, if you are running
PHP
on a Windows server, you can call the COM objects directly:

http://php.net/COM

Alternatively, you may be able to wrap your DLL into a PHP extension,
which
will also require that PHP be running on a Windows machine.

If PHP must run on a non-Windows platform, you may be able to expose
the
API as a Web service, but that will have to be done in whatever
language
the server on which the DLL resides supports.

Cheers,
NC
Nov 20 '08 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

12
by: Visual Boodu .NET | last post by:
Is there any way I can prevent people using my DLLs in their programs? I mean, I'm new to making DLLs and I'm guessing that if I can reference my DLLs in my projects then there is nothing stopping...
1
by: Leslaw Bieniasz | last post by:
Cracow, 15.09.2004 Hi, I am writing a big C++ project using BCB 4.0. The project consists of several dlls and exes. Each of the dll is composed of several units (that is cpp files with...
0
by: Frank Lopez | last post by:
My program structure is: 1. 2. 3. => manually does the crt-init and crt-terminate calls 4. -- this is accessed by the unmanaged C++ classes in (3) using LoadLibrary and FreeLibrary
5
by: Rich | last post by:
Hi there, For a quite big application, I need to get large amount of data within a static library (xxx.lib) and put them in a database (a class, say we call it CData), and then make it...
0
by: rob | last post by:
I have two projects (dlltest, dll2) both creating a dll. The two dlls define classes (dll1, dll2) within the same namespace (MyNamespace). One of the dlls (dlltest) is using functionality of the...
0
by: ZMan | last post by:
Scenario: This is about debugging server side scripts that make calls to middle-tier business DLLs. The server side scripts are legacy ASP 3.0 pages, and the DLLs are managed DLLs...
7
by: Oenone | last post by:
I'm sure there's an obvious way to do this, but I'm missing it so far. I have an ASP.NET application that relies on several DLLs to work. Currently in order to get my site working I have to put...
6
by: Brian Bischof | last post by:
I'm having troubles getting the debugging process to work consistenly for external classes. I got it to work once and then I turned it off. But now I can't get re-enabled. Here is what I'm doing....
3
by: normanchong | last post by:
Hi, I'm currently developing an application for checking and doing some configurations for another application. During those checks, I have to access SQLServer to get configuration-info like...
3
by: stenasc | last post by:
Hi, I have created an C based application in linux that uses a number of dlls. Within the dlls themselves, the code calls sub functions e.g dll_1 (Main dll function is called Return_Answer....
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.