- Intel Fortran 6.0
- ATL COM EXE server
- 1 ATL Simple Object
- A thread created in the object?s FinalConstruct
- An aircraft simulator in Fortran
I have placed all the calls to the Fortran code in the thread. As soon as execution enters the Fortran code, an invalid memory(NULL pointer) access occurs in _f90_pcheck. I am not sure what this function does, but it is called at the beginning of my subroutine before compiled code. I am forcing the link to the static MT libs, and workspace wide I am sure that my MT flag settings are consistent. I can call the same code outside of the thread successfully. What direction can I go in to understand and fix this problem?