gphview.cpp
上传用户:tongfa
上传日期:2007-01-06
资源大小:1071k
文件大小:1k
源码类别:

图片显示

开发平台:

WINDOWS

  1. //---------------------------------------------------------------------------
  2. #include <vcl.h>
  3. #pragma hdrstop
  4. USERES("gphview.res");
  5. USEFORM("f_main.cpp", Form1);
  6. USELIB("jpglibjpblib_b.lib");
  7. //---------------------------------------------------------------------------
  8. WINAPI WinMain(HINSTANCE, HINSTANCE, LPSTR, int)
  9. {
  10. try
  11. {
  12. Application->Initialize();
  13. Application->CreateForm(__classid(TForm1), &Form1);
  14. Application->Run();
  15. }
  16. catch (Exception &exception)
  17. {
  18. Application->ShowException(&exception);
  19. }
  20. return 0;
  21. }
  22. //---------------------------------------------------------------------------