Okay, there is a further problem in the .decls file in that ModPlug_CreateEx%(lpszArgs%) should be ModPlug_CreateEx%(lpszArgs$)
With this change you can pass across the argument hidden|True - however this will hide the window you nominated for drawing so you should probably try to point the plugin to a dummy. Can the user32 lib create a new window? I hadn't touched it until this thread [goes off to look].
With this change you can pass across the argument hidden|True - however this will hide the window you nominated for drawing so you should probably try to point the plugin to a dummy. Can the user32 lib create a new window? I hadn't touched it until this thread [goes off to look].