Skip to main content

Posts

Showing posts with the label windows

Windows 8 WinKey+Space

Today while I was playing around with Windows 8 (inside Parallels only, couldn't afford a new computer) I pressed WinKey+Space out of habit then just typed away... I meant to open Skype (on Mac) but I was still in Parallels so the Search Charm appears from the right side and start searching for Skype (on Windows 8). Doing a quick Google search didn't yield any results so this must be new eh? Edit: Pressing WinKey+Space alone won't trigger anything but if some character key follows, the charm will appear...

WOWZAPP 2012 Post-moterm

So I participated in WOWZAPP 2012 hackathon event in Hanoi , failed to win but nonetheless had fun. Below are some tips, writing down for the next time I go to a hackathon: If you have the chance to join a hackathon, do it! Big plus if you are young (not to say the events are not for old people). Project choice: do not build something that relies heavy on network connection. It's okie if the product uses a server but during development you should be able to put in some stub data for it to work. No matter how many wifi APs, the connection at a hackathon will be slow and troublesome, expect a lot of lost packets. Yesterday our team built a collaboration drawing app -- big mistake! We have to repeatedly perform this routine: find an available network, join it (do this at least 2 times for one client machine and one server machine), run "ifconfig en1" to get server address, put the new address in client config, run. Drove us crazy! If you have to, BYO router. We planned t...

Silly Visual Studio 2012 is silly

Having a little free time today, I spent the afternoon to download Windows 8 Preview Release and Visual Studio Express 2012 for Windows 8 in order to try out the new OS and its development process. Eagerly fired up Parallels installing Windows 8 just to be greeted with this error message: The .NET Framework installed on this machine does not meet the minimum required version: 4.5.50709 WHAT?! I'm running the new shiny Windows 8, directly downloaded from Microsoft and you told me I'm not running the latest framework? How often is .NET Framework got released?! Incredible! However, bugs happen sometimes and maybe this is required. No problem, I downloaded .NET Framework 4.5 (again, directly from Microsoft) but it just told me the machine is already running the latest version. WTF!? Fortunately, I found this gem  (couldn't deep link to the comment): Archiebass suggested people to go to edit a registry value using regedit, basically faking the version number for ....

Stupid BOOL return value between Win 32 (unmanaged) DLL and .NET managed application

If you are developing a C# application and you have to call a function inside a Win 32 DLL which returns a BOOL value. You will encounter an unusual problem. Like when your application works in Debug mode but dies hard in Release mode. For example you have something like this in C++ (the unmanaged DLL) extern   "C"   __cdecl   bool   DoWork ( ); Very normal stuff, eh? And you think you can do this in C#         [ DllImport (              DllConstants . DLL_FILE_ NAME ,              EntryPoint  =  DllConstants . ENTRY_ POINT_DO_WORK ,              CallingConvention  =  CallingConvention . Cdecl         )]          private   static ...

Windows 8, quick preview

I spent 4 hours downloading this from Microsoft and it didn't disappoint. It works great with Parallels 6 (selected Windows 7 upon creation). The first thing that I noticed is: it allow me to select Hanoi as the city. Normally, the states or cities are only available for western countries like the US/UK. This is very comforting to see (even though it only has 3 cities of Vietnam: Hanoi, HCMC and one-another-which-I-forgot). Oh yeah, let's hope more follows.