"Stephen Leake" wrote: > You don't mention what C compiler you are using. I have found that > different C compilers (and different Ada compilers) have different > naming conventions, usually having to do with prepending and > underscore. Here's my matrix: Yes, the problem is related to prefixing with _ and suffixing with @nn, but the service that uses my dll, expects the name Foobar, without any pre- or suffix. I can easily accmplish this with the C convention, but it seems impossible with the StdCall convention. Please note that I have no control whatsoever over how my dll is called. Thanks, Peter H. -- Peter Hend�n http://www.algonet.se/~phenden ICQ: 14672398 Teknisk Dokumentation AB http://www.tdab.com