|
Could someone enlighten me as to why the following piece of VB.NET
code throws a NullReference Exception on the “app.Start()” line? The Worker is marked as serializable as has an empty Start method,
and is Inheriting from Alchemi.Core.Owner.GThread – Worker is declared
within the Console application that you see below. <code> Dim app As New
GApplication Dim gc As New
GConnection("10.1.1.248", 9000, "user", "user") app.Connection = gc 'AddHandler app.ThreadFinish, AddressOf App_ThreadFinish 'AddHandler app.ApplicationFinish, AddressOf App_ApplicationFinish app.Manifest.Add(New Owner.ModuleDependency(GetType(Worker).Module)) app.Threads.Add(New Worker) app.Start() </code> Thanks,
Karell Ste-Marie - MCP MCSE CIO - BrainBank Inc. 475 Dorval, Quebec, Canada - H9S 5W2 Tel: (514) 636-6655 Fax: (514) 636-9824 |
------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________ Alchemi-developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/alchemi-developers

