[ADVANCED-DOTNET] System.Net.TlsStream

2004-01-29 Thread Stefan
whole page again or just starting the function again where the error occurs? It would be nice if you could send me the code to my mail s t e f a n 2 7 0 7 @ g m x . d e Thanks Stefan === This list is hosted by DevelopMentor® http://www.develop.com Some .NET courses

Re: [ADVANCED-DOTNET] Biztalk.....

2006-09-26 Thread stefan
chema'or whether what I'm doing makes sense at all.so it's probably pretty much out of scope for this group. -Original Message- From: Discussion of advanced .NET topics. [mailto:[EMAIL PROTECTED] On Behalf Of stefan Sent: 26 September 2006 16:31 To: ADVANCED-DOT

Re: [ADVANCED-DOTNET] Biztalk.....

2006-09-26 Thread stefan
@DISCUSS.DEVELOP.COM Subject: Re: [ADVANCED-DOTNET] Biztalk. ThanksI will give it a goit is about integration with dotnetbut I don't think this forum is the correct forum for it. -Original Message- From: Discussion of advanced .NET topics. [mailto:[EMAIL PROTECTED] On Behalf Of s

Re: [ADVANCED-DOTNET] Biztalk.....

2006-09-26 Thread stefan
http://www.microsoft.com/technet/community/newsgroups/server/biztalk.mspx -Original Message- From: Discussion of advanced .NET topics. [mailto:[EMAIL PROTECTED] On Behalf Of Mark Nicholls Sent: Tuesday, September 26, 2006 4:54 PM To: ADVANCED-DOTNET@DISCUSS.DEVELOP.COM Subject: Re: [ADVANC

Re: [ADVANCED-DOTNET] Problem with Sharepoint and Authentication.

