Addendum: fiddling around, I started the program using 'winedbg'. Then it does run, I don't get the stack overflow message.