I have a COM component. I registered it using regsvr32 on my 32-bit XP machine. Now when i try to instantiate a class from it in my CONSOLE application, the application just terminates, without giving any exception. Any suggestion??
The COM dll is ABCServer.dll. The code that fails,
try
{
ILookUp LP = new LookUp();
ABCServer Svr = LP.LookUpServer(hostname, port);
}
catch(Exception ex)
{
Console.WriteLine(ex.message);
}
Control never reaches line 2, while debugging when i click F10 when being on line 1, the application just terminates
try..except
? Show us some code please... – Marco