Thanks for your reply. Your "nested" calls remind me of something I read -- the problem of "recursive" linking. I read somewhere that if each of two dlls reference functions in other dll, it is necessary to link them in special manner. When I have time, I will probably try the "special linking."