Even if ZGE allows to specify either stdcall or cdecl calling convention, it is not able to find exported functions with @ in DLL. So unfortunately your suggestion does not work. I would really appreciate if you could add the set of functions with normal names to the DLL as you wrote.NightRadio wrote:Is there some ZGE option to switch between different calling conventions for DLL? For example: stdcall, cdecl. ... Theoretically, ZGE must add these symbols by himself. You tell him: call stdcall function sv_init(). And ZGE makes a call to sv_init@16
If not - i will try to add the set of functions with normal names to DLL.
I see. Some naive ideas: cannot be, for instance, the SV modules (instruments modified by effects) "rendered" to samples and then used in patterns at the export time? If there are some pattern limitations, the export could be at least partial.I'm afraid it is not possible. XM/IT/MOD are sample-based formats, and they have some pattern limitations.
Anyway, what about to add .mod/.xm file importing directly to the SV's Export/Import menu? It would be much convenient than calling external mod2sunvox.exe.