[ADVANCED-DOTNET] COM Interop and freeing references

2004-03-23 Thread Pandha Permjeet, Slough
Hi, I have a .net app that uses a legacy COM Server component built as a VB6 ActiveX Exe. I have added a reference to it using Visual Studio 2003 References menus and can use it perfectly well from my C# app. When the component is used, Windows runs it in a separate process. If you're using this

Re: [ADVANCED-DOTNET] Multiple Ports and Remoting

2004-03-23 Thread J. Merrill
You're not "pronouncing" it right. The correct phrasing is Premature optimization is the root of all evil. - Tony Hoare (quoted and repeated by Donald Knuth) At 10:13 AM 3/23/2004, Rick Byers wrote >Before you build a dual Web Services + Remoting interface to your >application, I'd sugge

Re: [ADVANCED-DOTNET] Multiple Ports and Remoting

2004-03-23 Thread Rick Byers
Before you build a dual Web Services + Remoting interface to your application, I'd suggest you do some profiling. You may find that the speed difference between Remoting and Web Services is relatively minor for your application. They are two completely different stacks, and it's not obvious to me

Re: [ADVANCED-DOTNET] Java's dynamic proxy in .NET?

2004-03-23 Thread Philip Nelson
This thread is interesting for another reason. Most of all, the Marek is looking for a "deep" piece of AOP like infrastructure to solve a problem with generated code. This generated code is generated to accomplish a web service out of functionality of some classes he must have. It just strikes me a

[ADVANCED-DOTNET] P/Invoke custom marshaling

2004-03-23 Thread Steven Mohapi-Banks
Hi, I have a couple of questions concerning P/Invoke and calling unmanaged code... 1. I have a native DLL that contains a function I am calling that that returns a struct. One of the struct members is a double**, which I wish to marshal as a double[][] in my C# .NET code. As I understand it, I wi

Re: [ADVANCED-DOTNET] Multiple Ports and Remoting

2004-03-23 Thread Andy Smith
Yes, I see now. I was getting confused by the Remoting uri, thinking that Remoting somehow resolved the endpoint within the machine. No, not IPC, I'm building a middle tier for a distributed architecture in a large company. We have many internal apps, internal and external SOAP users. Migrating fr

[ADVANCED-DOTNET] How to percept quality of wireless network?

2004-03-23 Thread Eddie Jiang
Hi all, I'm now writing a program for communications in Wireless LAN. This program needs to percept the quality of the network in order to decide whether to take remote operation. My questions are: how (or via what interface) could the program know the quality of the wireless network? And how to g

Re: [ADVANCED-DOTNET] Multiple Ports and Remoting

2004-03-23 Thread Shawn A. Van Ness
> Is it only for that process? Yes, of course. Else, how else would your computer know what to do with an incoming TCP/IP connection request for port 8080? Query all the processes running on the machine to see which are interested? Pick one at random to handle it? No, of course only one proces