Does anyone know the answer to the following?
I have a created a FNT99 DLL (f95fun.dll) that calls functions in a C++ DLL (say cppfun.dll).
Compiler SWITCHES: /IMPORT_LIBcppfun.lib (associated lib for the dll produced by VisualC++7)
Linker SWITCHES: -EXPORTALL
I have no compilation errors but the following run-time error: 'The procedure entry point __adjust_stack_f could not be located in the dynamic link library salflibc.dll'
cppfun.lib has a function
__imp__CloseFile@0
(i.e. a DLL import void function)
this has been declared in the fortran include as stdcall CloseFile 'CloseFile' (val): integer*4
The linker complains: Linking... WARNING - Default LibMain being provided WARNING the following symbols are missing: Closefile
thanks Clint