This tutorial shows how you can overcome gm's limitation to pass only 4 string or 12 real arguments. With this tutorial you can pass any number of arguments to a DLL from GM.
This tutorial is self explanatory which includes a Dev Cpp project, precompiled DLL and a GM6 file. Take a look at the C++ project to see how it works. Run the GM6 file to see it in action. It passes 4 arguments to the dll in the forum of just one arguments with the use of tokens. For eg,
argument0=Arg0|Arg2|Arg3|Arg4Click Here To Download.