I wrote a post about embedding GameMonkey script to a game using DragonFire SDK here.
Basically the idea is to expose your C\C++ functions to your chosen scripting language and use them from your script. In my tutorial, I exposed 2 functions from DragonFire SDK. At game start, I call onStart function from script and on update, I call onTimer function from script.
Hope that helps!