Hi everybody
I’m trying to write an application which uses the ABB.Robotics and ABB.Robotics.Controllers DLL’s. But I have a huge time delay when the program is loading these two DLL’s. Here’s my sample and the correspondig output:
static void Main()
{
System.Diagnostics.Debug.WriteLine(DateTime.Now.ToLongTimeString() + “: start program”);
Application.EnableVisualStyles();
Application.SetCompatibleTextRenderingDefault(false);
Application.Run(new Form1());
}
public Form1()
{ System.Diagnostics.Debug.WriteLine(DateTime.Now.ToLongTimeString() + “: initalize”);
InitializeComponent();
System.Diagnostics.Debug.WriteLine(DateTime.Now.ToLongTimeString() + “: start”);
NetworkScanner scanner = new NetworkScanner();
System.Diagnostics.Debug.WriteLine(DateTime.Now.ToLongTimeString() + “: before ccan”);
scanner.Scan();
System.Diagnostics.Debug.WriteLine(DateTime.Now.ToLongTimeString() + “: after scan”);
}
11:36:44: start program
‘IRC_Test.vshost.exe’ (Managed): Loaded ‘C:WINDOWSassemblyGAC_MSILABB.Robotics5.13.1034.0__1da709b7d1f14b7bABB.Robotics.dll’, No symbols loaded.
The thread 0xdc has exited with code 0 (0x0).
‘IRC_Test.vshost.exe’ (Managed): Loaded ‘C:WINDOWSassemblyGAC_MSILABB.Robotics.Controllers5.13.1034.0__1da709b7d1f14b7bABB.Robotics.Controllers.dll’, No symbols loaded.
11:37:14: initalize
11:37:14: start
‘IRC_Test.vshost.exe’ (Managed): Loaded ‘C:WINDOWSassemblyGAC_32ABB.Robotics.Adapters.IRC55.13.1034.1__1da709b7d1f14b7bABB.Robotics.Adapters.IRC5.dll’, No symbols loaded.
‘IRC_Test.vshost.exe’ (Managed): Loaded ‘C:WINDOWSWinSxSx86_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.30729.4148_x-ww_d495ac4emsvcm90.dll’, No symbols loaded.
11:37:44: before ccan
11:37:45: after scan
If you look at the time stamps of the writings, you can sse two huge time steps (30 s and 30s again).
Can anybody tell me, why it takes about 60 seconds just to load the DLL’s and run the scanner?
Thanks in advance
Stephan