Re: using a dll in a webapp - Fixed!

2006-12-15 Thread Abid Hussain
pas le destinataire de ce document, nous vous signalons qu'il est strictement interdit de le diffuser, de le distribuer ou de le reproduire. - Original Message - From: "Abid Hussain" <[EMAIL PROTECTED]> To: Sent: Friday, December 15, 2006 9:03 AM Subject: using a dll i

Re: using a dll in a webapp

2006-12-15 Thread Martin Gainty
aire de ce document, nous vous signalons qu'il est strictement interdit de le diffuser, de le distribuer ou de le reproduire. - Original Message - From: "Abid Hussain" <[EMAIL PROTECTED]> To: Sent: Friday, December 15, 2006 9:03 AM Subject: using a dll in a webapp

Re: using a dll in a webapp

2006-12-15 Thread Abid Hussain
Hi again, sorry, I should have said that before. Adding the path without the filename (using String win32com = new File(this.getClass().getClassLoader().getResource("win32com.dll").toURI()).getParent();) also doesn't work. Loading the dll using CommDriver commDriver = (CommDriver) Class.forN

Re: using a dll in a webapp

2006-12-15 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Abid, Abid Hussain wrote: > I want to establish a connection to a serial port from my webapp by > using the javax.comm package which uses the win32com.dll (on windows > systems). > > I resolve the path of the dll in my webapp: > String win32com = new

using a dll in a webapp

2006-12-15 Thread Abid Hussain
Hi everybody, I want to establish a connection to a serial port from my webapp by using the javax.comm package which uses the win32com.dll (on windows systems). In most cases, it seems to be the common way to place the dll in the /bin directory. But I want to have all needed libraries in my

using a dll in a webapp

2006-12-15 Thread Abid Hussain
Hi everybody, I want to establish a connection to a serial port from my webapp by using the javax.comm package which uses the win32com.dll (on windows systems). In most cases, it seems to be the common way to place the dll in the /bin directory. But I want to have all needed libraries in my