2007-10-23 21:49:18 +00:00
|
|
|
#include <windows.h>
|
2007-10-25 21:42:14 +00:00
|
|
|
//#include "..\Purei\Source\ELF.h"
|
|
|
|
//#include "..\Purei\Source\win32ui\ELFView.h"
|
|
|
|
//#include "StdStream.h"
|
|
|
|
#include "ElfViewFrame.h"
|
|
|
|
|
|
|
|
using namespace Framework;
|
2007-10-23 21:49:18 +00:00
|
|
|
|
|
|
|
int WINAPI WinMain(HINSTANCE instance, HINSTANCE prevInstance, LPSTR params, int showCmd)
|
|
|
|
{
|
2007-10-25 21:42:14 +00:00
|
|
|
CElfViewFrame elfViewFrame;
|
|
|
|
elfViewFrame.Center();
|
|
|
|
elfViewFrame.Show(SW_SHOW);
|
|
|
|
// CStdStream stream("D:\\rar\\Purei\\psf2.irx", "rb");
|
|
|
|
// CELF elf(&stream);
|
|
|
|
// CELFView elfView(NULL);
|
|
|
|
// elfView.SetELF(&elf);
|
|
|
|
// elfView.Show(SW_SHOW);
|
|
|
|
Win32::CWindow::StdMsgLoop(&elfViewFrame);
|
2007-10-23 21:49:18 +00:00
|
|
|
return 0;
|
|
|
|
}
|