Exactly!But I was able to reproduce the bug this morning simply by splitting it in an exe and lib, as I said.
Going to post it in another post!
"AliÇehreli" wrote in message news:iu2hbj$gb6$2...@digitalmars.com... Are you trying to say that you can't reproduce it with this simplified code? Or should we change something to see the problem?