March 17, 2008 – 9:36 pm
…and why developing for Windows is not fun.
Behold, a one-click way to convert your videos to a format playable by your iPod!
[sic]
Well, here’s my latest project. I’ve started it to provide my sister with a simple way to convert her videos, so that she could finally watch them on her shiny 6G iPod.
The result is this simple ffmpeg frontend, built to run on Windows, with the goal of ease of use.
At this point it is rather limited, and I’m not sure if I will ever work on it again.
I’ve actually continued working on it after the uploaded build, but I have come to a dead-end with the Win32 API.
I chose to work with the bare API because I did not want to do it in C#, and, well, as far as I know, there are no many other options.
Why not C#? Even though the .NET Framework is widely available, I thought it was too much for a couple of buttons that launch an exeternal application.
I did not want to use MFC, because I’m unfamilar with it, and last time I used it it felt over-complex and messy. It also requires additional Dlls, or huge executable.
So Win32 API it was. I fired up Emacs (my new tool of the trade) and started coding.
As long as my code was a mess (i.e. C style coding, global vars etc ), everything was smooth and fun. I then wanted to add a system tray notification icon, and thought it would be
a good idea to create it inside a class, for use in later projects. This is where things started to break. I spent some hours researching methods to connect my window procedure to
members of my class. The solution involved an assembly hack. While interesting, I wanted nothing of it.
During my research, I came across WTL, which sounds just like what I was looking for. If/When I continue this project and/or develop another Windows application, it’s going to be in WTL.
Though I did find the lack of documentation annoying.
As a side note, I have to find out what utorrent used.
That’s it for now, hope someone will find it useful.
Posted in coding, ipod | No Comments »