valid DLL parameters

 

anyone any ideas why a dll call to

fnTest(double d, long l)

causes stack damaged

but e.g. fnTest(long l) or fnTest(double d) or fnTest(double d, int i)

are ok?

Reason: