Writepixels broken in Visual Studio 2013
Monkey Forums/Monkey Bug Reports/Writepixels broken in Visual Studio 2013
| ||
Hi, I get an error in the writepixels function when compiling under Visual Studio 2013 on Windows 8.1 update 1. |
| ||
It's always good to provide a runable code sample that shows the error when posting bug reports, so Mark can test it, confirm it, and fix it when possible. I think that's the code that causes this bug to happen: Import Mojo Class Emulator8 Extends App Field Pixel:Image Method OnCreate() Pixel = CreateImage(10,15) Local Pixels:Int[150] For Local i:Int = 0 To 150-1 Pixels[i] = $FFFFFFFF Next Pixel.WritePixels(Pixels,0,0,10,15) End Method Method OnUpdate() End Method Method OnRender() Cls DrawImage Pixel,10,10 End Method End Class Function Main() New Emulator8 End Function And that's the original forum post: http://www.monkey-x.com/Community/posts.php?topic=8507 |
| ||
Ok, will have a look at this. Quick question first though - how do I know if I have windows 8.1 'update 1' installed? Using 'classic shell', This PC->Properties says I'm using 8.1 Pro, and that's it. I can't find another way to determine OS version without classic shell. I ask because there's apparently a deadline beyond which if I haven't updated to 'update 1', I wont get any future updates at all - wow! |
| ||
how do I know if I have windows 8.1 'update 1' installed? I believe if you go to "metro" tiles start menu and if you can see the Power and Search buttons in the top right you have it installed... [edit] or is that just 8.1? http://windows.microsoft.com/en-au/windows-8/whats-new |
| ||
You should have the update KB 2919355 http://windows.microsoft.com/en-us/windows-8/install-latest-update-windows-8-1 |
| ||
Ok cheers, I think I've got it - have power+search on my desktop win8 homepage, and search on my tabletish thing. re: the bug - Monkey doesn't officially support msvc2013 yet, but I could recreate the bug on msvc2012 and have a fix for it ready to go. It should be up later today. The delay in updating to msvc2013 is due to the fact I don't think it can create apps for windows 8.0 - only windows 8.1. Ditto msvc2013 for windows phone 8(.1). Is this correct? And, more importantly I guess, when does this stop being important? |
| ||
Thank you mark! And thanks ziggy for pointing me in the right direction! : ) |
| ||
Ok, just uploading v79c which should fix this - please let me know! |
| ||
Works perfect, thanks again! |