commenting out the demise solved the error, but on smart, if I change this code:
Code:
{Setup SMART}
smart.create(800,600,'',['OpenGL32.dll']);
glxMapHooks(smart.ID);
{Create credits}
smart.__graphics.clear;
smart.__graphics.DrawText('obsLividFarm','bigChars',point(11,11),1);
smart.__graphics.DrawText('obsLividFarm','bigChars',point(10,10),clRed);
smart.__graphics.DrawText('Developed by Obscurity','smallChars',point(11,41),1);
smart.__graphics.DrawText('Developed by Obscurity','smallChars',point(10,40),clYellow);
with this:
Code:
{Setup SMART}
tsmart.create(800,600,'',['OpenGL32.dll']);
glxMapHooks(tsmart.ID);
{Create credits}
tgraphics.clear;
tgraphics.DrawText('obsLividFarm','bigChars',point(11,11),1);
tgraphics.DrawText('obsLividFarm','bigChars',point(10,10),clRed);
tgraphics.DrawText('Developed by Obscurity','smallChars',point(11,41),1);
tgraphics.DrawText('Developed by Obscurity','smallChars',point(10,40),clYellow);
I get an access violation error at GLX\Misc\Smart.Simba @ Line 30 : Self.__Width := Width;