Re: [Mono-dev] Compiling Mono Runtime in VS2010 (Guy Sherman)

2010-06-28 Thread Guy Sherman
Hi Folks, I got home today and managed to get the runtime to compile in Visual Studio 2010, but still the same error, ie a failed assertion on: _CrtIsValidHeapPointer So, this brought a new question to mind: Am I even supposed to be calling free on pointers that have been given to me by the

Re: [Mono-dev] Standard name for mcs

2010-06-28 Thread Oskar Berggren
2010/6/28 Russell Wallace russell.wall...@gmail.com: On Mon, Jun 28, 2010 at 2:52 AM, Jonathan Pobst mon...@jpobst.com wrote: Likely, when gmcs goes away, an alias script called 'gmcs' will be left in it's place that points to the current compiler. Yes, please do this -- that would be the

Re: [Mono-dev] Compiling Mono Runtime in VS2010

2010-06-28 Thread Robert Jordan
On 28.06.2010 02:27, Guy Sherman wrote: I managed to compile a 64-bit version of the mono runtime, using Visual Studio 2008, and I am having a great time working out how to embed mono. However, I am using Visual Studio 2010 for my solution, and whenever I call free on a pointer allocated by

Re: [Mono-dev] Daily Package: instruction metadata inconsistent

2010-06-28 Thread Patrick Heeb
What might be wrong with the command? here is a snipplet of the compile log Making all in mini make[3]: Entering directory `/mono-20100618/mono/mini' if test -d ../../.git; then svn_info=git log --no-color --first-parent -n1 -- grep=git-svn-id: --pretty=format:%b | sed -n -e 's,git-svn-id:

Re: [Mono-dev] Standard name for mcs

2010-06-28 Thread Russell Wallace
Sure, but it's not installed by default, even after installing the mono-devel package: a...@a-desktop:~$ mcs The program 'mcs' is currently not installed. You can install it by typing: sudo apt-get install mono-mcs I'm guessing this is because mcs in its current form, being a copy of an old

Re: [Mono-dev] Standard name for mcs

2010-06-28 Thread Robert Jordan
On 28.06.2010 11:13, Russell Wallace wrote: Sure, but it's not installed by default, even after installing the mono-devel package: a...@a-desktop:~$ mcs The program 'mcs' is currently not installed. You can install it by typing: sudo apt-get install mono-mcs I'm guessing this is because

Re: [Mono-dev] Standard name for mcs

2010-06-28 Thread Russell Wallace
On Mon, Jun 28, 2010 at 11:05 AM, Robert Jordan robe...@gmx.net wrote: There are efforts to make mcs a multi-target compiler (probably under a new name and with script wrappers for mcs, gmcs, smcs, dmcs), but even then you'll have to specify the target runtime version via a command like switch

Re: [Mono-dev] Compiling Mono Runtime in VS2010

2010-06-28 Thread guysherman
Hi Robert, Thanks for that, that helps a little, but I think I still need to free in one case, that is mono_string_to_utf16, I need to free the LPTSTR that I get back afterwards (the example in test-invoke does). Is this where I would call mono_free? Or should I be able to call g_free for this.

Re: [Mono-dev] Compiling Mono Runtime in VS2010

2010-06-28 Thread Robert Jordan
On 28.06.2010 12:22, guysherman wrote: Hi Robert, Thanks for that, that helps a little, but I think I still need to free in one case, that is mono_string_to_utf16, I need to free the LPTSTR that I get back afterwards (the example in test-invoke does). Is this where I would call mono_free?

Re: [Mono-dev] Compiling Mono Runtime in VS2010

2010-06-28 Thread guysherman
Hi Robert, Thanks so much for your help and patience, I have now got my code working. I found that mono_free was missing from the mono.def file that i had (I guess I should probably rebuild it), so I added the line. Now my code compiles and links and runs. Sweet victory! I'm working on

Re: [Mono-dev] Compiling Mono Runtime in VS2010

2010-06-28 Thread Robert Jordan
Hi Guy, On 28.06.2010 13:07, guysherman wrote: Thanks so much for your help and patience, I have now got my code working. I found that mono_free was missing from the mono.def file that i had (I guess I should probably rebuild it), so I added the line. Now my code compiles and links and runs.

[Mono-dev] Console.ReadLine rlwrap

2010-06-28 Thread Laurent Le Brun
Hello, I'd like to use rlwrap with my Mono application, but it fails (my code is just calling Console.ReadLine). If I write the same thing in C (with fgets on stdin), it works, so it's not a term issue. rlwrap works fine when the Mono application starts, but fails as soon as I call

[Mono-dev] Hosting simple WCF service in XSP

2010-06-28 Thread Thiago Padilha
Is it possible? Im a newbie to WCF so I followed the steps in http://www.netfxharmonics.com/2008/11/Understanding-WCF-Services-in-Silverlight to setup a simple service and it worked fine under asp.net development server(visual web developer 2010), but when I try with xsp2/mono 2.6 it fails.

Re: [Mono-dev] Standard name for mcs

2010-06-28 Thread Jonathan Pryor
There are efforts to make mcs a multi-target compiler (probably under a new name and with script wrappers for mcs, gmcs, smcs, dmcs), but even then you'll have to specify the target runtime version via a command like switch (or resort to the aforementioned wrappers). This already exists via

Re: [Mono-dev] Compiling Mono Runtime in VS2010

2010-06-28 Thread guysherman
Hi Robert, I probably will do so in the near future. Is it appropriate to make a post here when I have? Thanks, Guy. -- View this message in context: http://mono.1490590.n4.nabble.com/Compiling-Mono-Runtime-in-VS2010-tp2270384p2271530.html Sent from the Mono - Dev mailing list archive at

Re: [Mono-dev] Hosting simple WCF service in XSP

2010-06-28 Thread Atsushi Eno
Hello, Unless you use trunk or daily snapshot version you won't get it working fine. (It might work for simple ones, but that's not the point.) (This list is for those who hack mono, use mono-list instead.) Atsushi Eno On 2010/06/28 23:31, Thiago Padilha wrote: Is it possible? Im a newbie