referencing a dll file

fatihsen

New member
Joined
Aug 13, 2003
Messages
4
Location
Istanbul/Turkiye
Hi.I have a problem of referencing a dll file.In the Add Reference I refer the file NCTDIALOGICVOICE2Lib.dll but it gives such error:
An unhandled exception of type System.Runtime.InteropServices.COMException occurred in TestSantral.exe

Additional information: COM object with CLSID {3EA68674-9BDE-4604-838F-3795F3A03A76} is either not valid or not registered.
It stops in such a code
.....
NCTDIALOGICVOICE2Lib.DialogicChannel2Class ch;
ch = new NCTDIALOGICVOICE2Lib.DialogicChannel2Class();-->stops here
.....
Can anyone help me...
 
Did you register the COM DLL with Windows? Start -> Run ->

regsvr32 <full path to dll>
 
just out of interest , are you using the " .NET " tab or the " COM " tab when trying to add the reference?
because somethings wont reference via the .NET tab and vice versa. if you are trying to select the dll via the .NET tab, try with the COM tab instead , it might allow it then.
 
Of course I use the COM tab when trying to add the reference.The interesting point is that it can be seen the classes of the dll file but as mentioned above it stops when initializing.
I use .NET 2003 beta version. Can be it the reason not running properly...
 
Back
Top