From: <mod...@li...> - 2004-12-26 06:12:05
|
Hi Rohit, =20 Sorry in responding to you so late, but I've been away for the holidays. =20 The answer to your question is that your namespace doesn't have a reference to the LibKNDotNet namespace. In the Dotnet samples which was written for VS.NET 2002, relies on the fact that a "using" in the global scope is inherited in any namespaces in the file. For example in a file for .NET 1.0, =20 using namespace LibKNDotNet; =20 namespace MyNS { // has access to LibKNDotNet } =20 But in .NET 1.1, this is no longer true. MyNS namespace no longer has access to LIBKNDotNet. To fix, this, you need to move the using into the MyNS: =20 namespace MyNS { using namespace LibKNDotNet; } =20 That will fix the problem. =20 Tommy ________________________________ From: mod...@li... [mailto:mod...@li...]=20 Sent: Tuesday, December 14, 2004 11:05 PM To: 'mod...@li...' Subject: [Mod-pubsub-developer] connection status handler in .Net connector Hi,=20 I was trying to implement a connection status handler which implemented IConnectionStatusHandler, but I get the error that the class is sealed and cannot be inherited from. Am I missing something? I was doing this so that the client could subscribe again on reconnection with server. Normally, if connection with server is lost, normally the client would just sit around, even if the server comes back up the client does not realise this. Another question I have is that regardless of offline queueing being enabled or not, and items being there in the queue or not, HasItems() always return true. Why is this ? Regards,=20 Rohit Khetan.=20 This message is free from Virus - IMSS =09 |