For no apparent reason!, the application on which I am working has started to display the following message during application startup, i.e. compilation and linkage has completed successfully.. "Debug Error! The value of ESP was not properly saved across a function call. This is usually a result of calling a function declared with one calling convention with a function pointer declared with a different calling convention." I know that ESP is refering to the stack pointer but I haven't a clue as to how the problem can be rectified!! Any suggestions would be very much appreciated.

Thanks.