>Thanks for Your patience Herman. I will continue fight with this :o)))
No problem at all, I didn't help you much in this case :-p
One more thing that I can think, is you may want to try to use inline asm. Using inline asm, doesn't require you to have a prototype, and it will compiled just fine. But again since I don't have the dll, I can't do the experiment myself.
Regards
Herman