3dsmax real Plugin with Maxscript

Hello i want to create a real plugin like "MyPlugin.DLO". And i want to make the following example Script to be the plugin:

rollout testScript "Testing"

(

button btn "test"

on btn pressed do

(

messagebox "Done!"

)

)

createdialog testScript 200 200

I heard something about ExecuteMAXScriptScript() or something like that. Can someone please provide the complete code to make a plugin based on the above MAXScript. I know i need SDK and C++. I have both of them. So a complete code to create the plugin will be a great help

Thanks