23
11
07
01
14
03
Вдохновленнный читаемой нынче книгой My Job Went to India: 52 Ways to Save Your Job решил покорять новые горизонты. Наткнулся несколько дней назад на вводную статью о wxRuby и сегодня решил попробовать. Оказывается это не так страшно.
02
30
In one of my current projects I had to implement client-server communication and protection by MAC address when client machine can't connect to server if its MAC address is not allowed, regardless of network or broadband connection. But what was a surprise that wxWidgets does not have API which allows obtaining MAC address in cross-platform way. So, I decided to write a small class which allows obtainig MAC address for Windows, Linux, Mac OS and Windows Mobile. Here it is:
21
Taking screenshots is a very common task and it was a must for one of my current projects. What was a surprise when I understood that my favourite toolkit can't do that in cross-platform manner.
It is official bug that wxScreenDC does not work properly under Mac OS and you can't use Blit() message for copying screen onto wxMemoryDC.
After digging the Internet I found a kind of solution which used OpenGL and created wxWidgets-based class which takes screenshots also under Mac OS. It was really hard task for me because I haven't used neither Carbon nor Cocoa before. However everything works now and I'm happy.
Here it is:
07
http://code.google.com/p/axtk/