From Visual C++ to MinGW/MSYS


Now it is the time to move from Windows to cross-platform, as a developer.

I was using Visual Studio Express Edition (freeware) for Windows development. Now I am using MinGW with MSYS. Cause GCC is a cross-platform compiler. Familiar with GCC allows me to develop cross-platform application. There are a lot of software libraries can be compiled with MinGW.

Using Visual Studio Express Edition, we do not have MFC for GUI development. However we can use Win32 API to create the GUI widget. But this indicates that our source code is highly depending on Windows platform. There are a lot of alternatives for GUI development, such as GTK+, Qt, wxWidget, FLTK, etc. Why using these libraries? If you are depending on these libraries, if these libraries are cross-platform, then your source code will be cross-platform also.

To replace DirectShow, we can use GStreamer. To perform 3D Computer Graphics, we can use OpenSceneGraph, OGRE, Irrlicht, OpenSG, PLIB, instead of using Direct3D. We can use Audiere and OpenAL to play the audio instead of using DirectSound. To enumerate joystick, we can use OIS, SDL, FreeGLUT, etc. To perform networking, we can use Boost Asio library.

With these libraries, I do not need Visual Studio as before. I even can write cross-platform application using C and C++ just like Java (but C and C++ source code needs to be compiled on different platforms). C and C++ even allows me to add in other scripting language like Python, Lua, Ruby, and Tcl. Even C and C++ can also interoperate with Java.

Bookmark and Share
Advertisements

Prayer Clock 0.0.6


Just to announce that the Prayer Clock 0.0.6 is released.

I have redesigned the algorithm and the data structure. Besides that, some features are added such as “Prayers” item that allows the user to show different prayers. The followings are some screenshots:

GTK+ in Windows.

GTK+ in Ubuntu Linux. Very nice, right?

Since Easter is coming, hopefully I have time to add in Divine Mercy Novena.

Bookmark and Share

From MS Office to OpenOffice


I already switched from MS Office to OpenOffice for some time. But most of my friends and colleagues still use MS Office. At my workplace, most of the people are using MS Office. Some of them use MS Office 2007. I introduced OpenOffice to friends, but switching from one environment to another needs some time for adaption. So, normally they reject.

Why I want to use OpenOffice? Firstly, it is free. You can get it without paying any money, and do not have any license issue Secondly, it is open source. If you are developer, you can study and contribute. Thirdly, it is cross-platform. If you are not working with Windows, but Linux or FreeBSD, then how do you use MS Office? May be you will say that, “Why Linux? Why FreeBSD? We have Windows already.” Very good, you are very loyal, then go ahead. For me, learning more than one skill is always better. Fourthly, OpenOffice can satisfy my works: documents, spreadsheets, and presentations.

Now, I prefer using OpenOffice Writer. The Styles and Formatting feature is very useful. Though MS Word (2003, which I am using) has the feature also, setting the styles and formatting in OO Writer is easier.

Bookmark and Share