Friday, August 15, 2008

Importing DLLs

Well, it was that time of the year again... to update the external dependencies for Item Assistant. Downloading and updaing SQLite always baffels me until I remember the hoops I went through (read: googling around for hours) last time I wanted to generate an import lib for use with the DLL.

So here is a link to the MS KB article: http://support.microsoft.com/kb/131313
And a good article about more advanced DLL handling: http://qualapps.blogspot.com/2007/08/how-to-create-32-bit-import-libraries.html

Update:
This is the gist of it:

Open Visual Stuidio command prompt and run:
lib /DEF:sqlite3.def

This will genereate the appropriate .lib and .exp file.

Sunday, August 3, 2008

Konsole colors in Kubuntu

Switching on colors in the KDE Konsole is not fortunately very easy:
  • Start the Konsole application
  • Choose from the menu: Settings -> Edit Current Profile
  • Click the "Environment: Edit..." button on the General tab
  • Make sure the TERM variable is set to
    xterm-color like so: TERM=xterm-color
  • Click "OK" in both the dialogs to apply changes
  • Restart the Konsole application to see the effect it had

Saturday, August 2, 2008

Geekness grade?

Ok, so i just couldn't resist.

71% Geek