DGLE2   Young, strong and crazy!

This is simplest DGLE application for Windows.

To make this sample work you should copy "DGLE.h" header to your project source directory and place DGLE library file (ex. "DGLE.dll" for Windows) in your project output folder.
#include "DGLE.h"
using namespace DGLE;
IEngineCore *pEngineCore = NULL;
IBitmapFont *pFont = NULL;
void DGLE_API Init(void *pParameter)
pEngineCore->GetSubSystem(ESS_RESOURCE_MANAGER, (IEngineSubSystem *&)resMan);
resMan->GetDefaultResource(EOT_BITMAP_FONT, (IEngBaseObj *&)pFont);
void DGLE_API Render(void *pParameter)
pFont->Draw2D(0, 0, "Hello World!");
int WINAPI WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nShowCmd)
if ( GetEngine("DGLE.dll", pEngineCore) )
pEngineCore->InitializeEngine(NULL, "My First App");
pEngineCore->AddProcedure(EPT_INIT, &Init);
pEngineCore->AddProcedure(EPT_RENDER, &Render);
MessageBoxA(NULL, "Couldn't load \"DGLE.dll\"!", "My First App", MB_OK | MB_ICONERROR | MB_SETFOREGROUND);
return 0;

Sun Nov 16 2014 09:47:29   Generated by   doxygen   Content copyrighted to DGLE Team