I was wondering if someone has a spare RPG engine layin' around?

Or atleast has some pointers how to create a base engine were a game can be build upon.

I know how to code but have no clue how to build up an engine and on what? (Modules? ActiveX DLL?, etc)..



Thanks in advance,