Tuesday, 30 June 2009

MSVCRTD.lib(crtexe.obj) : error LNK2019: unresolved external symbol _main referenced in function ___tmainCRTStartup

Check following. ( with boost library )

one of the stupid thing you might have done is that you did not had a main function. (try compiling following code)

#include <boost\regex.hpp>
#include <iostream>
#include <string>

int main (int argc, char ** argv[])
    std::string line;
    boost::regex pat( "^Subject: (Re: |Aw: )*(.*)" );

    while (std::cin)
        std::getline(std::cin, line);
        boost::smatch matches;
        if (boost::regex_match(line, matches, pat))
            std::cout << matches[2] << std::endl;

    return 0;

1. you need to have the Configuration Properties > linker > system = Console

2. Linker > General  > additional libraries pointing to your libraries directory " the boost *.lib" ex. C:\Program Files\boost\boost_1_38\lib

3. C/C++ > General > Additional Included Directories "Points to the boost folder" ex.C:\Program Files\boost\boost_1_38\

- Mihir Patel

Linux & Open Source - Alternative Software

Here we present a table comparing the chances of finding software on Windows and possibilities to find on Linux. It can be used as a practical tool for find alternatives to Windows software on Linux.

The software recommended by us are highlighted in the text.

Windows Linux
3D Studio Max Blender (http://www.blender.org/)
K-3D (http://www.k-3d.org/)
Wings 3D (http://www.wings3d.com/)
Art of Illusion (http://www.artofillusion.org/)
ACDSee Eye of GNOME (http://www.gnome.org/projects/eog/)
GTKSee (http://gtksee.berlios.de/)
gthumb (http://gthumb.sf.net/)
KuickShow (http://kuickshow.sourceforge.net/)
ShowImg (http://www.jalix.org/projects/showimg/)
Gwenview (http://gwenview.sourceforge.net/)
GQview (http://gqview.sourceforge.net/)
Adobe Acrobat Reader okular (http://kpdf.kde.org/okular/)
Xpdf (http://www.foolabs.com/xpdf/)
Evince (http://www.gnome.org/projects/evince/)
ePDFView (http://trac.emma-soft.com/epdfview/)
KPDF (http://kpdf.kde.org/)
Adobe Audition Audacity (http://audacity.sourceforge.net/)
Adobe Illustrator Skencil (http://www.skencil.org/)
Inkscape (http://www.inkscape.org/)
Karbon14 (http://www.koffice.org/karbon/)
Xara Xtreme for Linux (http://www.xaraxtreme.org/)
Adobe PageMaker Scribus (http://www.scribus.net/)
Adobe PhotoAlbum F-Spot (http://f-spot.org/Main_Page)
KPhotoAlbum (http://www.kphotoalbum.org/)
digiKam (http://www.digikam.org/)
Adobe Photoshop GIMP (http://www.gimp.org/)
CinePaint (http://www.cinepaint.org/)
Gimpshop (http://www.gimpshop.com/download.shtml)
Krita (http://www.koffice.org/krita/)
Adobe Premier LiVES (http://lives.sourceforge.net/)
PiTiVi (http://www.pitivi.org/wiki/Main_Page)
Kino (http://www.kinodv.org/)
Cinelerra (http://cvs.cinelerra.org/)
kdenlive (http://kdenlive.sourceforge.net/)
Jahshaka (http://www.jahshaka.org/)
Ant Movie Catalog Moviefly (https://savannah.nongnu.org/projects/lmc/)
AOL Instant Messenger (AIM) Kopete (http://kopete.kde.org/)
Pidgin (http://pidgin.im)
APC PowerChute Network UPS Tools (http://www.networkupstools.org/)
Apcupsd (http://www.apcupsd.com/)
CDex Sound Juicer (http://www.burtonini.com/blog/computers/sound-juicer)
Rubyripper (http://wiki.hydrogenaudio.org/index.php?title=Rubyripper)
ripperX (http://ripperx.sourceforge.net/)
Grip (http://nostatic.org/grip/)
KAudioCreator (http://www.icefox.net/programs/?program=KAudioCreator)
Collectorz Tellico (http://periapsis.org/tellico/)
aviManager (http://avimanager.sourceforge.net/)
GCstar (http://www.gcstar.org/)
Alexandria (http://alexandria.rubyforge.org/)
Griffith (http://griffith.vasconunes.net/)
vMovieDB (http://vmoviedb.sourceforge.net/)
Katalog (http://salvaste.altervista.org/)
Dreamweaver Quanta Plus (http://quanta.kdewebdev.org/)
Geany (http://geany.uvena.de)
Nvu (http://www.nvu.com)
Screem (http://www.screem.org/)
KompoZer (http://www.kompozer.net/)
Bluefish (http://bluefish.openoffice.nl/index.html)
DVDShrink k9copy (http://k9copy.sourceforge.net/)
OGMRip (http://ogmrip.sourceforge.net/)
Thoggen (http://thoggen.net/)
xdvdshrink (http://dvdshrink.sourceforge.net/)
DVD Rip-O-Matic (http://dvdripomatic.sourceforge.net)
qVamps (http://vamps.sourceforge.net/)
dvd::rip (http://www.exit1.org/dvdrip/)
AcidRip (http://untrepid.com/acidrip/)
Everest HardInfo (http://hardinfo.berlios.de/web/HomePage)
Finale Lilypond (http://www.lilypond.org)
Denemo (http://denemo.sourceforge.net/index.html)
Rosegarden (http://www.rosegardenmusic.com/)
NoteEdit (http://noteedit.berlios.de/)
Brahms (http://brahms.sourceforge.net/)
Flash F4L (http://f4l.sourceforge.net/)
Forte Agent Pan (http://pan.rebelbase.com/)

LMMS (http://lmms.sourceforge.net/)
Hydrogen (http://www.hydrogen-music.org/)
Google Desktop Search Google Desktop (http://desktop.google.com/linux/index.html)
Beagle (http://beagle-project.org/)
Guitar Pro TuxGuitar (http://www.tuxguitar.com.ar/home.html)
Itunes Amarok (http://amarok.kde.org/)
Banshee (http://banshee-project.org/Main_Page)
aTunes (http://www.atunes.org/)
Quod Libet (http://www.sacredchao.net/quodlibet)
SongBird (http://www.songbirdnest.com)
Exaile (http://www.exaile.org/)
Listen (http://listengnome.free.fr/)
Rhythmbox (http://www.gnome.org/projects/rhythmbox/)
gtkpod (http://www.gtkpod.org/)
Legacy Family Tree GRAMPS (http://gramps-project.org/)
LimeWire FrostWire (http://www.frostwire.com/)
Meal Master krecipe (http://krecipes.sourceforge.net/)
Gourmet Recipe Manager (http://grecipe-manager.sourceforge.net/)
Microsoft Access Kexi (http://www.koffice.org/kexi/)
GNOME-DB (http://www.gnome-db.org/)
Microsoft Excel KSpread (http://www.koffice.org/kspread/)
Open Calc (http://www.openoffice.org/product/calc.html)
Gnumeric (http://www.gnome.org/projects/gnumeric/)
Microsoft Frontpage Quanta Plus (http://quanta.kdewebdev.org/)
Nvu (http://www.nvu.com)
KompoZer (http://www.kompozer.net/)
Bluefish (http://bluefish.openoffice.nl/index.html)
Microsoft HyperTerminal minicom

GtkTerm (http://freshmeat.net/projects/gtkterm/)
Microsoft Internet Explorer Firefox (http://www.mozilla.com/firefox/)
Epiphany (http://www.gnome.org/projects/epiphany/)
Opera (http://www.opera.com/download/)
Konqueror (http://www.konqueror.org/)
Microsoft Money

KMyMoney (http://kmymoney2.sourceforge.net/)
GNUcash (http://www.gnucash.org/ )
Gnofin (http://gnofin.sourceforge.net/)
Grisbi (http://www.grisbi.org/)
Microsoft Office OpenOffice (http://www.openoffice.org/)
GNOME Office (http://www.gnome.org/gnome-office/)
KOffice (http://www.koffice.org/)
Microsoft Outlook (Express) Evolution (http://www.gnome.org/projects/evolution/)
Thunderbird (http://www.mozilla.com/thunderbird/)
Microsoft Powerpoint Open Office Impress (http://www.openoffice.org/product/impress.html)
KPresenter (http://www.koffice.org/kpresenter/)
Microsoft Project KPlato (http://www.koffice.org/kplato/)
OpenProj (http://openproj.org/openproj)
GanttProject (http://ganttproject.sourceforge.net/)
Planner (http://live.gnome.org/Planner)
TaskJuggler (http://www.taskjuggler.org/)
Microsoft Visio Dia (http://www.gnome.org/projects/dia/)
Kivio (http://www.koffice.org/kivio/)
Microsoft Windows Media Center Freevo (http://freevo.sourceforge.net/)
Elisa Media Center (http://www.fluendo.com/elisa/)
MythTV (http://www.mythtv.org)
LinuxMCE (http://www.linuxmce.com/)
Microsoft Word Open Office Writer (http://www.openoffice.org/product/writer.html)
AbiWord (http://www.abisource.com/)
mIRC Pidgin(http://pidgin.im)
Konversation (http://konversation.kde.org/)
KVIrc (http://www.kvirc.net/)
BitchX (http://www.bitchx.org/)
Xchat (http://www.xchat.org/)
ChatZilla! (http://chatzilla.hacksrus.com/)
irssi (http://www.irssi.org/)
Mp3tag Kid3 (http://kid3.sourceforge.net/)
Musicbrainz (http://musicbrainz.org/)
Pinkytagger (http://pinkytagger.sourceforge.net/)
EasyTAG (http://easytag.sourceforge.net/)
Cowbell (http://more-cowbell.org/)
Audio Tag Tool (http://pwp.netcabo.pt/paol/tagtool/)
MSN messenger Mercury Messenger (http://www.mercury.to/)
Kopete (http://kopete.kde.org/)
Emesene (http://www.emesene.org)
aMSN (http://amsn-project.net/)
Pidgin (http://pidgin.im)
Mudbox SharpConstruct (http://sharp3d.sourceforge.net)
Nero Burning Rom X-CD-Roast (http://www.xcdroast.org/)
Brasero (http://perso.orange.fr/bonfire/index.htm)
GnomeBaker (http://gnomebaker.sourceforge.net/)
Graveman! (http://graveman.tuxfamily.org/)
K3b (http://www.k3b.org/)
NetMeeting Ekiga
NetStumbler Kismet (http://www.kismetwireless.net/)

SWScanner (http://www.swscanner.org/)
Notepad leafpad

NEdit (http://www.nedit.org/)

jEdit (http://www.jedit.org/)

Kate (http://kate-editor.org/)


Scribes (http://scribes.sourceforge.net/)

tpad (http://tclpad.sourceforge.net/)
OrangeCD Catalog GWhere (http://www.gwhere.org)
Origin SciGraphica (http://scigraphica.sourceforge.net/)
Partition Magic GParted (http://gparted.sourceforge.net/)

QtParted (http://qtparted.sourceforge.net)
Picasa Linux Picasa (http://picasa.google.com/linux/download.htmlcd)

F-Spot (http://f-spot.org/Main_Page)

KPhotoAlbum (http://www.kphotoalbum.org/)

digiKam (http://www.digikam.org/)
Pro Tools Ardour (http://www.ardour.org)
Quicken KMyMoney (http://kmymoney2.sourceforge.net/)

GNUcash (http://www.gnucash.org/

Gnofin (http://gnofin.sourceforge.net/)

Grisbi (http://www.grisbi.org/)
SoulSeek Nicotine

Nicotine-Plus (http://nicotine-plus.sourceforge.net/)
SoundForge Audacity (http://audacity.sourceforge.net/)

ReZound (http://rezound.sourceforge.net/)
Total Commander GNOME Commander

xfe (http://roland65.free.fr/xfe/)

Tux Commander (http://tuxcmd.sourceforge.net/)

Midnight Commander (http://www.ibiblio.org/mc/)

Krusader (http://krusader.sourceforge.net/)
Traktor DJ Mixxx
Videora thin liquid film
Winamp Amarok (http://amarok.kde.org/)

Audacious (http://audacious-media-player.org/Main_Page)

XMMS (http://www.xmms.org/)
Windows Media Player VideoLAN (http://www.videolan.org/)

KPlayer (http://kplayer.sourceforge.net/)

xine (http://xinehq.de/)

totem (http://www.gnome.org/projects/totem)

mplayer (http://www.mplayerhq.hu/design7/news.html)
Windows Movie Make PiTiVi (http://www.pitivi.org/wiki/Main_Page)

LiVES (http://lives.sourceforge.net/)

Avidemux (http://fixounet.free.fr/avidemux/)

Cinelerra (http://cvs.cinelerra.org/)

kdenlive (http://kdenlive.sourceforge.net/)
WinISO ISO Master (http://littlesvr.ca/isomaster/)

KIso (http://kiso.sourceforge.net/)

Meld (http://meld.sourceforge.net/)

xxdiff (http://furius.ca/xxdiff/)
WinTV XdTV (http://xawdecode.sourceforge.net/)

tvtime (http://tvtime.sourceforge.net/)

- Mihir Patel.

Ref: Sebastiano Merlino

Thursday, 25 June 2009

How to quickly factory restore an Asus Eee PC with SSD

Just keep on pressing the F9 key after restart.

It will come up with a menu.

Select the factory restore and hit enter... just select the setting (ex. anguage, user name , password and stuff).

That's it... 2 min's and you got the job done !! throw your self a party.

- Mihir Patel.

Wednesday, 24 June 2009

Visual Studio 2008 : Command line arguments \ C++

On the main IDE window's menu bar choose Project -> {project name} Properties. That opens the project's property pages. You can specify command line arguments under Configuration Properties -> Debugging -> Command Arguments. Just type in exactly what you would type at the command line after the program name.

If you want the command line to look like this:
<b>edsprogram.exe -I foo -U "bar baz"</b>

you should put this in the command <strong class="highlight">argument </strong>field as :
<b>-I foo -U "bar baz"<br /><br />Ref: http://www.daniweb.com/forums/thread128074.html<br /></b>

Tuesday, 23 June 2009

Error 1 error LNK2019: unresolved external symbol _main referenced in function ___tmainCRTStartup MSVCRTD.lib

This happens if you’re compile/run a Windows app that has a WinMain function, but you chose “Console Application” INSTEAD of
“Windows Application” when you were creating the new project.

You fix this by right clicking on your PROJECT name, then picking the PROPERTIES dialog:
Project Property pages

Then change the subsystem to WINDOWS:


to prevent that from happening, make sure you pick WINDOWS APPLICATION at the point where Visual Studio asks you whether you want a console app or a windows app!:



Friday, 12 June 2009

Printing the skype calling history (Missed calls \ Dialed Calls \ Received calls with duration ) + Skype Call Exporter download

Download the program from any of  the under given link

1. http://www.mediafire.com/?ih6fuhrxhe396u7

2. http://www.nirsoft.net/utils/skype_log_view.html

3. http://forum.skype.com/index.php?s=79eaeae0caf106227ae38c2c04eaf33c&act=attach&type=post&id=25821


1. Run skype and login

2. Unzip the file anywhere. and execute the SkypeCallExporter.exe

3. wait for a while and it will ask you that SkypeCallExporter wants to talk to Skype

4. allow this and you will see in a while the whole page filled with history.

now you can print it in csv (comma seperated variable ) file -- this can be opened with excel like program.

or can directly print a html out of it.

Hope this helps... Leave your feedback !!

- Mihir Patel

How Do I Backup My Configuration and Chat History for Skype

go to..

C:\Documents and Settings\your_windows_username\application Data\Skype\

copy everything.

That's it.

- Mihir Patel

Wednesday, 10 June 2009

Batch Upload Files to Google Docs

You'd think that Google considered Docs & Spreadsheets
important enough to make it easy to import files. Or to export files.
You can do that one file at a time, but it becomes tiresome if you have
a lot of files.

Fortunately, the latest version of Google Toolbar for Firefox
has a feature that lets you drag and drop files to your browser and
they are automatically uploaded to Google Docs. To upload more files at
a time, go to Windows Explorer or other file manager, select your files
and drag them in Firefox.

To activate the feature, to go to
Google Docs & Spreadsheets after installing the toolbar. You'll get
a prompt that asks you if you want to enable the feature.
Alternatively, click on Settings / Options and enable "Docs &

Ref : http://googlesystem.blogspot.com/2007/04/batch-upload-files-to-google-docs.html

Tuesday, 2 June 2009

Bing.com ... new search engine to compete with google

Bing (formerly Live Search, Windows Live Search and
MSN Search), codenamed Kumo is the name of Microsoft's new web search engine, designed to compete with
the industry leaders Google and Yahoo!. Unveiled by Microsoft CEO Steve Ballmer on May 28, 2009 at the All Things D conference in
San Diego, Bing is a replacement for Live Search, and it went fully online on
June 1, 2009.[1]

Notable changes include the addition of related searches (called "Explorer
pane" on the left side of search results), based on semantic technology from PowerSet[2], a search company
Microsoft purchased in 2008, search
suggestions as you type, and the ability to keep track of your search

- Mihir Patel

Ref : wikipedia