Tuesday, March 22, 2011

C code for opening "kushkaushik.blogspot.com "in firefox

#include <windows.h> //need to access ShellExecute()
NOTE: Compiler Borland C++ Builder 5
Windows 2000
Actually this is just the main function of a windows program
there will be no console window loading and unloading

WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nCmdShow)
char* szCmd="firefox.exe";
char* szParm="http://kushkaushik.blogspot.com";
return 0;