Solution to libctiny and wcrt – LNK2001 unresolved external symbol __chkstk

I’m not sure if any of you ever use libctiny or wcrt, they are both meant to be use with Microsoft Visual Studio so that your resulting binary won’t use the default Microsoft run-time library which slightly bloats the exe.

By using one of these libraries, you can greatly reduce your resulting binary from an average of 20KB to 7KB, depending on your application.

The chkstk problem

The problem arises when the application you just compiled fails to link with an error message: “LNK2001 : unresolved external symbol __chkstk” .


libctiny wcrt chkstk link error

This got to do with the “Ignore all default libraries” option which you’ve to check when using this library. Apparently one library which is required by a routine inserted by the Microsoft tools (chkstk) was excluded from linking as well.

Solution to the problem

Manually include the library! The routine/function is included in an object file named “chkstk.obj”, just put it in the link dialog box beside libctiny/wcrt, and the problem will be settled.

wga fakap #2 chkstk libctiny

I hope that this will solve your problem !

Download OpenBSD 3.9 ISO

OpenBSD 3.9 was released May 1st, 2006! I know it has been two weeks since its release, but I want to share with you the openbsd cd iso that I use to install it.

OpenBSD is a nice BSD-variant operating system that strongly emphasis on security and free software (according to their definition). You can download the custom made OpenBSD 3.9 ISO via bittorrent from http://torrent.fakap.net.

If you like OpenBSD, then please consider giving donations to keep the project alive !

Urgent – Kerja kosong

Iklan Jawatan Kosong

Gading Kencana Sdn Bhd (GKSB) is looking for a suitable candidate :

Location : Shah Alam, Selangor
Closing Date : 30 June 2006

Sales Engineer

Qualification
* Degree holder in any Mechanical/Electrical/Electronic Engineering field
* Strong interpersonal and communication skills
* Willing to work in Kuala Lumpur and/or Selangor
* Familiar with computer applications
* Posses own transport
* Fresh graduates are encouraged to apply

 

Interested candidates are invited to send your detailed resume stating current & expected salary, contact number, and e-mail to sales@gadingkencana.com.my

Phone: (60)3-7845 2864
Fax: (60)3-7845 2069

Windows Genuine Advantage tattoo cracks

I’m sure by this time almost everybody is now familiar with Windows Genuine Advantage ‘tattoo’ that identifies your illegal copy of Microsoft Windows product. The annoying popup will nag you at login screen each time you boot up the computer.

wtf
wtf mypapit

To add to the shareware ‘look and feel’, a balloon popup will appear randomly when you use the computer, reminding the user that they may be a victim of (pirated) Microsoft Windows product.

However the windows tattoo is not without a flaw, few websites including The Inquirer has published ways to circumvent the Windows Genuine Advantage check by tampering with windows registry.

Presented here is an alternative way to remove those annoying popup

  1. Go to C:\Documents and Settings\All Users\Application Data\Windows Genuine Advantage\data
  2. go to Tools->Folder Option->View, select “Show Hidden Files and Folders”
  3. Uncheck “Hide Protected Operating System Files”, then click OK
  4. Delete everything in that folder
  5. Mark that folder as “Read-Only”, then you’re done!

The annoying windows popup won’t appear anymore! Simple solution without having to temper with Windows Registry.

Update – You can download WGAfakap

You can download an application that will automatically remove the annoying Windows Genuine Advantage Notification.

Read this for another solution : http://www.cobolhacker.com/

Today is the day Thailand changed its name from Siam

Just to inform you that today is the day Thailand changed its name from Siam in May 11, 1949. “Thai” means “freedom” in the Thai language, so it’s a land of freedom. Though it the country name has been renamed more than 50 years ago, there are people who still prefer to call it as Siam, including me :p

Read more about Thailand and the Thai language at wikipedia.

GNU/DOS 2006 SR1 includes VIM 7.0

GNU/DOS 2006 SR1 has been released with Vim 7, the much talked new release of Vi IMproved. For your information, GNU/DOS is a distribution of FreeDOS operating system. The project aims to provide a complete DOS-like operating system bundled with GNU software and developers tools (DJGPP gcc), while retaining the classic DOS feel.

GNU/DOS is built on FreeDOS project which has the objective of providing a free DOS operating system that is compatible with MS-DOS 3.3. GNU/DOS works on old hardware and emulator and can run DOS games with ease.

In addition to DOS 3.3 compatibility, GNU/DOS (via FreeDOS) also supports LFN (Long File Name) and FAT32 partitions and Large Disk Support which normally unsupported under MS-DOS without 3rd party application.

Those who are interested in trying out GNU/DOS (with Vim 7 and gcc) can download it from its project page : http://www.pikecountycomputer.com/gnudos/