Re: [Mono-dev] Problems with Visual Studio build

2010-09-27 Thread guysherman
Hi All, False alarm... I worked out that the source I downloaded a while back was actually post 2.6.7 (because it had 4.0 support), and that for some reason I didn't need to call unbox when I was trying to get an int passed by ref (even though I had to box it to get it in there in the first

[Mono-dev] Problems with Visual Studio build

2010-09-26 Thread guysherman
Hi All, I've been having quite a hard time getting a nice, working build, but I don't want to give up because I really want to use mono as a scripting engine for a game engine I'm making. Some time ago I checked out the trunk (pre 2.6.7 release, but it must have been close to it) and got a

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 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 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] Trying to run teste.exe

2010-06-19 Thread guysherman
Hi Zoltan, Thanks very much for that, that seems to have fixed it. I get a new error now, though. The error is the following: Corlib too old for this runtime. Loaded from: C:\Program Files (x86)\Mono-2.6.4\lib\mono\2.0\mscorlib.dll When I execute my freshly built runtime with the -V flag, it

Re: [Mono-dev] Trying to run teste.exe

2010-06-19 Thread guysherman
Thanks, I happened to check out the mcs tree and the mono tree within days of eachother a couple of weeks ago, so I just have to build it. That sounds like tomorrow's task. Many thanks, Guy Sherman. -- View this message in context:

[Mono-dev] Trying to run teste.exe

2010-06-18 Thread guysherman
Hi All, I built the a 64-bit version of the mono runtime on Windows 7. I also built the test.exe application under samples/embed, as well as the teste.exe project. I am running it as follows teste test.exe However, I am getting a failed assertion at tramp-amd64.c:548 : g_assert ((code-buf) =

[Mono-dev] Embedding Mono

2010-06-09 Thread guysherman
Hi, I'm looking to embed mono, but I want to embed it inside an x64 C++ application on Windows 7. From what I've heard, a 64-bit assembly on windows cannot load a 32-bit assembly, so I assume I need a 64-bit version of mono. Do I just need to build the runtime for 64-bit, or must I also build