I need to read the serial port as an input for a web based applicaton. I know that the browser can't do it, but if I build an DLL and send it to my client, can I access this DLL and read de serial port with an java script or i will need something like ActiveX?
+1
A:
The active X Control will be able to access the serial port.
Here is a link on how to create one and access it through JavaScript
http://dotnetslackers.com/articles/csharp/writinganactivexcontrolincsharp.aspx
(You don't need .net to write it, but this is what the example uses).
Kevin
2010-04-16 17:28:03
+1
A:
JavaScript cannot (and should not) call DLLs due to security issues.
You should be looking at ActiveX
Raj More
2010-04-16 17:28:58
A:
It is also possible to use JNI within a Java applet. This may be an alternative to ActiveX, but the little I know about it, this technique may be a pain.
Sparafusile
2010-04-16 17:45:09
Well it's possible to do it with Java in general, but from an applet inside a web browser the security manager won't allow it.
Pointy
2010-04-16 17:58:00
You would need a signed applet. That's where the pain is.
Sparafusile
2010-04-19 17:11:08