I compiled this code http://www.vision.ee.ethz.ch/~surf/download_ac.html for VC8.0 (2005) with Visual Studio 2008

The code is essentially a simple console exe file which calls an external dll (provided in the archive but without source) to compute some data

The problem is that I am getting a "Violation Access" error calling the second function of the dll (the first one goes along well)

I did a bit of debugging and I discovered my executable tries (due to the library I suppose) to call CRT 8.0 while the executable compiled with Visual Studio 2008 is linked against CRT 9.0

These pictures better explain my problem


Debugging error and call stack
http://img227.imageshack.us/img227/6370/problem1u.jpg
Executable IAT (Import Address Table)
http://img263.imageshack.us/img263/9615/problem2m.jpg




How to solve this problem?

Thanks for any help you may provide me