[ADVANCED-DOTNET] Concurrency and System.Data not found

2003-02-04 Thread Brad King
Hi, Occasionally I get a FileNotFound exception for System.Data. This is in an Enteprise Services server component, at activation time, when multiple threads are hitting the component at the same time. A gotdotnet board user replied to me that this is a known bug in the assembly loader, but I can'

Re: [ADVANCED-DOTNET] http channel in .NET Remoting

2003-02-04 Thread Russ McClure
Take a look at Ingo Rammer's Bi-directional TCP Channel. It tries to solve the exact problem you mention. Of course his is a TCP Channel and you want an HTTP Channel but the concepts are the same. http://www.ingorammer.com/Software/OpenSourceRemoting/BiDirTcpChannel.html Russ -Original M

[ADVANCED-DOTNET] Using Remote API

2003-02-04 Thread Gerard Gjonej
Hi, I am trying to use RAPI to write to a file in a Pocket PC. Using the code: [DllImport("rapi.dll", CharSet=CharSet.Unicode)] private static extern int CeCreateFile( string lpFileName, uint dwDesiredAccess, uint dwShareMode, uint lpSecurityAttributes, uint dwCreationDisposition, uint dwFlagsA

Re: [ADVANCED-DOTNET] http channel in .NET Remoting

2003-02-04 Thread John Davis
Bingo, look at the IHttpHandler interface for the server side. You'll need to create your own signaling stream if you want to reach clients behind a firewall. You'll consume this stream on the client side via the HttpWebRequest class. Also be aware that some firewalls close the socket after so m

Re: [ADVANCED-DOTNET] C# layers dhtml refresh

2003-02-04 Thread Henry Stapp
Hi Salil, I'd suggest using two DIVs in DHTML. You can cause them to layer on top of each other by setting the CSS 'positioning' attribute to 'absolute', then setting the top/left/height/width attributes to appropriate values. The z-index attribute will control which DIV is on top. The bottom DIV

[ADVANCED-DOTNET] http channel in .NET Remoting

2003-02-04 Thread GiriKrishna Tirumala
Hello, I have a specific requirement on using Remoting through a firewall . Let me explain the scenario in brief. I have a remote object hosted in IIS behind a firewall configured to block all ports other than 8080. I have a client registering an Http channel and specifying port 0 to recei

Re: [ADVANCED-DOTNET] C# layers dhtml refresh

2003-02-04 Thread Fiach Reid
Salil, A good generic dhtml placement routine that I use is domlay (source below). You would create a after the head, and place it using domlay("myDivName",1,xPosition,yPosition," To: <[EMAIL PROTECTED]> Sent: Sunday, February 02, 2003 4:16 PM Subject: [ADVANCED-DOTNET] C# layers dhtml refre

Re: [ADVANCED-DOTNET] Create an object from native code

2003-02-04 Thread Rodrigo B. de Oliveira
Hmmm... It's been some time since I did any COM programming but I think the code you've posted to create a SAFEARRAY is wrong. I would do something on the lines: HRESULT hr = E_FAIL; BSTR* pbstr = NULL; SAFEARRAY* psa = ::SafeArrayCreateVector(VT_BSTR, 3); if (NULL != psa) { if (SUCCEEDED(hr

[ADVANCED-DOTNET] C# layers dhtml refresh

2003-02-04 Thread Salil Soman
I have a page that displays a map and points dynamically generated over that map (its aspx page written in c# - running on IIS 6 server). I'd like to modify the page so the map appears as 1 layer and the dynamic points appear as an overlying layer, and the overlying layer refreshes itself once eve

Re: [ADVANCED-DOTNET] bug in .net remoting/COM+ ?

2003-02-04 Thread Mark Nicholls
I've only just found this reply via google, researching the same problem (our mail sweeper doesn't like things with code in). Thanks for your reply. I understand your comments about "not calling from COM+". I don't understand "I recommend that you use it as a client activated object, not single c

Re: [ADVANCED-DOTNET] bug in .net remoting/COM+ ?

2003-02-04 Thread Mark Nicholls
You were indeed correct, this had absolutely nothing to do with COM+. Solved. Though I'm not sure whether what this says about either my understanding of .net or the idiosyncrocies of .net. My problem was registering an WellKnownClientTypeEntry and it's ObjectType being null. After a bit of