gphview.cpp
资源名称:jpg.zip [点击查看]
上传用户:tongfa
上传日期:2007-01-06
资源大小:1071k
文件大小:1k
源码类别:
图片显示
开发平台:
WINDOWS
- //---------------------------------------------------------------------------
- #include <vcl.h>
- #pragma hdrstop
- USERES("gphview.res");
- USEFORM("f_main.cpp", Form1);
- USELIB("jpglibjpblib_b.lib");
- //---------------------------------------------------------------------------
- WINAPI WinMain(HINSTANCE, HINSTANCE, LPSTR, int)
- {
- try
- {
- Application->Initialize();
- Application->CreateForm(__classid(TForm1), &Form1);
- Application->Run();
- }
- catch (Exception &exception)
- {
- Application->ShowException(&exception);
- }
- return 0;
- }
- //---------------------------------------------------------------------------