Re: [ADVANCED-DOTNET] protect component/library

2002-07-01 Thread Craig Andera
Ian said the following: In any case that's probably more trouble than you want to go to. Presumably you plan to ship your users a copy of the code. It's hard for you to make it impossible for them to use without your consent simply because they can easily run your component through

[ADVANCED-DOTNET] Massive Use of Threads Issue

2002-07-01 Thread David Williams
It the component design that I have, it appears that I am going to end up with something on the order of 300 threads running. My question is simple. Is this number of threads going to cause me massive headaches? Okay, before you ask, the reason that I have this design is that I have a number of

Re: [ADVANCED-DOTNET] Any VB.NET to C Sharp Tool or Service?

2002-07-01 Thread Richard Birkby
Anakrino does a good job. I would point you to saurik.com, but it seems to be down at present. Richard -Original Message- From: Moderated discussion of advanced .NET topics. [mailto:[EMAIL PROTECTED]]On Behalf Of Joe Smith Sent: 30 June 2002 09:33 To: [EMAIL PROTECTED] Subject:

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

Re: [ADVANCED-DOTNET] Massive Use of Threads Issue

2002-07-01 Thread Thomas Tomiczek
You are dead :-) Frankly, tell your hardware vendor to stick to hardware and not to advice people with unusable software designs. Use around 20-30 threads per processor. Take requests and dispatch them to a thread pool. Use a work ticket based design, taking a work item, have a thread handle

Re: [ADVANCED-DOTNET] Any VB.NET to C Sharp Tool or Service?

2002-07-01 Thread Yves Reynhout
http://www.remotesoft.com/ 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] 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 or

Re: [ADVANCED-DOTNET] Massive Use of Threads Issue

2002-07-01 Thread Mcmullan, Andy (Andrew)
Thomas, I'm surprised that you can provide such an apparently definitive answer without knowing more about the environment. For a start, the hardware vendor is likely supplying software libraries used to interface with the boards. It may be that the design of these libraries makes a

Re: [ADVANCED-DOTNET] protect component/library

2002-07-01 Thread Craig Andera
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*

[ADVANCED-DOTNET] another S.R.Emit issue: structs that implement interfaces and no fields

2002-07-01 Thread Paolo Molaro
The following test case can't be compiled correctly using System.Reflection.Emit: using System; public interface I { void stuff(); } struct T : I { public void stuff () {} static int Main() { bool good = false; foreach (Type iface in

[ADVANCED-DOTNET] Source Control and the .NET IDE

2002-07-01 Thread Greg Robinson
Not sure where to post this, so I will start here. My client has Visual Source Safe and Rational Clear Case source control on their desktops. I only have VSS. They recently installed .NET on their machines. I have asked them to go into VSS from the .NET IDE and copy all of the project files

Re: [ADVANCED-DOTNET] Source Control and the .NET IDE

2002-07-01 Thread Greg Robinson
Sean, good feedback but not an option on my client site. We want to do all VSS integration through the .NET IDE. 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] PrintingPermission Documentation is very poor

2002-07-01 Thread Mark Boulter
DefaultPrinting: You can print to the default printer without user interaction and to any printer selected by the user through PrintDialog SafePrinting: You can only print by presenting the PrintDialog to the user and using the printer selected by the user To use the PrintDialog you should be

[ADVANCED-DOTNET] Unable to hook up a custom marshaler to a C# struct member

2002-07-01 Thread Kirill 'Big K' Katsnelson
I have a struct which needs to be marshaled to and from managed code. One of the struct members is an integer, but it is mangled in a sense: it uses only 28 bits, and HSB of each byte is zero. To avoid bit arithmetic sprinkled over .NET code, I decided to hook up a custom marshaler to this field

Re: [ADVANCED-DOTNET] Source Control and the .NET IDE

2002-07-01 Thread Greg Robinson
Adam, if you notice this reads use 'Visual Source Safe' setting's. This does not change which source control provider you want to use. Ours is pointed to VSS but still open in Clear Case. We even went into Clear Case and Stopped it. Same results. You can read messages from the Advanced