[ADVANCED-DOTNET] The performance of .Net with Win2000

2003-06-16 Thread Leo Zhaobin Wu
I compare the performance of .Net , VC and Java under windows 2000 server. bellow is the test data. SQL Server runs on another machine. 2 Tcp echo server run on other Unix machines. 1.Framework 1.1 C# Asyc ADO.Net and Asyc socket , thread pool ,C# windows application. 2. Visual C++ 6.0 IOCP ,

[ADVANCED-DOTNET] Where is interop_msxml? DISREGARD

2003-06-16 Thread Ron Young
Its in the sdk for Windows Media Services.

[ADVANCED-DOTNET] Where is interop_msxml?

2003-06-16 Thread Ron Young
I'm messing around with Windows Media Services and examples on MSDN reference "interop_msxml". Anyone know where this assembly is located? I'm on Win2003 with VS 2003. Thanks Ron

Re: [ADVANCED-DOTNET] ArgIterator is not object ???

2003-06-16 Thread Steve Johnson
> ArgIterator is a special type. It contains a pointer to the stack, so > it > isn't allowed to escape the current method. Otherwise, you'd have a > pointer pointing into the middle of nowhere. I would guess that it has not so much to do with ArgIterator being a special type, but that in this in

[ADVANCED-DOTNET] Re 1. ERROR [HY000] [Microsoft][ODBC Excel Driver] Operation must use a

2003-06-16 Thread SteveC
Yan Ping, the MS Jet OLEDB driver has been able to read/write Excel for a "long time" now, you will get better mileage if you use that instead of ODBC: string excelConn = @"Provider=Microsoft.Jet.OLEDB.4.0;Data Source= " + "E:\\src\\projects\\DbMiniLoader\\

Re: [ADVANCED-DOTNET] Process Isolation in ASP.NET : sample implementation

2003-06-16 Thread Ravi Pazhani
quick & dirty one! create a directory customcontextclient under \inetpub\wwwroot extract the files. set up a site under defaultwebsite named "customcontextclient" and point to \inetpub\wwwroot\customcontextclient folder. open the sln file and run. due to lack of time i am not able create a detaile

Re: [ADVANCED-DOTNET] ArgIterator is not object ???

2003-06-16 Thread Jeroen Frijters
I think it is documented somewhere in the ECMA CLI specification. I'm not sure, it's been a while. BTW, there is another type that also behaves like this: System.TypedReference. Regards, Jeroen > > -Original Message- > From: Bogdan Lachendro [mailto:[EMAIL PROTECTED] > Sent: Monday, Jun

Re: [ADVANCED-DOTNET] ArgIterator is not object ???

2003-06-16 Thread Bogdan Lachendro
On 6/16/2003 11:39 AM, Jeroen Frijters wrote: ArgIterator is a special type. It contains a pointer to the stack, so it isn't allowed to escape the current method. Otherwise, you'd have a pointer pointing into the middle of nowhere. OK, I understand now, but where did you find out about this? There

Re: [ADVANCED-DOTNET] ArgIterator is not object ???

2003-06-16 Thread Thomas Tomiczek
Documentation for this anywhere? Especially on HOW they stop the boxing to happen. Regards Thomas Tomiczek THONA Consulting Ltd. (Microsoft MVP C#/.NET) > -Original Message- > From: Jeroen Frijters [mailto:[EMAIL PROTECTED] > Sent: Montag, 16. Juni 2003 11:39 > To: [EMAIL PROTECTED] >

Re: [ADVANCED-DOTNET] ArgIterator is not object ???

2003-06-16 Thread Jeroen Frijters
ArgIterator is a special type. It contains a pointer to the stack, so it isn't allowed to escape the current method. Otherwise, you'd have a pointer pointing into the middle of nowhere. Regards, Jeroen > > -Original Message- > From: Bogdan Lachendro [mailto:[EMAIL PROTECTED] > Sent: Mon

Re: [ADVANCED-DOTNET] ArgIterator is not object ???

2003-06-16 Thread Bogdan Lachendro
On 6/16/2003 10:39 AM, Thomas Tomiczek wrote: Hm, ArgIterator is a struct, so it would have to be boxed to be returned. Ok, so take a look at this: using System; namespace IteratorTest { public struct MyStruct { } public class TestClass { public Object MethodOne()

Re: [ADVANCED-DOTNET] ArgIterator is not object ???

2003-06-16 Thread Thomas Tomiczek
Hm, ArgIterator is a struct, so it would have to be boxed to be returned. Now - sadly - besides this there is nothing I Can tell you either. Have you tried casting to object explicitly? Change > ArgIterator iterator; > return iterator; To > ArgIterator i

[ADVANCED-DOTNET] ArgIterator is not object ???

2003-06-16 Thread Bogdan Lachendro
Hi! Look at the code below: using System; namespace IteratorTest { public class Test { public object Method() { ArgIterator iterator; return iterator; } } } When I try to compile it I get : E:\Assemblies\NewGeneratorExample\Class1.cs(

Re: [ADVANCED-DOTNET] ERROR [HY000] [Microsoft][ODBC Excel Driver] Operation must use an updateable qu

2003-06-16 Thread Mike Diehl
Ping, This could just be from the reproduction of the source code, but the line for the VALUES clause in your example appears to contain unterminated string constants: ('1, 'Ping, '800-888-)"; If it does look like this in your actual code, then it would cause a problem and might be your

Re: [ADVANCED-DOTNET] ERROR [HY000] [Microsoft][ODBC Excel Driver] Operation must use an updateable qu

2003-06-16 Thread Potter, Mark S.
cmd.CommandText = "Insert Into [Target$] Values ('1', 'Ping', '800-888-')"; -Original Message- From: yan ping [mailto:[EMAIL PROTECTED] Sent: Sunday, June 15, 2003 6:52 PM To: [EMAIL PROTECTED] Subject: [ADVANCED-DOTNET] ERROR [HY000] [Microsoft][ODBC Excel Driver] Operation mu

Re: [ADVANCED-DOTNET] ERROR [HY000] [Microsoft][ODBC Excel Driver] Operation must use an updateable qu

2003-06-16 Thread Beauchemin, Bob
Hi Yan, If this is your exact code, I can see one thing: your INSERT statement should have quotes on both sides of the values (i.e. Values('1', 'Ping', '800-888-'). Otherwise, it almost sounds like ODBC believes the sheet is not updateable, perhaps ReadOnly=0 in the connection string would hel