I've been using vtune successfully to profile a fortran program which calls another fortran DLL which creates aCOM object and calls methods inside it(using Call Graph). I am now trying to use it to profile a delphi program which callsthe samefortran DLLwrapper which creates the same COM object (so the calling sequence is Delphi -> Fortran DLL -> COM DLL). This works absolutely fine outside of vtune. However, when using vtune, the Fortran DLL raises an error which shows that it fails to successfully create the COM object.
It seems unlikely that anybody would be using exactly the same calling sequence, but I'm posting on the off chance that anybody has any ideas on how to get this to work, or what is going on. Can anybody help?