On 02/07/2011 06:41 PM, GreatEmerald wrote:
OK, well this is interesting... I managed to compile it but it's quite odd. In
order to do that, I added a call to main() in my Process() function, and then
added an empty main() in the D part before "extern(C)". It seems that there are 
no
conflicts, too.

That's it, I guess; you always need a main(), even if empty {}, somewhere. I routinely add that in every module (part of my template code), if only for running test code, and comment it out when the module is /actually/ imported. I consider this as a minor design error.

Denis
--
_________________
vita es estrany
spir.wikidot.com

Reply via email to