2008-08-13 Thread stefan
Check you have ASP.NET installed, wsdl mapped correctly in IIS -Original Message- From: Discussion of advanced .NET topics. [mailto:[EMAIL PROTECTED] On Behalf Of Davy J Sent: Wednesday, August 13, 2008 3:49 PM To: ADVANCED-DOTNET@DISCUSS.DEVELOP.COM Subject: [ADVANCED-DOTNET] Problem with

Re: [ADVANCED-DOTNET] Problem with Sharepoint and Authentication.

2008-08-13 Thread stefan
gives me 405. Dave. On 8/13/08, stefan <[EMAIL PROTECTED]> wrote: > Check you have ASP.NET installed, wsdl mapped correctly in IIS > === This list is hosted by DevelopMentorR http://www.develop.com View archives and manage your subscr

Re: [ADVANCED-DOTNET] Recursive Reflection for value types question

2003-07-22 Thread Stefan Holdermans
Michel, Have you consider to retrieve a copy of the inner object using GetValue, alter it, and then overwriting the inner object with the modified copy using SetValue? HTH, Stefan >-Original Message- >From: [EMAIL PROTECTED] >[mailto:[EMAIL PROTECTED] On Behalf >Of Mic

Re: [ADVANCED-DOTNET] Java has InheritableThreadLocal, and .NET?

2003-08-23 Thread Stefan Holdermans
Hi all, > (Is there a standard way to point at such things?) Beware of line breaks: ms-help://MS.NETFrameworkSDKv1.1/cpguidenf/html/cpconcreatingthreads.htm Regards, Stefan > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf > Of J.

Re: [ADVANCED-DOTNET] Nasty bug in 1.0 and 1.1 compiler

2003-08-28 Thread Stefan Holdermans
ts constructor*: public void Foo() { using (MyDisposable md = new MyDisposable()) {} } Regards, Stefan === This list is hosted by DevelopMentor® http://www.develop.com NEW! ASP.NET courses you may be interested in: 2 Days of ASP.NET, 29 Sept 2003, i

Re: [ADVANCED-DOTNET] COM+ Caching

2003-09-08 Thread Stefan Holdermans
the fellow that came in tipped us off to > this. I am looking for some feedback from others who may > have used this technique. I assume he didn't just say not to go that way, but came up with some kind of motivation. Would you like to share it with us? TIA, Stefan ===

[ADVANCED-DOTNET] The timeout period elapsed prior to obtaining a connection from t he pool.

2003-09-26 Thread Stefan Heunis
uery : " & pstrSQL Try If Not mobjSQLConnection Is Nothing Then lstrError &= " , ConnectionString: " & mobjSQLConnection.ConnectionString End If Catch ex As Exception End Try LogEvent(lstrError) If ContextUtil.IsInTransaction The

Re: [ADVANCED-DOTNET] Do properties need a 'holder' keyword?

2003-10-22 Thread Stefan Holdermans
r setter. > P.S. I would like to start playing around with the IL. Can > anyone recommend any good starting places, tools, or books? > (Besides the obvious ildasm.exe, etc.) Thanks a lot. I can recommend Serge Lidin's book, _Inside Microsoft .NE

Re: [ADVANCED-DOTNET] Do properties need a 'holder' keyword?

2003-10-23 Thread Stefan Holdermans
write property. Regards, Stefan === This list is hosted by DevelopMentor® http://www.develop.com NEW! ASP.NET courses you may be interested in: 2 Days of ASP.NET, 29 Sept 2003, in Redmond http://www.develop.com/courses/2daspdotnet Guerrilla ASP.NET, 13

Re: [ADVANCED-DOTNET] How to create an enumeration that exposes formats

2003-10-24 Thread Stefan Holdermans
ML constructs like unclosed f.i. , or elements it will signal that your documentation is not valid XML. Regards, Stefan === This list is hosted by DevelopMentor® http://www.develop.com NEW! ASP.NET courses you may be interested in: 2 Days of ASP.NET

Re: [ADVANCED-DOTNET] RSACryptoServiceProvider efficiently import a key...

2003-12-01 Thread Stefan Delmarco
fixed in Whidbey. Cheers, Stefan Stefan Delmarco -Original Message- From: Moderated discussion of advanced .NET topics. [mailto:[EMAIL PROTECTED] On Behalf Of Andreas Köpf Sent: 30 November 2003 16:43 To: [EMAIL PROTECTED] Subject: [ADVANCED-DOTNET] RSACryptoServiceProvider efficiently

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

2004-01-20 Thread Stefan Holdermans
v, c, p]N.T iff A = A', v = v', c = c', p = p', N' = N, and T = T'. Regards, Stefan === This list is hosted by DevelopMentor® http://www.develop.com Some .NET courses you may be interested in: NEW! Guerrilla ASP.NET, 26 Jan 2004, in

Re: [ADVANCED-DOTNET] Microsoft's future plans for Component Services and ORM

2004-02-11 Thread Stefan Holdermans
James, I think there's a little confusion here. The 'ORM' you refer to stands for 'Object Role Modelling'. The discussion however focusses on 'Object-Relational Mapping'. Just a matter of 'buzzword bingo', I guess. :) Regards, Stefan > ---

Re: [ADVANCED-DOTNET] Transparent Persistence [WAS: Web Services, Remoting and Coupling]

2004-02-13 Thread Stefan Holdermans
ch I have two Person objects living in different AppDomains that both correspond to the same Person record in the database? These are the kinds of problems that I tend to encounter over and over again. Any thoughts? Pointers to valuable resources? TIA, Stefan === Th

Re: [ADVANCED-DOTNET] Transparent Persistence [WAS: Web Services, Remoting and Coupling]

2004-02-13 Thread Stefan Holdermans
think in objects and that these have to be saved > somewhere sometime, it's much harder to accept you have > multiple instances with the same values or better: > representing the same entity. M ... Okay. But the thing I like from the 'hard way' is t

Re: [ADVANCED-DOTNET] Transparent Persistence

2004-02-13 Thread Stefan Holdermans
a flame-like outburst from Thomas, anyway. And I've no intension to reply on such a post.) The next couple of months, I'll be busy with other stuff than layerd enterprise app's, so I don't think these thoughts will be worked out in a detail yet. But maybe I'll bring in some m

Re: [ADVANCED-DOTNET] Transparent Persistence

2004-02-13 Thread Stefan Holdermans
, though, I think that it would be necessary to > postpone the involvement of the autopersistence mechanism > until the end of the merge, for obvious performance reasons. Sounds good. I really like the idea of incorporating thinking about disconnected scenarios fr

Re: [ADVANCED-DOTNET] Transparent Persistence

2004-02-13 Thread Stefan Holdermans
to seeing the database through all layers'. This is what I consider 'bad design'. I hope you agree with me about this. Regards, Stefan > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf > Of Frans Bouma > Sent: Friday, Febru

Re: [ADVANCED-DOTNET] Transparent Persistence

2004-02-14 Thread Stefan Holdermans
a good idea to create > class AToBMap to mirror table a_b_map. Yet a mapping table > is usually the simplest and best way, and often the only way, > to represent a many-to-many relationship in many RDBMSes. Exactly my point, but formulated a lot clearer. Regards, Stefan =

Re: [ADVANCED-DOTNET] Transparent Persistence

2004-02-14 Thread Stefan Holdermans
ot sure what Jeff means by 'auto-persistence', then just ask him to clarify; do not say that he does not understand the true meaning of persistence. Regards, Stefan === This list is hosted by DevelopMentor® http://www.develop.com Some .NET courses you may

Re: [ADVANCED-DOTNET] Transparent Persistence

2004-02-15 Thread Stefan Holdermans
linked tables. In the application-level object model the resulting collection often is biased towards one of the linked classes. Order rows, for instance, will be owned by an order. Regards, Stefan === This list is hosted by DevelopMentor® http://www.develop.com Som

Re: [ADVANCED-DOTNET] Transparent Persistence

2004-02-15 Thread Stefan Holdermans
der to its related products, I typically don't want to be able to edit these products through this order. Regards, Stefan === This list is hosted by DevelopMentor® http://www.develop.com Some .NET courses you may be interested in: NEW! Guerrilla ASP.NET,

Re: [ADVANCED-DOTNET] Configuration File....

2004-03-05 Thread Stefan Holdermans
bly called the config file service.exe.config. When running your code from test.exe, you should however call the config file test.exe.config. HTH, Stefan === This list is hosted by DevelopMentor® http://www.develop.com Some .NET courses you may be interested in:

Re: [ADVANCED-DOTNET] Exceptions in Constructors

2004-04-01 Thread Stefan Holdermans
oblem. However, throwing them from *static* constructors is not a good idea, since, the static constructors, as opposed to instance constructors, aren't called explicitly, so there's no nice mechanism to handle them. HTH, Stefan === This list

Re: [ADVANCED-DOTNET] Exceptions in Constructors

2004-04-02 Thread Stefan Holdermans
stead of an object, a null reference. I really do not see the problem. Regards, Stefan === This list is hosted by DevelopMentor® http://www.develop.com Some .NET courses you may be interested in: NEW! Guerrilla ASP.NET, 17 May 2004, in Los Angeles http://www.develo

Re: [ADVANCED-DOTNET] Enumeration bounds checking?

2004-04-11 Thread Stefan Holdermans
retty easily without bogging down all DC> uses of enums with needless value checking. Have a look at System.Enum.IsDefined, for instance. HTH, Stefan === This list is hosted by DevelopMentor® http://www.develop.com Some .NET courses you may be interested in: NEW

Re: [ADVANCED-DOTNET] Enumeration bounds checking?

2004-04-11 Thread Stefan Holdermans
System.Int16. Surely 2^32 - 1 exeeds the range of an enumerated type that's backed up by a 16-bit integer. short n = (short) System.Int32.MaxValue; fails just as well. Regards, Stefan === This list is hosted by DevelopMentor® http://www.develop.com Some .NE

Re: [ADVANCED-DOTNET] Visibility of an array type and the element type

2004-05-15 Thread Stefan Holdermans
of *variables*, but to the scope of types generated by the array type constructor. Reflection resolves this scope as public, which seems strange, because one would expect the scope to depend on the scope of the type argument. Regards, Stefan === This list is hosted

Re: [ADVANCED-DOTNET] Visibility of an array type and the element type

2004-05-17 Thread Stefan Holdermans
vector, managed pointer, unmanaged pointer), but can be generated by user-defined constructors as well. Regards, Stefan [1] Common Language Infrastructure (CLI). Partition I: Concepts and Architecture. Available from http://msdn.microsoft.com/net/ecma/. ===

Re: [ADVANCED-DOTNET] launching an html page with an anchor

2004-06-21 Thread Stefan Turalski
Hi, First of all, I'm confused of way that you are putting yours comments, once at a top, once at bottom ;-) My penny here - how SP2 to win xp effect this ? -- Best regards Stefan Turalski IT Departament - Dev & Research Kruk Sp z o.o. Ul. Ostrowskiego 7 53-238 Wrocław Tel. (+71)

[ADVANCED-DOTNET] A nice assembly loader

2004-11-21 Thread Stefan Turalski
Hi, Did anyone know nice exaple of assembly leader in C# - I think abort something like Acrobat Reader shows when it's starting.. -- Best regards Stefan Turalski Kruk Sp. z o.o. IT - Development & Research Department tel. +48 (071) 79 02 164 e-mail: [EMAIL

[ADVANCED-DOTNET] Weak References and Garbage Collection.

2002-05-18 Thread Stefan Holdermans
of nastly situations. Who can provide me with more information on this subject? Yours sincerly, Stefan Holdermans <[EMAIL PROTECTED]> You can read messages from the Advanced DOTNET archive, unsubscribe from Advanced DOTNET, or subscribe to other DevelopMentor lists at http://discuss.develop.com.

Re: [ADVANCED-DOTNET] Is Strong Named Assembly Really Secure?

2002-05-19 Thread Stefan Holdermans
d. (And I really can't think of any reason to share this kind of information.) Most of all, I feel it looks kind of _clumsy_ to contain this info in a assembly. Stefan Holdermans <[EMAIL PROTECTED]> You can read messages from the Advanced DOTNET archive, unsubscribe from Advanced DO

Re: [ADVANCED-DOTNET] Is Strong Named Assembly Really Secure?

2002-05-20 Thread Stefan Holdermans
ituation in which the administrator's account is not save any longer. Rui wrote: > [...] Maybe MS will fix this _minor_ issue later on (it really looks clumsy :) ). Or maybe Microsoft will explain why this is a useful -- or even neccecary - - feauture. :-) Stefan Holdermans <[EMAIL PROTECTED]&

Re: [ADVANCED-DOTNET] Singleton pattern

2002-06-06 Thread Stefan Holdermans
these big things created when you don't really need them. P.S. A last note on the sealed modifier that --- appearently --- seems so natural to us on singleton classes: consider singletons you can inherit from. Think of cases where you want only one instance for each sub class to be cr

Re: [ADVANCED-DOTNET] Singleton pattern

2002-06-08 Thread Stefan Holdermans
er they are static or non-static... I think that we've been using accessor methods and -- now -- properties for all those reasons. So why would we throw away that now? --Stefan You can read messages from the Advanced DOTNET archive, unsubscribe from Advanced DOTNET, or subscribe to other DevelopMentor lists at http://discuss.develop.com.

Re: [ADVANCED-DOTNET] Singleton pattern

2002-06-11 Thread Stefan Holdermans
he accessor method gives you far more flexibility and I'd say it's the right choise here. --Stefan You can read messages from the Advanced DOTNET archive, unsubscribe from Advanced DOTNET, or subscribe to other DevelopMentor lists at http://discuss.develop.com.

[ADVANCED-DOTNET] Evaluation of boolean expressions.

2002-06-14 Thread Stefan Holdermans
lways be evaluates since it may be a method that, besides returning a boolean, incorparates some side-effects... but arent't those side-effects bad practice anyway ;)?) --Stefan You can read messages from the Advanced DOTNET archive, unsubscribe from Advanced DOTNET, or subscribe to o

Re: [ADVANCED-DOTNET] Singleton pattern

2002-06-18 Thread Stefan Avramtchev
I think the type contructors is thread safe. How otherwise is the framework guarding this rule if not by locking some internal object (not the being-initialised class ofcourse) in order to guarantee that only one thread runs inside the type contructor? stef On Fri, 14 Jun 2002 15:01:22 -0700,

Re: [ADVANCED-DOTNET] Singleton pattern

2002-06-20 Thread Stefan Holdermans
methods thread-safe, anyway. -- Stefan You can read messages from the Advanced DOTNET archive, unsubscribe from Advanced DOTNET, or subscribe to other DevelopMentor lists at http://discuss.develop.com.

Re: [ADVANCED-DOTNET] Reflection To Create Enum

2002-06-21 Thread Stefan Holdermans
Paul wrote: > Is it Possible to create an enum Using Reflection? Yep... use the classes in the System.Reflection.Emit namespace. Alternatively, you can apply the CodeDOM. -- Stefan You can read messages from the Advanced DOTNET archive, unsubscribe from Advanced DOTNET, or subscribe to ot

Re: [ADVANCED-DOTNET] Killing a process from a .NET application

2002-06-21 Thread Stefan Holdermans
g to be run!? --Stefan You can read messages from the Advanced DOTNET archive, unsubscribe from Advanced DOTNET, or subscribe to other DevelopMentor lists at http://discuss.develop.com.

Re: [ADVANCED-DOTNET] A bug in Thread.Abort()?

2002-06-22 Thread Stefan Holdermans
Looks more like documentation error to me... - Original Message - From: "Luca Marchesi" <[EMAIL PROTECTED]> To: "Moderated discussion of advanced .NET topics." <[EMAIL PROTECTED]> Sent: Saturday, June 22, 2002 11:54 AM Subject: A bug in Thread.Abort()? Hy everybody. The SDK says " If

Re: [ADVANCED-DOTNET] Synchronsing events caches across web farms...

2002-06-27 Thread Stefan Avramtchev
Alex, >It's an ASP.Net based website - so currently I'm think that perhaps we could >use remoting to force the caches on all machines to repopulate when a change >occurs on one web server... I'd add a couple of questions more on that topic: "And what if some of the machines failed to 'repopulat

Re: [ADVANCED-DOTNET] protect component/library

2002-07-01 Thread Stefan Holdermans
Let's generalize the problem: What kind of licensing tricks should I apply in order to make sure that only the customer to whom I sold an app is going to use it? (I guess making sure this won't happen is far too ambitious --- but can we at least come up with a protection that is *difficult* to cra

Re: [ADVANCED-DOTNET] Synchronsing events caches across web farms...

2002-07-01 Thread Stefan Avramtchev
On Sat, 29 Jun 2002 13:59:36 +0800, Ben Kloosterman <[EMAIL PROTECTED]> wrote: >Another solution is after the DB has been updated - update each cache and >ensure readers of those items are locked until the entire transaction >update has finished. at least that way you see all the transaction o

Re: [ADVANCED-DOTNET] Synchronsing events caches across web farms ...

2002-07-03 Thread Stefan Avramtchev
e Business >object infrastructures like EJB's etc. creeping into the .Net Framework >arena (though I have been rolling my own for a while now...) > >Any suggestions/discussion gladly appreciated! > >- Alex > >-Original Message- >From: Stefan Avramtchev [mailto

Re: [ADVANCED-DOTNET] Singleton without remoting

2002-07-03 Thread Stefan Avramtchev
I think I know what you need but in my perception the only way to reach outside the .NET AppDomain goes via Remoting. Inter-process comms always impose overhed. But how much bigger the overherd of .NET Remoting versus the DCOM overhead is I do not know and I'll appresiate if somebody gives us an

Re: [ADVANCED-DOTNET] Passing Objects to Data layer

2002-07-06 Thread Stefan Holdermans
the upper layer (Order : IOrder). This way you can define methods like SaveOrder(IOrder order) in the data layer and pass Order objects to it from the business layer. -- Stefan You can read messages from the Advanced DOTNET archive, unsubscribe from Advanced DOTNET, or subscribe to other DevelopMen

[ADVANCED-DOTNET] Scripting error in Framework Documentation.

2002-07-07 Thread Stefan Holdermans
age of the docs in the Help Browser that displays syntax lines filtered by the language filter, I get an error: 'An error occurred in a script on the page'. Actually, the language-filter icon isn't displayed at all. I just can't resolve what is causing this error. Can anyone help m

[ADVANCED-DOTNET] Business Entity Layer and Database Design.

2002-07-13 Thread Stefan Holdermans
uld there be an extra column in the UserGroup table that indicates whether a group is a system group? I guess this is an issue that arises quite often, so I'm very interested in hearing how others solve this problem. I really haven't decided which way to go with the implementation of my app, so

Re: [ADVANCED-DOTNET] XmlNodeChangedEventHandler

2002-08-12 Thread Stefan Holdermans
from actually be mutated. HTH, Stefan - Original Message - From: Steven Livingstone To: 'Moderated discussion of advanced .NET topics.' Sent: Monday, August 12, 2002 5:00 PM Subject: XmlNodeChangedEventHandler In the code below I raise an exception when a non-int

[ADVANCED-DOTNET] Which methods have been Jit complied

2002-08-14 Thread Stefan Finch
Is it possible to take a set of assemblies and see which methods/classes have been Jit compiled, and which haven't yet (i.e. not executed)? Thanks S _ This e-mail may be confidential and does not necessarily represent the views of CD9Design. If you are not the intended recipient of

Re: [ADVANCED-DOTNET] Name of MenuItem through Reflection

2002-08-15 Thread Stefan Holdermans
n the OnMenuItemClick method is added to the event handlers for the Click event of the MenuItem, the name of the field that holds the reference to the clicked MenuItem will be assigned to the variable name. HTH, Stefan You can read messages from the Advanced DOTNET archive, unsubscribe

Re: [ADVANCED-DOTNET] Why has a MarshallByRefObject Stream.Read(..) byte[] as IN Parameter

2002-08-15 Thread Stefan Holdermans
for the Read method on your server component. HTH, Stefan - Original Message - From: Dirk Reuss To: [EMAIL PROTECTED] Sent: Wednesday, August 14, 2002 1:05 PM Subject: Why has a MarshallByRefObject Stream.Read(..) byte[] as IN Parameter Hello, I implemented a Stream for

Re: [ADVANCED-DOTNET] Why has a MarshallByRefObject Stream.Read(..) byte[] as IN Parameter

2002-08-15 Thread Stefan Holdermans
mes desire. At the end of the road, the Stream class just doesn't proof itself suitable for a distributed scenario. -- Stefan You can read messages from the Advanced DOTNET archive, unsubscribe from Advanced DOTNET, or subscribe to other DevelopMentor lists at http://discuss.develop.com.

Re: [ADVANCED-DOTNET] Why has a MarshallByRefObject Stream.Read(..) byte[] as IN Parameter

2002-08-15 Thread Stefan Holdermans
ssume this creates a byte array at the server and passes it to the client -- doesn't it? (I'm not really into parameter modifiers, so please correct me if I'm wrong...) -- Stefan - Original Message - From: Axel Heitland To: Moderated discussion of advanced .NET topic

Re: [ADVANCED-DOTNET] Using Assembly.LoadFrom

2002-08-19 Thread Stefan Holdermans
outputs true, if lib.dll isn't signed and the app isn't running in the C:\Temp folder. Seems a bug to me. Or are we missing something here? Stefan - Original Message - From: Beaulieu, Paul To: 'Stefan Holdermans' ; Beaulieu, Paul ; [EMAIL PROTECTED]

Re: [ADVANCED-DOTNET] using system.collections in .net

2002-08-21 Thread Stefan Holdermans
m.Collections.Specialized; var collection: NameValueCollection = new NameValueCollection(); collection.Add("first", "foo"); collection.Add("second", "bar"); for (var key: String in collection) { print(collection.Item(key)); } HTH, Stefan

Re: [ADVANCED-DOTNET] Getting the Parameter value passed into a function using the StackFrame

2002-08-21 Thread Stefan Holdermans
om it. Last week, Martin Naughton brought the exact same issue to the list: you might want to track that thread: http://discuss.develop.com/archives/wa.exe?A2=ind0208b&L=advanced-dotnet&T=0&F=&S=&P=6287. Regards, Stefan - Original Message - From: Abdulla,

Re: [ADVANCED-DOTNET] generic error handler / parameters passed

2002-08-27 Thread Stefan Holdermans
Keyen, This seems a popular feature these days... We had two threads dedicated to this issue the last weeks: you might want to check them out... Regards, Stefan - Original Message - From: "Keyen" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Sunday, A

[ADVANCED-DOTNET] Applying custom attributes to assemblies in JScript.NET.

2002-09-22 Thread Stefan Holdermans
Hi, In C# en Visual Basic.NET one can apply custom attributes to assemblies by means of [assembly:Foo] and respectively, where Foo is the name a custom-attribute class. Is there anyway to apply custom attributes to assemblies in JScript.NET? Thanks, Stefan You can read messages from

Re: [ADVANCED-DOTNET] Applying custom attributes to assemblies in JScript.NET.

2002-09-24 Thread Stefan Holdermans
pt.NET adopts the C#-syntax here: [assembly:Foo] and [module:Bar] I just found this out by trying: it does not seem to be described in the docs. Is it? Regards, Stefan - Original Message - From: Patrick Steele To: Moderated discussion of advanced .NET topics. Sent:

Re: [ADVANCED-DOTNET] dotNet alternative to mailslot ?

2002-10-30 Thread Stefan Holdermans
oth a purely managed C++ program and it's equivalent in C# compile to IL and fit into the CLR. How could a performance difference occur? Of cource, when you mix managed and unmanaged code in a C++ program, you could gain a significant performance gain, but then it wouldn't be fair comparison,

Re: [ADVANCED-DOTNET] System.Delegate needs a new constructor

2002-12-03 Thread Stefan Holdermans
Jason, I'm not sure about b), but you can do a): just have a look at the System.Delegate.CreateDelegate method. HTH, Stefan >-Original Message- >From: [EMAIL PROTECTED] >[mailto:[EMAIL PROTECTED]] On Behalf >Of Jason Whittington >Sent: Tuesday, December

Re: [ADVANCED-DOTNET] Need help with a P/Invoke function

2003-02-27 Thread Stefan Holdermans
atform-dependent character arrays within a struct, i.e. CHAR[] or WCHAR[]. HTH, Stefan >-Original Message- >From: [EMAIL PROTECTED] >[mailto:[EMAIL PROTECTED] On Behalf >Of [EMAIL PROTECTED] >Sent: Tuesday, February 25, 2003 7:25 PM >To: [EMAIL PROTECTED] >Subject: Ne

Re: [ADVANCED-DOTNET] Compilation question....

2003-02-28 Thread Stefan Holdermans
if there was only one comparison, like you are implying to be what you were expecting? Wouldn't you then just simply check for equality? HTH, Stefan >-Original Message- >From: [EMAIL PROTECTED] >[mailto:[EMAIL PROTECTED] On Behalf >Of Simon Hewitt >Sent: Thursday, Feb

Re: [ADVANCED-DOTNET] Remoting: Custom Message Sink

2003-02-28 Thread Stefan Holdermans
ybe attach some source code? Regards, Stefan >-Original Message- >From: [EMAIL PROTECTED] >[mailto:[EMAIL PROTECTED] On Behalf >Of Erik Johnson >Sent: Thursday, February 27, 2003 3:25 AM >To: [EMAIL PROTECTED] >Cc: Erik Johnson >Subject: Remoting: Custom

Re: [ADVANCED-DOTNET] Need to Append a line to an existing method

2003-05-31 Thread Stefan Holdermans
o two MSDN-Magazine articles on this topic [2, 3]. HTH, Stefan [1] Don Box. Essential .NET, Volume I: The Common Language Runtime. Addison Wesley. 2000. [2] Dharma Shukla, Simon Fell, and Chris Sells. 'Aspect-Oriented Programming Enables Better Code Encapsulation and Reuse', in:

Re: [ADVANCED-DOTNET] Partially constructed objects in C#

2003-06-19 Thread Stefan Holdermans
different semantics for calling virtual method in constructor and non-constructor code. Regards, Stefan >-Original Message- >From: [EMAIL PROTECTED] >[mailto:[EMAIL PROTECTED] On Behalf >Of Stephen Dunn >Sent: Thursday, June 19, 2003 3:59 PM >To: 'Moderated discussion o

Re: [ADVANCED-DOTNET] Partially constructed objects in C#

2003-06-19 Thread Stefan Holdermans
aid. The point is that, appearantly, you can't just call the virtual method from the constructor for it's not reliable: it might, for instance, try to access some uninitialzed members. Being critical for object construction does not make such a call more reliable... Regards, Stefan

Re: [ADVANCED-DOTNET] Partially constructed objects in C#

2003-06-19 Thread Stefan Holdermans
alk in park, you know... Just think of it as the construction/initialization complement of Dispose. Maybe you should define an IDispoable-like interface for it: IInitializable or something...) Cheers, Stefan

Re: [ADVANCED-DOTNET] COM Interop and Threading

2003-06-19 Thread Stefan Holdermans
lished some VB6-written COM libraries three years ago and still running into ByRefs they can't get rid of because of version-compatability issues. Just another thing that shows me that .NET is really providing improvement. Regards, Stefan

Re: [ADVANCED-DOTNET] Partially constructed objects in C#

2003-06-20 Thread Stefan Holdermans
og += msg; } } } The comment says it all. (Maybe I'm wrong, but isn't this where this discussion is about? Can someone please confirm? Either Rob or myself is missing the point completely.) Regards, Stefan >-Original Message- >From: [EMAIL PROTECTED] >[ma

Re: [ADVANCED-DOTNET] Partially constructed objects in C#

2003-06-20 Thread Stefan Holdermans
log if (msg != null) { this.log += "\n"; if this.log += msg; } } } Regards, Stefan >-Original Message- >From: [EMAIL PROTECTED] >[mailto:[EMAIL PROTECTED] On Behalf >Of Richard Blewett >Sent: Friday, June 20, 2003 11:31 AM >To: '

Re: [ADVANCED-DOTNET] COM and AppDomains

2003-07-07 Thread Stefan Holdermans
want to replace the component, you could issue a FreeLibrary call and bring the new component in. Perhaps, there's much more simple approach---but this's the first I can think of... HTH, Stefan >-Original Message- >From: [EMAIL PROTECTED] >[mailto:[EMAIL PROTECT

Re: [ADVANCED-DOTNET] Add Declaritive Reference To Assembly

2003-07-13 Thread Stefan Holdermans
4A 77 ) .ver 2:0:6:0 } But when I compile without defining the DEBUG symbol, the reference does not end up in the manifest. HTH, Stefan >-Original Message- >From: [EMAIL PROTECTED] >[mailto:[EMAIL PROTECTED] On Behalf Of Matthew >Sent: Friday, July 11, 2003 4:

Re: [ADVANCED-DOTNET] Add Declarative Reference To Assembly

2003-07-14 Thread Stefan Holdermans
Mathhew, It seems you're right... The VB.NET compiler does include unused references. I'm afraid the only option you have here is invoking the compiler from the command line and omit the unneeded references. Regards, Stefan >-Original Message- >From: [EMAIL PROTECTED]

Re: [ADVANCED-DOTNET] Add Declarative Reference To Assembly

2003-07-15 Thread Stefan Holdermans
Doug, >VB6 had conditional compilation similar to the #if #end if in >C/C++/C#. Did that make it into VB.NET and if it did, can you >use it in the identical way to the example given by Stefan? I >didn't notice in the posts any refernce to using the feature >in the VB.