If you are trying to build a complete scripting engine, you're in too deep. I'd suggest that you first attempt to create a simple program that reads text files and draws graphic according to those. When you succeed in this, just implement text-editing and row-manipulation routines to your program and you have precisely what you need. For a start, first create the specification. Decide what graphic routines you are planning to use: Win32, DirectX, OpenGL or what. Then decide what drawing routines your scripting language supports: can you draw a circle, a rectangle, a triangle or all of these ? If you resort to Win32, then your task becomes even simpler: just create a parsing function that is able to intepret the scripting language's commands. Then the intepreter calls the appropriate Win32 routine to draw the requested graphic. As the program itself will worry about creating the target window, pencils, brushes etc, then the parser should be quite simple. For more complex object support, just add a more logic to the parser and make it call several drawing routines if required. If you are new to Windows-programming, then I suggest purchasing a book by Charles Petzold called Programming Windows. This book is "The Bible" of Windows-programming: it explains every little detail deeply enough for anyone familiar with C/C++ to understand. If you're out of luck and can't get this book, there are several articles available here at CodeProject. Here is a good place to start looking http://www.codeproject.com/gdi/[^] -Antti Keskinen ---------------------------------------------- The definition of impossible is strictly dependant on what we think is possible.