Re: [ADVANCED-DOTNET] Are .resx files appropriate for storage and access of error strings?

2004-01-21 Thread Diego Mijelshon
That's the intended use of resources :-) Diego >Does it make sense to use a .resx file to store Exception strings that can >be accessed from business layer classes? >Or is there a better option? >e.g. > >in the .resx I have an entry like > >name=Res_ExceptionStateRequired value=Some excep

[ADVANCED-DOTNET] Are .resx files appropriate for storage and access of error strings?

2004-01-21 Thread Bill Bassler
Does it make sense to use a .resx file to store Exception strings that can be accessed from business layer classes? Or is there a better option? e.g. in the .resx I have an entry like name=Res_ExceptionStateRequired value=Some exception text if(this.State == null) throw new ApplicationException

Re: [ADVANCED-DOTNET] Managed C++ wrapper interacting with a c# c lass

2004-01-21 Thread Griffiths, Ian
Heath Ryan wrote: > > Hi Tracy, > > Yep you are right! > > When crossing from C# to C++ > you'll discover that all those variables of classes > are really pointers to classes. > > C# is just doing a great job hiding this fact. That's actually a somewhat misleading way of characterizing it. It

[ADVANCED-DOTNET] Evaluating Object/Relational Mappers available for .Net

2004-01-21 Thread Bill Bassler
I'm trying to get a handle on the differences/pros/cons between various ORM tools. I've found info on the following: EntityBroker Norpheme LLBLGen I've seen mention of the following tool but I can't find any info on it. Can anyone help? Sysiphus === This list is

Re: [ADVANCED-DOTNET] Managed C++ wrapper interacting with a c# c lass

2004-01-21 Thread Heath Ryan
Hi Tracy, Yep you are right! When crossing from C# to C++ you'll discover that all those variables of classes are really pointers to classes. C# is just doing a great job hiding this fact. // Ryan - The information included in this message is personal and/or

Re: [ADVANCED-DOTNET] Best way to share an interface definition amoung components tier

2004-01-21 Thread Griffiths, Ian
To be fair, quite a lot of your original statement was true. As you said, namespaces do not necessarily correspond to the assembly name, and a namespace can indeed span multiple assemblies. It's just that the conclusion you drew from this was, as Stefan pointed out, incorrect. You can define two

[ADVANCED-DOTNET] Managed C++ wrapper interacting with a c# class

2004-01-21 Thread Tracy Rodericks
if i had C++ classes public __gc class FCCEvent : public IDisposable{ private : int datathing; bool setDataThing (int x) { datathing * x; } public: Dispose() { } FCCEvent(){}; ManagedWrapper // this is a wrapper for unmanaged c library { public __gc class ClassWrapper : public IDisposable Cl

Re: [ADVANCED-DOTNET] Virtual hash table

2004-01-21 Thread Heath Ryan
Hi Pradeep, http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnpag/html/ CachingBlock.asp This code block contains an implementation of such a virtual hastable. HTH, // Ryan -Original Message- From: Pradeep Tapadiya To: [EMAIL PROTECTED] Sent: 1/20/2004 9:36 PM Subject

Re: [ADVANCED-DOTNET] Virtual hash table

2004-01-21 Thread Erick Sgarbi
Have you considered using DataSets? Regards, Erick -Original Message- From: Moderated discussion of advanced .NET topics. [mailto:[EMAIL PROTECTED] On Behalf Of Pradeep Tapadiya Sent: Wednesday, 21 January 2004 7:36 AM To: [EMAIL PROTECTED] Subject: [ADVANCED-DOTNET] Virtual hash table .