Programowanie GUI - lista 1



  1. Proszę "pobawić" się następującym programem:

  2. #include <windows.h>

    int WINAPI WinMain( HINSTANCE hInstance, HINSTANCE hPrevInstance, 
                        LPSTR lpCmdLine, int nCmdShow )
    {
        ShellExecute(NULL, "open", "url:http://www.ift.uni.wroc.pl/~zkoza", NULL, NULL, SW_SHOW);
        ShellExecute(NULL, "explore", "c:/program files", NULL, NULL, SW_SHOW);
        ShellExecute(NULL, "open", "c:/program files/adobe/acrobat 5.0/Reader/acrord32.exe", NULL, NULL, SW_SHOW);

        return 0;
    }