[Mono-dev] unsafe C# code not working under mono

2005-11-25 Thread Marek Habersack
Hello everybody, I've been recently implementing CAPTCHA for a customer and I had come across the article @codeproject (http://www.codeproject.com/aspnet/WSCaptcha.asp) which implements quite a nice version of it. Since I didn't want a service but just a simple HttpHandler module, I wrote one

[Mono-dev] windows shares

2005-11-25 Thread Anton Andreev
Hi, How does Mono handles the following on Linux? name=@\\store\work.zip; fs_in=new FileStream(name,FileMode.Open,FileAccess.Read,FileShare.Read); What about the slashes? Would Mono access the file though Windows style is used to access shared files? I do not want to mount as this involves

[Mono-dev] Re: xsd for char and guid types

2005-11-25 Thread Lluis Sanchez
The patch looks right. Please commit. Thanks! Lluis. El jue, 24-11-2005 a las 06:57 -0800, Konstantin Triger escribió: Hello Lluis, Currently we export the char and guid .Net types as primitives defined in http://www.w3.org/2001/XMLSchema, but they are not. This produces incorrect

Re: [Mono-dev] windows shares

2005-11-25 Thread Dick Porter
On Fri, 2005-11-25 at 12:40 +0200, Anton Andreev wrote: How does Mono handles the following on Linux? name=@\\store\work.zip; fs_in=new FileStream(name,FileMode.Open,FileAccess.Read,FileShare.Read); mono will try to open the file /store/work.zip We do not link mono with samba, and have no

[Mono-dev] Client Ip Adress with Remoting?

2005-11-25 Thread Hubert FONGARNAND
Is there a way (for a mono remoting) to get the Ip adress of the client who's connected to? I need to know this IP adress in order to log access to the remoting server Thanks _ _v_ Hubert FONGARNAND /(_)\ Fiducial ^ ^ Service Intranet-Internet

RE: [Mono-dev] Client Ip Adress with Remoting?

2005-11-25 Thread Sébastien Robitaille
I had the same problem a few months ago. The only way I was able to do that is by implementing a Custom Channel Sink. This solution gives you access to the transport headers that contain the IP address: CommonTransportKeys.IPAddress If you find an easier solution, please let me know. Sébas

[Mono-dev] Retargetable issues

2005-11-25 Thread amoreno
Hi all, I'm trying to port a .NET application programmed with Visual Studio to MONO. The main problem I have found is that this application was created for Compaq Framework and it does run on a Windows Platform but just because of the MIL's retargetable switch that Microsoft uses to reference

[Mono-dev] Saving And Loading Assemblies To/From Memory

2005-11-25 Thread Jim Purbrick
Hi, I'm currently using Assembly.Load(Byte[]) to load assemblies and wondered if there was a way to save assemblies back to byte arrays either using the framework or embedding APIs? Saving and loading assemblies to and from memory in this way would be much easier for me than having to use files

Re: [Mono-dev] Retargetable issues

2005-11-25 Thread Jose Cornado
Alberto: This switch refers to the capability of assembly A of running in .Net Desktop and .Net Compact frameworks. This has implications at the corlib and runtime levels. As far as I know mono does not target the Compact Framework (CF) therefore the retargetable flag does not work Since CF is

[Mono-dev] Porting app that uses Microsoft.Web.Services2 to Mono

2005-11-25 Thread Geoffrey Gowan
Hi, I'm in the process of trying to port an application that uses Microsoft.Web.Services2.dll over to run on linux using Mono. Does anybody know what would be required to do this? I have already tried just copying the Microsoft.Web.Services2.dll file over to linux but I'm getting a

[Mono-dev] ASP.NET Code Generation

2005-11-25 Thread benjamin van der veen
Hello, For quite a while now I've been trying to find the source code for the part of the ASP.NET implementation that parses .aspx and codebehind files and custom generates the ASPX_* classes. I'm rather new to this whole thing and the svn is a bit overwhelming if you don't know where to start.

Re: [Mono-dev] Retargetable issues

2005-11-25 Thread amoreno
Alberto: This switch refers to the capability of assembly A of running in .Net Desktop and .Net Compact frameworks. This has implications at the corlib and runtime levels. As far as I know mono does not target the Compact Framework (CF) therefore the retargetable flag does not work

[Mono-dev] Mono/gtk# installer

2005-11-25 Thread Daniel Morgan
Is there a reason when I run a gtk# application I build with Mono, I do not get any exceptions nor Console.Error.WriteLines? This is with the Mono 1.1.10 Windows Installer using gtk# 2.4. If I write a console app, I do get the Exceptions and WriteLines.

[Mono-dev] patch to add FontOptions to Mono.Cairo

2005-11-25 Thread John Luke
Hello all, Here is a patch to add FontOptions to Mono.Cairo, and also cleans up some other font stuff a little bit by removing some old/duplicated stuff. Is it ok to commit? I'll update the docs should this be approved. Also, an example using the new api is attached. Index:

Re: [Mono-dev] patch to add FontOptions to Mono.Cairo

2005-11-25 Thread Miguel de Icaza
Hello, Here is a patch to add FontOptions to Mono.Cairo, and also cleans up some other font stuff a little bit by removing some old/duplicated stuff. Is it ok to commit? This looks great. Please commit. I'll update the docs should this be approved. Nice touch ;-) Also, an example using

Re: [Mono-dev] ASP.NET Code Generation

2005-11-25 Thread Gonzalo Paniagua Javier
On Fri, 2005-11-25 at 10:02 -0800, benjamin van der veen wrote: Hello, For quite a while now I've been trying to find the source code for the part of the ASP.NET implementation that parses .aspx and codebehind files and custom generates the ASPX_* classes. I'm rather new to this whole thing

RE: [Mono-dev] Enum serealization proble inSystem.Xml.Serialization.XmlMapping

2005-11-25 Thread Miguel de Icaza
Hello, At the first look, serializer generator seems to be ok, it process differently the flags and non-flags enums, lines 516-536 in System.Xml.Serialization\SerializationCodeGenerator.cs. But, unfortunately, I don't have a running mono environment to check it out. I'm committing the