Geeks With Blogs
Prabhu Kumar a tech twaddler.. October 2009 Entries
Project Resistance for Windows Mobile and iPhone
Chris Tacke has undertaken "Project Resistance" and gives great insight on developing and deploying an application onto the Marketplace. Project Resistance is a simple utility application that allows the user to play with resistor color bands. Selecting a color band combination gives you the resistance in ohms and given a resistance in ohms it will show you the corresponding color band. You can follow and get more details here. Another interesting thing is that Chris Tec is developing the same application ......

Posted On Tuesday, October 27, 2009 10:02 PM

Applications: Minesweeper approaches completion, slowly but steadily
So this weekend I got some time to push Minesweeper forward. You can now play a full game. Now that the basic game is up and running work needs to be done on other aspects. For now, here is a couple of clips: and ......

Posted On Sunday, October 25, 2009 7:02 AM

Applications: Getting device information (embedded exe, rapi and more)
I was working on this application which runs on the PC and gets information about the windows mobile device which is connected to the PC over active sync. Now there are a couple of ways in which you can do this: 1) Create a PC app which gets all the information using RAPI api's and displays it. 2) Create two binaries, one for the PC and one for the WinMob device. The PC app launches the WinMob app remotely using RAPI API's, the WinMob app runs and writes all the information it can gather into a file ......

Posted On Thursday, October 22, 2009 11:09 PM

Applications: Appending text to a multiline Edit control
Today I was developing a small utility application where I needed to append some text to a multiline edit control. When I ran through the list of Edit control messages, I could not find any that could be used to append text. WM_SETTEXT was overwriting the previous contents. And doing a WM_GETTEXT first, appending to it and then WM_SETTEXT seemed like an overkill. A little bit of searching led me to EM_REPLACESEL message. This message is used to replace the currently selected text in the edit control ......

Posted On Wednesday, October 21, 2009 12:46 AM

How to embed an exe inside another exe as a resource and then launch it
While working on a utility project today, I stumbled upon wanting to embed an executable inside another executable. Sounds fun doesn't it? And what is even more fun is to be able to launch the embedded exe! Basically, here's how it works. You embed Foo.exe inside Bar.exe. And by embed I mean, add Foo.exe as a resource in Bar.exe. And then from Bar.exe's code, you can launch Foo.exe using CreateProcess(). So before answering the "Why?" lets answer the "How?" Rename Foo.exe to Foo.txt. We do this just ......

Posted On Friday, October 16, 2009 7:33 AM

The Visual Studio Documentary
I got this from Olivier's blog, a new video posted by the channel 9 team about the history of visual studio. Its pretty cool!

Hit the links below:

Part 1

Part 2

Posted On Thursday, October 15, 2009 12:18 AM

Away on business trip 2..
So I will be away for a good two months (subject to conditions). The next project seems interesting and challenging and I hope I can squeeze out as many valuables from it as I can (;

My blogging frequency might take a hit, but I'll try to keep up.

See you soon.

Posted On Saturday, October 10, 2009 11:57 PM

Applications: So we got the numbers going now..

Posted On Wednesday, October 7, 2009 12:42 PM

Applications: A game unfolds..
Hey there! If you are wondering what I was upto in the last couple of days, well, here it is. A few years back I had written Minesweeper as a project in college. I had used java and swing for the UI. I thought I will port it over to win mob, well, 'port' is the wrong word and I have had to write everything from scratch. Java-Swing and C++-WinMob-DirectDraw are like zenith and nadir apart. Skipping to the interesting part, here is a video of where things stand now, still a lot of work to be done. ......

Posted On Tuesday, October 6, 2009 12:01 PM

Applications: Painting problems with windowed directdraw app
Well, the painting problem that I mentioned in my last post is solved. Thanks to Joel for helping me out (: When I look in retrospect, the answer was in the question all the time. Painting problem, WM_PAINT message. It was stupid of me to have missed that (; But looking at the bright side I have a much better understanding of how WM_PAINT works now. The only thing that I needed to do was to display the frame every time my window got a WM_PAINT message. So that our client area is re-drawn and is displayed ......

Posted On Thursday, October 1, 2009 1:16 PM

Copyright © TechTwaddle | Powered by: