[PHP] How to call DLL in Javascript

2009-11-17 Thread Peter
Hi All, I want to call dll in javascript I tried the following script, but i got the error message 'ActiveXObject is undefined' (Note : i have the feedback.dll in the same path only) function comEventOccured() { try{ var myobject; myobject = new ActiveXObject("feedback.d

Re: [PHP] How to call DLL in Javascript

2009-11-17 Thread Ashley Sheridan
On Tue, 2009-11-17 at 17:58 +0530, Peter wrote: > Hi All, > > I want to call dll in javascript > > I tried the following script, but i got the error message 'ActiveXObject > is undefined' > (Note : i have the feedback.dll in the same path only) > > > > > > function comEventOccured() > { >

Re: [PHP] How to call DLL in Javascript

2009-11-17 Thread Phpster
I don't think you can di this with client side js. It would have to run outside the security sandbox and that is a bug no-no. If the dll is in the server, you could potentially call the server via Ajax to instantiate the dll and have it's output sent to the browser Bastien Sent from my iPo