2004-04-11, 07:12 PM
Sub,
I'm loading a hashtable for the icons like you suggested and it was working fine. Â Now that I have them all, however, it seems to throw an exception. Â Here is whats in the log:
4/11/2004 3:02:40 PM.010 VERBOSE [2] WeatherTask created
4/11/2004 3:02:40 PM.741 ERROR [2] Error initializing plugin: c:\program files\devnz\gbpvr\plugins\WeatherPlugin.dll
4/11/2004 3:02:40 PM.741 ERROR [2] Exception has been thrown by the target of an invocation.
4/11/2004 3:02:40 PM.741 ERROR [2] Â at System.RuntimeType.CreateInstanceImpl(Boolean publicOnly)
 at System.Activator.CreateInstance(Type type, Boolean nonPublic)
 at au..ctor()
4/11/2004 3:02:40 PM.751 VERBOSE [2] CustomTaskSettings.loadAll()
If I comment out some of the icon load statements the exception goes away. Is there some hard limit as to the size of a hashtable?
I am a longtime visual c++ programmer and this is my first venture into C# so forgive the question
I'm loading a hashtable for the icons like you suggested and it was working fine. Â Now that I have them all, however, it seems to throw an exception. Â Here is whats in the log:
4/11/2004 3:02:40 PM.010 VERBOSE [2] WeatherTask created
4/11/2004 3:02:40 PM.741 ERROR [2] Error initializing plugin: c:\program files\devnz\gbpvr\plugins\WeatherPlugin.dll
4/11/2004 3:02:40 PM.741 ERROR [2] Exception has been thrown by the target of an invocation.
4/11/2004 3:02:40 PM.741 ERROR [2] Â at System.RuntimeType.CreateInstanceImpl(Boolean publicOnly)
 at System.Activator.CreateInstance(Type type, Boolean nonPublic)
 at au..ctor()
4/11/2004 3:02:40 PM.751 VERBOSE [2] CustomTaskSettings.loadAll()
If I comment out some of the icon load statements the exception goes away. Is there some hard limit as to the size of a hashtable?
I am a longtime visual c++ programmer and this is my first venture into C# so forgive the question
-CodeMonkey